I am unable to run Undetected Chromedriver on Linux (Windows works fine). I am getting a timeout from renderer error and despite catching this error, UC hangs and the browser becomes unresponsive. Since I am unable to debug this, I want an alternative.
How can I replicate some of the functionality of Undetected Chromedriver, either through an alternative Python package or through code?
You can use SeleniumBase's UC Mode as an alternative.
First pip install seleniumbase, and then run the following script with python:
from seleniumbase import Driver
import time
driver = Driver(uc=True, incognito=True)
driver.get("https://nowsecure.nl/#relax")
time.sleep(8)
driver.quit()
try using webdriver with stealth example
browser = webdriver.Chrome(options=options) if ARGS.no_webdriver_manager else webdriver.Chrome(
service=Service(ChromeDriverManager().install()), options=options)
stealth(browser,
languages=["en-US", "en"],
vendor="Google Inc.",
platform="Win32",
webgl_vendor="Intel Inc.",
renderer="Intel Iris OpenGL Engine",
fix_hairline=True,
)
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With