Open gabrieldesousah opened 6 years ago
Unable to find a matching set of capabilities
Try and get the newest geckodriver, selenium and firefox
It's possible start this lib in ubuntu server without graphic environment?
Yes, put the headless option in WhatsAPIDriver
How do you solve this? I am in the day two of fight with this library
Hello guys, I am trying install this wrapper on ubuntu server but after install geckodriver , and the lib, I have this error after do:
This error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "webwhatsapi/__init__.py", line 196, in __init__ self.driver = webdriver.Firefox(capabilities=capabilities, options=options, **extra_params) File "/home/gabriel/.local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__ keep_alive=True) File "/home/gabriel/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 156, in __init__ self.start_session(capabilities, browser_profile) File "/home/gabriel/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 251, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/home/gabriel/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute self.error_handler.check_response(response) File "/home/gabriel/.local/lib/python2.7/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