capybara
capybara copied to clipboard
Google Chrome selenium drivers broken on MacOS because of search engine selection modal
Meta
Capybara Version: 3.40
Driver Information (and browser if relevant):
selenium_chrome
and selenium_chrome_headless
PR https://github.com/teamcapybara/capybara/pull/2768 solves this issue.
Expected Behavior
There should be no search engine selection modal.
Actual Behavior
It prevents automated tests from working correctly with errors like
Selenium::WebDriver::Error::UnknownError: unknown error: failed to close window in 20 seconds
or Selenium::WebDriver::Error::InvalidArgumentError: invalid argument: 'handle' must be a string
Steps to reproduce
Any Capybara code running on MacOS with selenium_chrome
and selenium_chrome_headless
has this issue.