Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver. (Selenium::WebDriver::Error::WebDriverError)
在带有 Watir 和 Ruby 的 Ubuntu 13 上。
最佳答案
对于 MacOS 上的其他人:
brew cask install chromedriver
然后你就可以开始了。
如果使用 Homebrew 2.6.0(2020.12.01 发布)或更高版本,您应该使用:
brew install --cask chromedriver
关于ruby - 无法找到 chromedriver 可执行文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19862276/