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

TypeError: WebDriver.__init__() got an unexpected keyword argument 'firefox_profile' #283

Open
lejtdan opened this issue Jun 10, 2023 · 6 comments

Comments

@lejtdan
Copy link

lejtdan commented Jun 10, 2023

I'm having this error:

TypeError: WebDriver.init() got an unexpected keyword argument 'firefox_profile'

@roish23
Copy link

roish23 commented Jun 13, 2023

Hi, new here..
I also received this error, what I did is to comment out this parameter from the WebDriver.Firefox() function in browser.py
Now it seems to work overall but no connection. Tons of other parameters were set for 'firefox_profile' so I will keep looking..couldn't seek the docs properly

Lines 123-128:
browser = webdriver.Firefox( #firefox_profile=firefox_profile, #executable_path=driver_path, #log_path=geckodriver_log, options=firefox_options, )

@kluenkersen
Copy link

did anyone find out how to fix this issue?

@0xadityaputra
Copy link

still waiting for someone to fix this issue

@0xadityaputra
Copy link

I'm having this error:

TypeError: WebDriver.init() got an unexpected keyword argument 'firefox_profile'

do you find a way to fix it?

@dfelix4247
Copy link

dfelix4247 commented Jul 2, 2023

still working through it, but from what i understand firefox_options was depreciated so you would have to use options instead. i'm wondering if this is a similar issue with firefox_profile . check out this question on stackoverflow
https://stackoverflow.com/questions/70326002/typeerror-webdriver-init-got-an-unexpected-keyword-argument-firefox-opti

update: changing to 'options' worked for me, but layout for instapy has many more issues that need to be resolved in each file. Hasn't been maintained in a while, so it's to be expected

@Maupse
Copy link

Maupse commented Sep 21, 2023

i did fix it by uninstalling selenium and installing version 4.9.1
pip uninstall selenium
pip install selenium==4.9.1

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

6 participants