-
Notifications
You must be signed in to change notification settings - Fork 215
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
got an unexpected keyword argument 'firefox_profile' #86
Comments
Ran into similar. Updated my requirements.txt with... selenium_firefox==2.0.8 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 |
TypeError: WebDriver.init() got an unexpected keyword argument 'firefox_profile'
The text was updated successfully, but these errors were encountered: