-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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]: OpenQA.Selenium.WebDriverException : no such execution context #13920
Comments
@MJB222398, 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! |
This is a typical chromedriver message, e.g. https://bugs.chromium.org/p/chromedriver/issues/detail?id=4474&can=2&q=no%20such%20execution%20context or https://bugs.chromium.org/p/chromedriver/issues/detail?id=4687&can=2&q=no%20such%20execution%20context So i would expect this to happen without the grid and there is not mutch to do than report an chromedriver issue. I use a try / catch block in my java code to detect this and rerun another browser instance. |
@joerg1985 I don't believe I have ever seen this issue on Chrome, only on Edge. |
I created this PR #13978 to support the same issue that I have encountered, as I am also having some trouble on my end when there's not enough details to debug what's the primary issue that causing this no such execution context |
I've also seen this error when trying to call getPageSource. |
As mentioned, the error seems to come from the browser itself. If someone finds a way to reproduce it consistently, please report it to the browser folks through the links shown below. |
Hi, @MJB222398. You can see if the feature is passing in the Web Platform Tests. If it is something new, please create an Issue with the MSEdgeDriver team. Feel free to comment the issues that you raise back in this issue. Thank you. |
Hi, @MJB222398. You can see if the feature is passing in the Web Platform Tests. If it is something new, please create an issue with the ChromeDriver team. |
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs. |
What happened?
This is an intermittent issue (happening maybe once in 200 tests or so in my production solution).
Opened a RemoteWebDriver instance and attempted to navigate to a URL and got this exception:
How can we reproduce the issue?
Can try to make this but won't be straight forward. Wondering if logs give enough to go on?
Relevant log output
Operating System
Ubuntu
Selenium version
4.19.0
What are the browser(s) and version(s) where you see this issue?
Edge 123.0.2420.65
What are the browser driver(s) and version(s) where you see this issue?
Edge 123.0.2420.65
Are you using Selenium Grid?
Yes 4.19.0-20240328
The text was updated successfully, but these errors were encountered: