Is there a way to change User Agent when the selenium driver is already opened and running without quitting it ? When I'm opening a new tab I want it to use a new User Agent. I know to do it with the chrome options but you can't change them when the program already ran
options = Options()
options.add_argument("user-agent=Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 640 XL LTE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Mobile Safari/537.36 Edge/12.10166")
driver = driver.Chrome(chrome_options=options)