Open SkimmyMilk937 opened 1 month ago
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
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")
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
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
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