webbot
webbot copied to clipboard
cannot find Chrome binary
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
running on windows 10
Note - selenium working fine
Step 1: Open cmd and fire pip command pip install webbot
Step 2: check your chrome version go to Menu -> Help -> About Google Chrome
Step 3: Download chrome driver as per the chrome version from below link https://sites.google.com/a/chromium.org/chromedriver/downloads
Step 4: extract the driver file and save it to, C:\Users%USERNAME%\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\drivers\
Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder) new file will be like "chrome_windows - Copy.exe" and delete the original "chrome_windows.exe"
Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe"
I did all that, it did not work
Step 1: Open cmd and fire pip command pip install webbot
Step 2: check your chrome version go to Menu -> Help -> About Google Chrome
Step 3: Download chrome driver as per the chrome version from below link https://sites.google.com/a/chromium.org/chromedriver/downloads
Step 4: extract the driver file and save it to, C:\Users%USERNAME%\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\drivers\
Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder) new file will be like "chrome_windows - Copy.exe" and delete the original "chrome_windows.exe"
Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe"
which browser you are using? please post the error you got.
yes, its a chrome driver issue, update your chrome, 95 is the latest version, download driver for same version ie driver version 95, then replace in webbot driver directory. done.
yes, its a chrome driver issue, update your chrome, 95 is the latest version, download driver for same version ie driver version 95, then replace in webbot driver directory. done.
i did. getting the same error.
where did you replace the driver, share the path here.
C:\Users\me\AppData\Local\Programs\Python\Python39\Lib\site-packages\webbot\drivers
the image you have uploaded above, see the line no 4, go to that path, you have python version 3.10, in my example its 3.9.
Dont get me wrong, walk on the showed path, dont copy it.
see the line no 4,
so i am going to downgrade python?
no need to downgrade, see the path in image, line no 4, go to that path and replace the driver.
Step 1: Open cmd and fire pip command pip install webbot
Step 2: check your chrome version go to Menu -> Help -> About Google Chrome
Step 3: Download chrome driver as per the chrome version from below link https://sites.google.com/a/chromium.org/chromedriver/downloads
Step 4: extract the driver file and save it to, C:\Users%USERNAME%\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\drivers\
Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder) new file will be like "chrome_windows - Copy.exe" and delete the original "chrome_windows.exe"
Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe"
Works for me, thanks!