【问题标题】:Unable to find the chromedriver executable... seems like it's in my path?找不到 chromedriver 可执行文件……好像它在我的路径中?
【发布时间】:2013-12-21 14:48:53
【问题描述】:

我正在使用带有 Watir 和 Ruby 的 Ubuntu 13.10 64 位。

browser = Watir::Browser.new :chrome

给出错误:“无法找到 chromedriver 可执行文件。请从以下位置下载服务器”...

我已经下载并解压文件(我尝试了 64 位和 32 位)到 /usr/bin/,但我仍然收到错误。

/usr/bin$ la | grep chrome
chromedriver
google-chrome

这是我的 $PATH:

/usr/bin$ $PATH
bash:    /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dan/.rvm/bin: No such file or directory

我觉得没问题,我错过了什么?

【问题讨论】:

    标签: selenium watir selenium-chromedriver


    【解决方案1】:

    我最近更新了how to drive Chrome on Ubuntu 上的说明。请查看说明,如果仍有问题,请随时在此处提问。

    【讨论】:

    • 谢谢,不知道我遗漏了什么,但我再次按照说明进行操作。
    猜你喜欢
    • 1970-01-01
    • 2013-11-20
    • 1970-01-01
    • 1970-01-01
    • 2012-08-18
    • 2014-02-28
    • 2013-06-09
    • 2014-07-21
    • 1970-01-01
    相关资源
    最近更新 更多