youtube_uploader_selenium
youtube_uploader_selenium copied to clipboard
got an unexpected keyword argument 'firefox_profile'
TypeError: WebDriver.init() got an unexpected keyword argument 'firefox_profile'
Ran into similar. Updated my requirements.txt with...
selenium_firefox==2.0.8 selenium==4.0.0
Then...
pip install -r requirements.txt
(Firefox 117, Win 10, WebDriver)
So, got further, but currently hitting YouTube sign-in issue. Am searching through other open/closed issues to figure out how to progress to the next blocker LOL...
Found a solution, had to manually go to selenium_firefox/firefox.py, search for profile, and came upon this:
profile = webdriver.FirefoxProfile()
Just added the location of my profile between the braces, like this:
profile = webdriver.FirefoxProfile("C:\\Users\\YourUsername\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\YourProfile")
include your profile path in the startup command:
--profile 'C:/users/'username'/appdata/roaming/mozilla/firefox/profiles/xxxx.default-release'
pip uninstall selenium pip install selenium==4.9.0