Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/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
Google chrome 将chrome配置为适用于selenium2.25_Google Chrome_Selenium - Fatal编程技术网

Google chrome 将chrome配置为适用于selenium2.25

Google chrome 将chrome配置为适用于selenium2.25,google-chrome,selenium,Google Chrome,Selenium,我使用的是selenium webdriver 2.25。此webdriver仅支持firefox,不支持Chrome。我下载了chromedriver并将其添加到类路径中,但如果我将Chrome作为要运行的浏览器,则我的脚本不会运行。有人能建议我缺少哪些配置设置吗?或者我哪里出错了。我正在使用Eclipse IDE编写脚本。好的,请告诉我如何让selenium为chrome运行…?如果您刚刚下载了chrome,那么您已经下载了最新版本,可能根本没有机会使用selenium v2.25。请从网站

我使用的是selenium webdriver 2.25。此webdriver仅支持firefox,不支持Chrome。我下载了chromedriver并将其添加到类路径中,但如果我将Chrome作为要运行的浏览器,则我的脚本不会运行。有人能建议我缺少哪些配置设置吗?或者我哪里出错了。我正在使用Eclipse IDE编写脚本。

好的,请告诉我如何让selenium为chrome运行…?如果您刚刚下载了chrome,那么您已经下载了最新版本,可能根本没有机会使用selenium v2.25。请从网站更新至v2.33,并告知您收到的任何例外情况。没有它们我们什么都做不了。你设置了“webdriver.chrome.driver”属性吗?