-
Notifications
You must be signed in to change notification settings - Fork 2
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 #4
Comments
First of all: which version of GeckoDriver are you using, what is your operating system and your ARM device. |
I tried with 0.16.1, 0.19.0 and 0.21.0. My operating system is Raspberry pi zero armv6l |
I think the first problem is solvable with the parameter "desired_capabilities". |
Code that worked for me about half a year agoThat's the code which worked for me about half a year ago:
You have to keep geckodriver binary in the same folder where you run your python file. Update your firefoxAlso, from what i found, that error can be solved by upgrading your firefox. Explicitly provide path to firefox binaryIn issue #3884 in Selenium issues tracker that problem was solved by directly specyfing firefox path in code. That would look similar to this:
You have to run
and replace path_to_firefox with output of that command. That program should launch firefox properly and open google.com If above options don't help:Raspberry pi zero armv6l is NOT an operating system. It is a device on which you run your operating system. Most probably it is Raspbian or something similar. If options above don't help, please try to find name of that OS and version of your Firefox browser. |
The firefox explicit path indeed works, although it was horridly slow on the Raspberry pi zero. Still having problem running firefox using the first solution. The operating system I use is Raspbian |
If it works you can use code with providing path explicitly as base for future programs, you just have to start every program with it. Talking about speed... Yeah, it was slow for me too, that's actually why i stopped using it. I don't think there is any workaround for this at the moment, except buying more powerful device. I am glad that it works in the end :) |
Thank you so much for your help! |
If you really want to move to something better I would rather consider Raspberry Pi 2B or even something newer. Raspberry Pi B (the first version) has same CPU and amount of memory as RPi Zero, so selenium probably would lag terribly on it too ;) RPi 2B has 4 cores and 1 gig of RAM versus 1 core and 512 mega of ram in RPi Zero/RPi B case, so numbers speak for themselves. |
I have the following issue when running these 2 lines of code:
from selenium import webdriver
wser = webdriver.Firefox()
Also, In an older version of selenium (3.3.0) I get the following error:
The text was updated successfully, but these errors were encountered: