Traceback (most recent call last): File "quickstart.py", line 24, in headless_browser=False) File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\instapy-0.6.16-py3.6.egg\instapy\instapy.py", line 343, in init geckodriver_log_level, File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\instapy-0.6.16-py3.6.egg\instapy\browser.py", line 127, in set_selenium_local_session options=firefox_options, File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in init keep_alive=True) File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 254, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 323, in execute self.error_handler.check_response(response) File "C:\Users\under\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: 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
I have been getting this message while trying to log into InstaPy. I came across this solution --> SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' but I don't know where to implement this code. Can anyone help?
Much appreciated!!!