需要'水豚/黄瓜'需要'selenium-webdriver'需要'httparty'
Capybara.configure做| config |config.default_driver =:硒_chormeconfig.app_host ='http://localhost'2000
config.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)
您拼错了Chrome。您有selenium_chorme而不是selenium_chrome(或vs ro)。