-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
[🐛 Bug]: JavaScript code failed from unknown command: 'Runtime.evaluate' wasn't found #15358
Comments
@bonigarcia, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Is there a way to find from which commit it started to cause the issue? |
I ran into this exact error on the Our workaround was to set the Note: There is a newer github runner image (20250223), and I have tried to use the maximize() method and ran into the same issue as well. |
From my personal experience, it seems to be an issue with Chrome 133+ and current implementation of |
Running into this issue fairly consistently in Github Actions when using Chrome 133 and 134 now when maximize is called.
Additionally we have users using selenium grid that are getting periodic errors when attempting to sue a keyword to maximize the browser but it is much more sporadic there. Reverting to Chrome 132 seems to prevent this issue in both cases. |
Chromium issue tracker issue 394760806: Chromedriver crash on maximize() function on Linux with Xvfb |
What happened?
The following Selenium Java test used to work, but it has started to fail in GitHub Actions:
https://github.com/bonigarcia/selenium-webdriver-java/blob/master/selenium-webdriver-junit5/src/test/java/io/github/bonigarcia/webdriver/jupiter/ch04/window/WindowJupiterTest.java
How can we reproduce the issue?
The error points directly to this line:
driver.manage().window().maximize();
Relevant log output
See complete logs here: https://github.com/bonigarcia/selenium-webdriver-java/actions/runs/13614712277/job/38056290843
Operating System
Ubuntu 24.04 (ubuntu-latest in GHA)
Selenium version
selenium-java 4.29.0
What are the browser(s) and version(s) where you see this issue?
Chrome 133
What are the browser driver(s) and version(s) where you see this issue?
chromedriver 133.0.6943.141
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: