seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.46k stars 909 forks source link

Add `driver.uc_open_with_disconnect(url)` #2767

Closed mdmintz closed 1 month ago

mdmintz commented 1 month ago

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 calling driver.connect() after that.

mdmintz commented 1 month ago

This was resolved in 4.26.4 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.26.4