selenium-webdriverselenium-chromedriverundetected-chromedriver

Undetected Chromedriver Alternative


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?


Solution

  • 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()