update undetected chromedriver with bigger session timeout

This commit is contained in:
2025-06-30 12:41:59 +02:00
parent 24629adcd5
commit c13c1db638
5 changed files with 27 additions and 8 deletions

View File

@ -4,5 +4,10 @@ import undetected_chromedriver as uc
options = uc.ChromeOptions()
# Chromedriver is in current directory
driver = uc.Chrome(options = options, browser_executable_path="/usr/bin/google-chrome", driver_executable_path="/home/ninluc/Documents/codage/DatBrowser/undetectedChromedriver/chromedriver")
# ERROR : This version of ChromeDriver only supports Chrome version xxx
# npx @puppeteer/browsers install chrome@xxx
# Change the path to the Chrome binary if needed
# "/home/ninluc/Documents/codage/DatBrowser/undetectedChromedriver/chrome/google-chrome"
# "/home/ninluc/chrome/linux-124.0.6367.207/chrome-linux64/chrome"
driver = uc.Chrome(options = options, browser_executable_path="/bin/google-chrome", driver_executable_path="/home/ninluc/Documents/codage/DatBrowser/undetectedChromedriver/chromedriver")
driver.get('https://nowsecure.nl')