-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[🐛 Bug]: {"code":-32000,"message":"Browser window not found"} when maximizing edge window via RemoteWebDriver in selenium grid #15174
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
Comments
@tkleiber, 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! |
It could be something similar to this: https://forum.robotframework.org/t/launching-edge-browser/7581 You should run the test with the visible browser to see if there is something that is not letting the window get maximized. |
I use selenium grid for the purpose of running the browsers headless for CI system. And only in this combination the problem occurs. If I run the test locally and not headless the problem does not occur. |
I understand, I am just saying that the browser in that environment has some issue and maybe there is a way for you to get an image of the browser to understand better what is going on. |
But your link goes to the right direction, I believe I have found the problem. A little bit of history: It seems that headless=new in contrast to headless=old need for running on windows now following two lines for the profile (as we had before only in if branch for EdgeDriver): I will now test this in our ci and will close the bug, if this is succesful. |
If I try this on CI the grid node runs under an servcice user. |
Service users don't generally have a window manager associated with them. Since browsers require a UI to work you will need to see about getting one associated with the service user. You will likely get similar issues with Firefox |
Remember - this is windows service user, are you sure you not mean linux? |
What happened?
Hi!
I get mentioned error when running a test against my selenum grid:
When removing "driver.manage().window().maximize();", then the test starts.
But some of my tests needs maximized browser, as they cannot set focus on items outside the visible browser window.
By the way same error occurs with driver.manage().window().setSize.
I cannot test against other drivers, as I don't have and get one installed in our business development environment.
I have already created similar issue on EdgeWebDriver: MicrosoftEdge/EdgeWebDriver#185 for the case that this will be an driver issue.
Best regards
Torsten
How can we reproduce the issue?
Relevant log output
Operating System
Window 10 grid hub and node, Windows 10 Java IDE
Selenium version
Java 8, Selenium 4.13: at the moment we are restricted to Java 8 through the Oracle ADF development framework
What are the browser(s) and version(s) where you see this issue?
Edge 132.0.2957.115
What are the browser driver(s) and version(s) where you see this issue?
EdgeWebDriver 132.0.2957.127
Are you using Selenium Grid?
4.13.0
The text was updated successfully, but these errors were encountered: