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

Newer version compatibility (Usage) #91

Open
SkimmyMilk937 opened this issue Jul 26, 2024 · 4 comments
Open

Newer version compatibility (Usage) #91

SkimmyMilk937 opened this issue Jul 26, 2024 · 4 comments

Comments

@SkimmyMilk937
Copy link

I spent so long trying to get this damn script to run lol

Latest Gecko driver (0.34) is NOT compatible. Tried versions 20,22,27... 30 hit the mark.

If you are having issues with geckodriver try version 0.30

I used

selenium_firefox==2.0.8
selenium==4.0.0
geckdriver .30

If you've never used gecko driver before(like me) this website helped.
https://www.browserstack.com/guide/geckodriver-selenium-python

@nomi404
Copy link

nomi404 commented Aug 1, 2024

did you get error like this one?

selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line

@SkimmyMilk937
Copy link
Author

Hmmm I don't think so... I always received an error about firefox or gecko driver. Did you set the firefox profile when you called the script? It seems like you got a problem with selenium finding firefox, I saw another issue earlier about the firefox profile being required.

This is my example call from another script:

os.system(f"python youtube_uploader_selenium/upload.py --video=shorts/{clipToUse} --profile=C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/suu68dnw.default-release")

@ftwftw0
Copy link

ftwftw0 commented Sep 8, 2024

bump. Also having that gecko driver issue.
RuntimeError: Failed to download geckodriver archive: https://github.com/mozilla/geckodriver/releases/download/v0.35.0/geckodriver-v0.35.0-win32.tar.gz

On GitHub there is no .tar.gz geckodriver file, but I found a .zip :
https://github.com/mozilla/geckodriver/releases/download/v0.35.0/geckodriver-v0.35.0-win32.zip

@SkimmyMilk937
Copy link
Author

did you try a diffrent version of geckodriver? v0.35.0 didn't work for me, I currently have it working on version v0.30.0 though

https://github.com/mozilla/geckodriver/releases/tag/v0.30.0

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

3 participants