I'm trying to emulate Chrome for iPhone X with Selenium emulation and Python, as follow:
from selenium import webdriver
mobile_emulation = { "deviceName": "iphone X" }
chrome_options = webdriver.ChromeOptions()
chrome_options.add_experimental_option("mobileEmulation", mobile_emulation)
driver = webdriver.Chrome(r'C:\Users\Alex\PythonDev\chromedriver')
driver.get('https://www.google.com')
However, nothing happens: my page is still a normal browser page, and I don't see it as a mobile page.
What is missing or wrong in my code?