-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[🐛 Bug]: driver fails calling to minimize_browser() with error: failed to change window state to 'minimized', current state is 'normal' (Linux ENV) #15192
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
@bwomsm1, 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! |
I have tried to reproduce this on MacOS and unable to with Java. I doubt it is language-specific but will try with Python as well. What version of Chromedriver are you using? Does it occur with Firefox or other versions of Chrome? |
Even with python, the behavior is expected. |
I am experiencing the problem with ChromeOS, my test is running from the Linux CMD in the Chromebook. |
My guess is that if you will run it in the env |
@pujagani and all, any news about this issue? The problem is easily reproducing against Linux environments. |
If it is specific to Linux environments, only reproducible with Chrome, then there is a good chance it is a Chrome issue. |
It is reproducing with various of Linux OSs, also my team mates are experiencing the problem |
@bwomsm1 Have you reproduced this error with Firefox, Safari, or Edge? |
@shbenzer no, my case is Chrome |
I have tried to go through a few issues where the same error message was seen. In the past, this issue has been related to the ChromeDriver. Many old Chromium bugs reported by users have the same error message. Please file a bug report with them. |
Hi, @bwomsm1. 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. |
FWIW, I can reproduce this issue on Debian/Linux with Selenium 4.30 and Chrome/ChromeDriver 134. calling @bwomsm1 , Have you filed a bug on the Chromium tracker? This definitely seems to be a Chrome/Chromium bug. I am going to temporarily re-open this issue until we link it to a Chrome bug report. |
@cgoldberg I am facing the problem with Chrome, when running in ChromeOS (which is a Debian/Linux based) |
@bwomsm1 yes, I also reproduced it on Debian (in ChromeOS), though I suspect it happens on any Linux distro, if not every platform. Can you open a new issue in the Chromium tracker and link to it here? (The link to Chromium tracker is in a previous comment) |
Hi, @bwomsm1. 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. |
What happened?
I am running the following simple test script:
My script failed in line 7 when calling to
driver.minimize_window()
with the following error:How can we reproduce the issue?
Run the follwing script:
Against Linux ENV:
Relevant log output
Operating System
Linux Debian GNU/Linux 12 (bookworm)
Selenium version
Python Selenium 4.26.0
What are the browser(s) and version(s) where you see this issue?
Chrome
What are the browser driver(s) and version(s) where you see this issue?
132.0.6834.159
Are you using Selenium Grid?
NO
The text was updated successfully, but these errors were encountered: