selenium-ide
selenium-ide copied to clipboard
Selenium IDE - Exceeded waiting time for new window to appear 2000ms (Firefox 79)
🐛 Bug Report
With Firefox in version 79 new error emerged when link is opened in the new window/tab by "click" command (everything works fine in Firefox 78.x). Command "click" (with New Window Configuration Enabled) correctly opens a new window, but apparently cannot access it. That results in error: "Exceeded waiting time for new window to appear 2000ms".
To Reproduce
Example:
click on xpath={some xpath pointing to a link defined as <a href> tag}
//For this command New Window Configuration is Enabled.
Result:
- New, expected window (actually browser's tab) is opened.
- Program stops with the following error:
click on xpath={some xpath pointing to a link defined as <a href> tag} Failed:
Exceeded waiting time for new window to appear 2000ms
Environment
OS: Windows 7 Selenium IDE Version: 3.17.0 Browser Version: Firefox 79 (32-bit)
Getting this issue, just downloaded chrome extension yesterday, perhaps that will clarify what version etc I am using. Generating pdf report, click button, tries to open new window, get this error. The lack of comments here leads me to believe there is a simple solution to this issue elsewhere in Selenium, perhaps I am the last to know.
@stevenbowler Did you ever find a solution? I'm also having this issue in Chrome and Firefox. Neither the open
nor click
commands will open in a new window when New Window Configuration Enabled
is toggled.
One can bypass this problem by using Firefox 78.0.2 ESR - Selenium IDE works fine on this version. Firefox 78.0.2 ESR can be downloaded from here: https://ftp.mozilla.org/pub/firefox/releases/78.0.2esr/
My solution for trying to use the open
command to open in a new tab was to instead use the execute script
command, with window.open
. I was able to use the open in new window dialog to name the tab.


Hope this helps someone.
Reducing the Test Execution Speed worked for me. Sometimes some pages take a lot of time to open, that is why this error is arising.
My solution for trying to use the
open
command to open in a new tab was to instead use theexecute script
command, withwindow.open
. I was able to use the open in new window dialog to name the tab.Hope this helps someone.
This workaround looks like not working anymore. Rather open also keeps giving error Exceeded waiting time for new window to appear 2000ms.. Seems there is a new way of addressing extension URL as there are some garbage link in address field