I have a very simple integration test
visit root_path
click_link 'Sign In' # <--
which works with
Capybara.default_driver = :selenium_chrome
but fails with
Capybara::ElementNotFound: Unable to find visible link "Sign In"
when using
Capybara.default_driver = :selenium_chrome_headless # headless fails
And that is with
Capybara.default_max_wait_time = 10
And I have also tried
click_link 'Sign In', wait: 30
and
sleep 10
click_link 'Sign In'
version details
At the time of this writing I have the latest versions of capybara and selenium-webdriver:
-bash> gem list | grep capybara
capybara (3.34.0, 3.18.0)
-bash> gem list | grep selenium
selenium-webdriver (3.142.7, 3.142.0)
