1

Hi guys this is my code

from instapy import InstaPy
session=InstaPy(username='login' , password='password')
session.login()

and this is my exception:

Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
ProgrammingisF4n
  • 155
  • 1
  • 3
  • 12

1 Answers1

0

I went thru the same issue.

I found out that Instapy doesn't work with Chrome but only with Firefox.

After installing Firefox everything ran smoothly.

Zeca
  • 71
  • 1
  • 1
  • 12
  • This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://stackoverflow.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://stackoverflow.com/help/whats-reputation), you can also [add a bounty](https://stackoverflow.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/30671976) – Sercan Dec 28 '21 at 07:37