Selenium启动但不加载页面

时间:2016-09-27 03:49:04

标签: python selenium

我正在使用selenium版本2.53.6和firefox 49.0运行python 2.7.12。我在这里看过Selenium WebDriver: Firefox starts, but does not open the URL,但提到的解决方案并没有解决我的问题。

是否存在我不知道的兼容性问题?任何帮助将不胜感激。

5 个答案:

答案 0 :(得分:1)

您必须使用Firefox版本< = 46.0

答案 1 :(得分:1)

答案 2 :(得分:1)

对于更高版本的Firefox,请使用Selenium 3.0.x或使用geckodriver

答案 3 :(得分:1)

我也面临同样的问题。我将Firefox降级到47.0.1并且可以正常工作

答案 4 :(得分:1)

正在使用selenium版本2.53.6。因此它与firefox版本49.0不兼容。

您应该将firefox版本降级为< = 46

从以下地址下载旧版本的Firefox:

https://support.mozilla.org/en-US/kb/install-older-version-of-firefox