-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
GeckoDriver fails to start FireFox-57.0.2 when Windows Screen is Locked #1100
Comments
What is the expected behavior when running with screen locked? AFAIK, this disables mouse and keyboard events and you won't get very far with your automation. |
I already a number of Selenium tests using the ChromeDriver while not logged in, and they all work fine. Currently though I can't automate any Firefox Selenium tests due to this issue. I'm assuming if it works in Chrome it should be fine in Firefox too? |
Historically Chrome & FF automation via Selenium was transparent to Screen status. |
I believe Gecko has a closer-to-reality input emulation which could explain why events are not sent when the screen is locked, for the same reasons @cgoldberg gave. I would suggest running with the screen unlocked for the moment. If you do care deeply about this issue I would suggest filing an issue against Firefox. |
Ok, since this is being closed as expected behaviour I'll remove Firefox from my automated tests. Thank you for letting me know. |
@ChrisSwan I fail to understand your reported issue. What exactly is not working? Does Firefox not start, or does geckodriver fail in some way? Please attach trace level logs for further details: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/TraceLogs.html |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Testcase
I have boiled this down to a C# app that simply starts up the FirefoxDriver, and I add it to a scheduled task. If my Windows machine is locked or (my main use case) I've switched to another user, then the Driver crashes on startup.
Through adding debug logs I can see that an exception is thrown, but error.message is empty.
This appears to be a reopening of Issue #972
The text was updated successfully, but these errors were encountered: