-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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]: Minitest::UnexpectedError: Selenium::WebDriver::Error::NoSuchWindowError: no such window #14431
Comments
@Pepan, 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! |
solution :
|
Hello @Pepan just to double check this doesn't seem to be a selenium issue, since I cannot reproduce it but on your test you were not able to select the right window and you needed to disable the search engine selection option if that's the case I will propose to close this |
Hello @aguspe, no. Look at screenshots. After I add argument (see my above reply) it starts working again. |
https://www.selenium.dev/blog/2024/chrome-browser-woes/ If the proposed solution works, can we close this? |
I'm also in the EU and I can see this browser selection screen but that comes from google itself not selenium, so as @pujagani if after adding the flag to disable the search eangine selection works, the issue doesn't seem to be selenium related but chrome related I can try to reproduce it again, but I can't, for more information: https://www.ghacks.net/2023/12/09/google-chrome-to-display-choose-your-search-engine-prompt/ And as @pujagani refer already the blog regarding passing the flag |
Just as an example @Pepan, the following code throws an error:
Without me passing the flag |
I understand ... but it halted on |
Thank you so much @Pepan have a great day! |
starting chrome with a fresh profile shows a search engine choice screen which will break any tests. passing a special argument will disable the screen. see SeleniumHQ/selenium#14431
starting chrome with a fresh profile shows a search engine choice screen which will break any tests. passing a special argument will disable the screen. see SeleniumHQ/selenium#14431 also: - refactor default chrome option initialization - compress browser option initialization
starting chrome with a fresh profile shows a search engine choice screen which will break any tests. passing a special argument will disable the screen. see SeleniumHQ/selenium#14431 also: - refactor default chrome option initialization - compress browser option initialization
What happened?
Error happened :
Relevant log output
The text was updated successfully, but these errors were encountered: