当我在Heroku上运行代码时,我得到
Selenium::WebDriver::Error::WebDriverError: Unable to find chromedriver.chromedriver: files attribute must be specified in /Users/leticia/.local/share/heroku/n
我使用capybara & selenium测试我的rails项目。当我执行测试脚本时,它会出现这样的错误 Could not find Firefox binary (osMake sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox
:42] E/launcher - WebDriverError: The path to the driver executable must be set by the webdriver.chrome.driverObject.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver</e
我正在尝试用ruby在Heroku上运行无头铬。我已经安装了构建包和,并将Selenium driver_path设置到了正确的位置(我已经像之前设置Selenium驱动程序路径I get cannot find Chrome binary一样检查了这一点,在将其设置为由构建包I get unable to connect to chromedriver设置的GOOGLE_CHROME_BIN变量之后)。当我尝试用Watir::Browser.new :chrome或Watir::Bro
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/usr/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/er
:50:in `start': unable to connect to chromedriver http://127.0.0.1:9515 (Selenium::WebDriver::Error::WebDriverError)
from /usr/local/rvm/gems/ruby-2.1.1@global/gems/selen
" (in directory "."): error=2, No such我向您保证,/tmp/webdriver/chromedriver/chromedriver=/tmp/webdriver/chromedriver/chromedriver_2.13_32bit
甚至在没有提供驱动程序路径的情况