Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 无法使用ghostdriver启动phantomjs_Python_Selenium_Phantomjs - Fatal编程技术网

Python 无法使用ghostdriver启动phantomjs

Python 无法使用ghostdriver启动phantomjs,python,selenium,phantomjs,Python,Selenium,Phantomjs,我运行的代码具有selenium组件,需要phantomJS。 我收到以下错误消息: 无法使用ghostdriver启动phantomjs。“;屏幕截图:可用 在我的代码中,我指定了我的phantomJS路径(即bin路径),但这样的度量不起作用。 我已将phantomJS osx文件夹放置在与我的selenium文件夹相同的位置-这是否是我出现问题的原因 谢谢这是一个bug。请使用selenium 2.37.2这是一个bug。请使用selenium 2.37.2不确定您使用的是哪个版本的Gho

我运行的代码具有
selenium
组件,需要
phantomJS
。 我收到以下错误消息:
无法使用ghostdriver启动phantomjs。“;屏幕截图:可用

在我的代码中,我指定了我的
phantomJS
路径(即
bin
路径),但这样的度量不起作用。 我已将
phantomJS osx
文件夹放置在与我的
selenium
文件夹相同的位置-这是否是我出现问题的原因


谢谢这是一个bug。请使用selenium 2.37.2这是一个bug。请使用selenium 2.37.2

不确定您使用的是哪个版本的Ghostdriver,但在升级到selenium 2.40之前,我在1.9.7上遇到了这个错误。不确定您使用的是哪个版本的Ghostdriver,但在升级到selenium 2.40之前,我在1.9.7上遇到了这个错误。您找到解决方案了吗?您找到了解决方案吗?