You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: