SergeyPirogov / webdriver_manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chromedriver update download way

luzihang123 opened this issue · comments

Upgrade to 4.0.0+ feel free to reopen if issue still actual and add more info next time

Chrome version: 116.0.5845.140 (Official Build) (x86_64)
webdriver_manager version: 4.0.1

Even with version 4.0.0+ it does not work because https://chromedriver.storage.googleapis.com/ doesn't have this latest version of webdriver. it's available only here: https://googlechromelabs.github.io/chrome-for-testing/#stable. Is there any way to use custom url or how can I use my local webdriver?

Chrome version: 116.0.5845.140 (Official Build) (x86_64) webdriver_manager version: 4.0.1

Even with version 4.0.0+ it does not work because https://chromedriver.storage.googleapis.com/ doesn't have this latest version of webdriver. it's available only here: https://googlechromelabs.github.io/chrome-for-testing/#stable. Is there any way to use custom url or how can I use my local webdriver?

import undetected_chromedriver as uc
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

driver = uc.Chrome(driver_executable_path='/usr/local/bin/chromedriver' ) # macos
driver.get("https://www.google.com")

nvm, sorry for the confusion, I had venv issues, version 4.0.0 works fine.