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

Noob raspberry pi errors.. selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities #28

Open
mattzcarey opened this issue Jan 26, 2021 · 1 comment

Comments

@mattzcarey
Copy link

Followed all the instructions in guide for installing on a pi.
running latest version of Raspbian.
InstaPy Version: 0.6.13,
Mozilla Firefox 78.6.1esr,
Python 2.7.16,
Lastest selenium (can't work out how to check that..)
Geckodriver 0.23.0 downloaded and tried in /usr/bin and /usr/local/bin neither changed the erros and both on $PATH

Please can someone suggest how I could fix it. At the moment nothing manages to load it just crashes with the errors below. Problems I thought of but i don't know how to fix; Geckodriver version not working with current firefox version? Location of Geckodriver needing specified somehow?

Or maybe I messed up something else.... ? I can't get it working running either with a test script or instapy quickstart.

Workspace in use: "/home/pi/InstaPy"
Traceback (most recent call last):
File "quickstart.py", line 24, in
headless_browser=False)
File "/usr/local/lib/python3.7/dist-packages/instapy/instapy.py", line 338, in init
geckodriver_log_level,
File "/usr/local/lib/python3.7/dist-packages/instapy/browser.py", line 127, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

@mattzcarey
Copy link
Author

Edit using Selenium 3.141.0, Python 3.7.3

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

1 participant