-
-
Notifications
You must be signed in to change notification settings - Fork 460
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 instance chromedriver in Version 127.0.6533.73 #664
Comments
I have the same issue, but using python I got this error: |
I'm having the same issue on mac: |
some notes:
|
I had the same issue. It seems that the file path in drivers.json is incorrectly specified. Manually changing the file path from THIRD_PARTY_NOTICES.chromedriver to chromedriver.exe resolved the issue, and it is now running correctly. |
I might found the issue, it seems the Latest Chrome updates (https://chromereleases.googleblog.com/) introduced a THIRD_PARTY_NOTICES file within the packed archive, having that in mind the core/driver_chage._get_binary method is just ignoring the LICENSE file hence it ended up choosing the next in the queue, that is why we see the
|
This worked for me, but I feel like it might lead to us playing 'whack a mole' if the driver folks keep adding to the archive... |
Try this fix, if you don't want to make changes in Package files. |
|
I'm running the 4.0.2 version and still getting the error:
Should it be fixed in that version already?
The error began on the 127 chrome update. |
@MaysonLedur Updating the version as you've done doesn't necessarily fix the problem. In fact, the problem seems to stem from the JSON file in the Chromedriver directory. Deleting the 'drivers' folder corrected the problem for me, which should solve your problem.
|
netexpoarthur, thank you! That solved my problem. Have a nice one! |
you can try to update. try this https://storage.googleapis.com/chrome-for-testing-public/127.0.6533.73/win64/chromedriver-win64.zip. find it in https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json, Find the version that is closest to the latest version. then change the version number by youself. open it. and now you can download the latest version. |
If this also not works then just add .exe to chromedriver in driver_path. then that will be chromedriver.exe |
I got this error:
|
Making a little change works! this is the code:
|
I think 4.0.2 already fixed this error:
then try again |
I replaced "/Users/{user}/.wdm/drivers/chromedriver/mac64/128.0.6613.137/chromedriver-mac-arm64/THIRD_PARTY_NOTICES.chromedriver" to "/Users/{user}/.wdm/drivers/chromedriver/mac64/128.0.6613.137/chromedriver-mac-arm64/chromedriver" just Delete "THIRD_PARTY_NOTICES." then fixed for me. -Mac M1 |
Console Output:
OSError: [WinError 193] %1 is not a valid Win32 application
The text was updated successfully, but these errors were encountered: