selenium-ide
selenium-ide copied to clipboard
Selenium fails if a browser window covers Selenium window
🐛 Bug Report
If Selenium is running a test and you change focus into a browser window (Firefox or Chrome) covering the Selenium window, the test fails.
If the browser window is located in another screen, the test does not fail.
To Reproduce
Steps to reproduce the behavior:
- Open a full screen Firefox/Chrome window
- Open Selenium in the same screen
- Open a project
- Run a test that usually does not fail.
- Change to the Firefox/Chrome window (using ctrl+tab, for instance)
- Wait some seconds (you do not need to use the browser)
- Change to the Selenium window
- Check that the test has failed in one of the steps.
Expected behavior
I would expect the test would continue to the end without failing.
Environment
OS: Windows 10 Selenium IDE Version: 4.0.1 alpha 97 Browser updated Firefox and Chrome
This is a great issue. It actually is the same reason parallel suites are having issues. Electron-chromedriver is kind of being obnoxious in this regard. It will incorrectly mark click actions as succeeded even if they haven't if the focused window changes mid playback 😬
@BartolomeSintes - v97 is going out tonight, and does a lot for stability of concurrent playbacks. If you get a chance, give this a shot and lemme know what you think!
*98 I mean
The problem is still present in alpha 98
@BartolomeSintes - Damn, I'm not sure what to do. Maybe I need to make the playback windows always on top when playback is occurring? I think Cypress might do this, maybe something similar is why.