Closed LeandroPessoa closed 3 years ago
thanks for report. what splinter and driver version are you using?
selenium==2.53.6 splinter==0.7.4
I don't know which version of the driver, but the version of Firefox is 49.
My guess is that you are running into this: https://github.com/SeleniumHQ/selenium/issues/2739 In particular you might want to follow the instructions on installing geckodriver and the beta version of selenium: https://github.com/SeleniumHQ/selenium/issues/2739#issuecomment-250112599
I try the solution proposed : capabilities={"marionette":True} If i put capabilities={"marionette":False} is getting the same error. Now the browser window is stucked on nothing. Only a white page. Looking in a geckodriver.log nothing conclusive, but it appears that geckodriver is working properly. http://pastebin.com/DcGLkiTg
@LeandroPessoa can you confirm that you are running version 3.0.0b3
of Selenium? The Splinter package will not automatically install that for you. You shouldn't have to change the capabilities unless you want to work with an older version of Firefox.
@martinpelikan i forced the installation of this version in a hope to things get work again, but in a latest version and this beta version the error is the same . Still not working if i don't change the capabilities. Looking in latest updates on issues of selenium, there's more people talking about this problem in the last days. I'm trying the possible solutions, but so far no one solution works.
Any update on this ?? im seeing the same error with even without the marionette cap, so im not sure what is happening, using selenium-3.0.0b3 and firefox 49 in Captain.
Unfortunately I'm out of ideas if you followed the same steps as me. I had the same problems you're describing and this was sufficient to get things working. Just to re-iterate in one place what I had to do:
firefox --version
Mozilla Firefox 49.0.1
ls -l /usr/bin/wires
lrwxrwxrwx 1 root root 20 Sep 30 13:56 /usr/bin/wires -> /usr/bin/geckodriver
wires --version
geckodriver 0.10.0
The source is available at https://github.com/mozilla/geckodriver
This program is subject to the terms of the Mozilla Public License 2.0.
You can obtain a copy of the license at https://mozilla.org/MPL/2.0/.
pip install -U selenium==3.0.0b3
Requirement already up-to-date: selenium==3.0.0b3 in /usr/lib/python3.5/site-packages
pip list | grep -E "(selenium|splinter)"
pytest-splinter (1.7.6)
selenium (3.0.0b3)
splinter (0.7.4)
Closing due to inactivity.
The issue #155 has come back. I'm getting the same error with the latest version of dependencies.
selenium.common.exceptions.WebDriverException: Message: Can't load the profile.