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

Unable to find a matching set of capabilities #1

Open
guilhermesff opened this issue Jan 17, 2019 · 0 comments
Open

Unable to find a matching set of capabilities #1

guilhermesff opened this issue Jan 17, 2019 · 0 comments

Comments

@guilhermesff
Copy link

Hi there,

I tried and the script failed.

[root@shell selenium-capturetraffic]# python3.6 capture_example.py
Traceback (most recent call last):
File "capture_example.py", line 15, in
sniffer = CaptureTraffic()
File "/root/xpto/selenium-capturetraffic/capturetraffic.py", line 38, in init
self.start_session()
File "/root/xpto/selenium-capturetraffic/capturetraffic.py", line 79, in start_session
self.start_driver()
File "/root/xpto/selenium-capturetraffic/capturetraffic.py", line 69, in start_driver
self.driver = webdriver.Firefox(options=options, firefox_profile=profile, executable_path='utils/geckodriver')
File "/usr/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 167, in init
keep_alive=True)
File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in init
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3.6/site-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

[root@shell selenium-capturetraffic]

Thanks

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