Instapy: Selenium not recognize firefox -> add a way to set binary property

Created on 21 Aug 2019  路  14Comments  路  Source: timgrossmann/InstaPy

I still have a problem with selenium on windows.

selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Related to: https://github.com/mozilla/geckodriver/issues/1601

The only solution is to add on browse.py file line:

firefox_options.binary = r'C:\Program Files\Mozilla Firefox\firefox.exe';

Any way to accept it as a args on InstaPy main class?

wontfix

Most helpful comment

All 14 comments

You just saved my day with this line. Thank you.

@clementizard hey iam getting this error on firefox ( Unable to login to Instagram! You will find more information in the logs above ) plz help me

@meriturva firefox_options.binary = r'C:\Program Files\Mozilla Firefoxfirefox.exe'; .......... what i have to do with this ?? plz help instapy unable to log in to instagram

@prototype127 do you see firefox open or not?

@meriturva It helped, thanks a lot! :)

same problem but on OS, firefox is opened but can't login on Ig

if firefox is opened please search or open a new issue!

@meriturva Hi where i need to add that line?
firefox_options.binary = r'C:\Program Files\Mozilla Firefoxfirefox.exe';

What must be done after adding that line in? Many thanks for any help to get this working!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

@meriturva Thanks dear, now it's working.

@meriturva you could do a PR to accept that in the constructor :)

Sorry @breuerfelix but I'm really full and I don't use anymore instapy

Was this page helpful?
0 / 5 - 0 ratings

Related issues

converge picture converge  路  3Comments

Spyd3r0us picture Spyd3r0us  路  3Comments

ingorichter picture ingorichter  路  3Comments

harrypython picture harrypython  路  3Comments

drcyber975 picture drcyber975  路  3Comments