继续前一个帖子。 ( WebDriverException:消息:握手中缺少'marionetteProtocol'字段 )
我已将浏览器版本升级到FF 48.浏览器已启动但无法导航到我指定的网站。
WebDriverException:消息:连接被拒绝Stacktrace:在java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)的java.net.PlainSocketImpl.smplConnect(PlainSocketImpl.java: - 2)处于java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl。 java:200)at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)at java.net.SocksSocketImpl.connect
更新的规格:
火狐(48.0) Selenium2Library 硒的服务器独立,2.53.1.jar geckodriver-v0.9.0有人设法解决了这个问题吗?
Continue from previous thread. (WebDriverException: Message: Missing 'marionetteProtocol' field in handshake)
I've upgraded my browser version to FF 48. The browser launched but unable to navigate to the website that I specify.
WebDriverException: Message: Connection refused Stacktrace: at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2) at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect
Updated specs:
Firefox (48.0) Selenium2Library selenium-server-standalone-2.53.1.jar geckodriver-v0.9.0Does anybody managed to solve the issue?
最满意答案
我终于设法找到了我的硒设置的解决方案。谢谢你。 http://learn-automation.com/use-firefox-selenium-using-geckodriver-selenium-3/
我将我的FF降级到v45.0.2以使其与selenium-server-standalone-2.53.1.jar一起使用并安装了以下规范:
selenium = v2.44.0 robotframework-selenium2library = v1.8.0 robotframework = v3.0 robotframework-seleniumlibrary = v2.9.2我遇到的问题也是由于dist包中存在硒3蛋(/usr/local/lib/python2.7/dist-packages)。 因此,在取出鸡蛋后,硒工作并按预期启动浏览器。
I finally managed to find the solution for my selenium setup.Thanks to this guy.http://learn-automation.com/use-firefox-selenium-using-geckodriver-selenium-3/
I downgraded my FF to v45.0.2 to make it work with selenium-server-standalone-2.53.1.jar and installed the following specs :
selenium = v2.44.0 robotframework-selenium2library = v1.8.0 robotframework = v3.0 robotframework-seleniumlibrary = v2.9.2The issue that I faced also due to the existence of selenium 3 eggs in the dist packages (/usr/local/lib/python2.7/dist-packages). So after removing the egg, selenium works and browser launched as expected.
更多推荐
发布评论