带Capybara的Ruby无法打开chrome(已关闭)

问题描述 投票:0回答:1

需要'水豚/黄瓜'需要'selenium-webdriver'需要'httparty'

Capybara.configure做| config |config.default_driver =:硒_chormeconfig.app_host ='http://localhost'2000config.default_max_wait_time = 5#config.default_driver =:selenium_chrome_headless

//未找到称为:selenium_chorme的驱动程序,可用的驱动程序::rack_test,:selenium,//:selenium_headless,:selenium_chrome,:selenium_chrome_headless(Capybara :: DriverNotFoundError)

ruby capybara
1个回答
0
投票

您拼错了Chrome。您有selenium_chorme而不是selenium_chrome(或vs ro)。

© www.soinside.com 2019 - 2024. All rights reserved.