This UC Mode method opens a URL in the browser and keep the driver disconnected from the browser at the end. This improves stealth abilities and may be useful if using pyautogui afterward to perform actions on the page without Selenium. Note that Selenium actions will not be possible until calling driver.connect() after that.
Add
driver.uc_open_with_disconnect(url)
This UC Mode method opens a URL in the browser and keep the driver disconnected from the browser at the end. This improves stealth abilities and may be useful if using
pyautogui
afterward to perform actions on the page without Selenium. Note that Selenium actions will not be possible until callingdriver.connect()
after that.