-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Chrome 133 Breaking #2793
Comments
I also see an issue with
|
Further info: The first test is passing, then Capybara's
|
This will be looked at next week |
Is there any workaround for this if we're using the |
Downgrade your chromedriver to 132.x - that worked for me |
Download the driver you need for your OS Here's the how to on installing it into Mac |
In Rails the easiest way to do this is to pass browser_version via options: driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ] do |options|
options.add_option(:browser_version, '132.0.6834.159')
end |
@defkode Do you mean to say that you don't have a chrome driver built globally and that by adding that option it will build a chromedriver using that version or does that just mask the version? |
Yes (it downloads correct chromedriver version and Chrome for Testing). Thanks to Selenium Manager 👇🏻 https://www.selenium.dev/blog/2023/whats-new-in-selenium-manager-with-selenium-4.11.0/ Works great on CI. On local computer it also downloads matching Chrome for Testing when no regular Chrome browser is installed. |
You can also manage versions via ENV variables
|
I've been experiencing the test failures only on macOS, things are still working properly with Chrome 133 in CI on Ubuntu. In my case, the problems still seem to be occurring even when downgrading the chromedriver. The only thing I've found that works so far is downgrading Edge to v132 (MS makes old versions of Edge available for download, unlike Chrome). I've then updated all my tests to be driven by Edge and things have been working once again. |
We have the same issue on MacOS, but we noticed that we can make the tests pass without failures when the headless mode is disabled. That way we can keep testing locally. Perhaps a clue to investigate what went wrong? |
The issue is related to |
Cannot use
page.window_handles
as you could in Chrome 132Additionally, after some additional steps to try to fix, I'm now getting this wrror:
The text was updated successfully, but these errors were encountered: