Hi,
this is an issue for me too
Also, docs on how to use headless chrome do not mention chromedriver at all: https://docs.travis-ci.com/user/chrome
I could submit a PR, but I’m not an English native speaker and this issue is locking
At the moment I’m using the following solution:
addons:
chrome: stable
before_script:
- LATEST_CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"`
- curl "https://chromedriver.storage.googleapis.com/${LATEST_CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O
- unzip chromedriver_linux64.zip -d ~/bin
which also allows me to use
config.before(:each, type: :system, js: true) do
driven_by :selenium, using: :headless_chrome
end
without specifying a custom chrome driver for Selenium, as mentioned at https://docs.travis-ci.com/user/chrome#capybara