小编tsi*_*han的帖子

无法连接到chromedriver

我使用capybara&selenium测试我的rails项目.当我执行测试脚本时,它有这样的错误

 Selenium::WebDriver::Error::WebDriverError:
   Could not find Firefox binary (os=macosx). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path=
Run Code Online (Sandbox Code Playgroud)

我谷歌如何使用谷歌浏览器作为测试浏览器而不是Firefox

但它发生其他错误喜欢

Selenium::WebDriver::Error::WebDriverError:
   unable to connect to chromedriver http://127.0.0.1:9515
Run Code Online (Sandbox Code Playgroud)

selenium ruby-on-rails

33
推荐指数
3
解决办法
3万
查看次数

标签 统计

ruby-on-rails ×1

selenium ×1