-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Chrome selenium drivers broken on MacOS because of search engine selection modal #2769
Comments
If you know what option to pass to chrome to prevent if from showing the modal you can update your driver config to send that option |
this is about built-in configurations (called |
this fixed it for me in rails:
|
Meta
Capybara Version:
3.40
Driver Information (and browser if relevant):
selenium_chrome
andselenium_chrome_headless
PR #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
orSelenium::WebDriver::Error::InvalidArgumentError: invalid argument: 'handle' must be a string
Steps to reproduce
Any Capybara code running on MacOS with
selenium_chrome
andselenium_chrome_headless
has this issue.The text was updated successfully, but these errors were encountered: