【发布时间】:2018-10-21 09:32:43
【问题描述】:
pry(main)> browser =Watir::Browser.new(:chrome)
错误
Selenium::WebDriver::Error::WebDriverError: Unable to find chromedriver. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
from /home/roberto/.rvm/gems/ruby-2.4.1/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/service.rb:57:in `binary_path'
我已经安装并添加了 chrome 驱动程序的路径但是,我一直收到此错误,有人可以突出显示我缺少的内容。
【问题讨论】:
-
看答案,我现在更新了二进制路径。
标签: ruby selenium-webdriver rvm watir