InstaPy / instapy-quickstart

💨 Simply get InstaPy up and running in minutes.
GNU General Public License v3.0
765 stars 797 forks source link

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

Open lejtdan opened 1 year ago

lejtdan commented 1 year ago

I'm having this error:

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

roish23 commented 1 year ago

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 commented 1 year ago

did anyone find out how to fix this issue?

0xadityaputra commented 1 year ago

still waiting for someone to fix this issue

0xadityaputra commented 1 year ago

I'm having this error:

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

do you find a way to fix it?

dfelix4247 commented 1 year ago

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 commented 11 months ago

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