Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find Chrome binary #68

Open
moinologics opened this issue Mar 18, 2021 · 12 comments
Open

cannot find Chrome binary #68

moinologics opened this issue Mar 18, 2021 · 12 comments

Comments

@moinologics
Copy link

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

running on windows 10

Note - selenium working fine

@manwapri
Copy link

manwapri commented Jul 8, 2021

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"

@Viktigboy
Copy link

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"

@manwapri
Copy link

manwapri commented Nov 2, 2021

which browser you are using?
please post the error you got.

@Viktigboy
Copy link

bilde

@manwapri
Copy link

manwapri commented Nov 2, 2021

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.

@Viktigboy
Copy link

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.

@manwapri
Copy link

manwapri commented Nov 2, 2021

where did you replace the driver, share the path here.

@Viktigboy
Copy link

C:\Users\me\AppData\Local\Programs\Python\Python39\Lib\site-packages\webbot\drivers

@manwapri
Copy link

manwapri commented Nov 2, 2021

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.

@Viktigboy
Copy link

see the line no 4,

so i am going to downgrade python?

@manwapri
Copy link

manwapri commented Nov 2, 2021

no need to downgrade,
see the path in image, line no 4,
go to that path and replace the driver.

@piechowiakmichal
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants