selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Selenium IDE - Exceeded waiting time for new window to appear 2000ms (Firefox 79)

Open Javapraca opened this issue 4 years ago • 6 comments

🐛 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:

  1. New, expected window (actually browser's tab) is opened.
  2. 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)

Javapraca avatar Aug 02 '20 13:08 Javapraca

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 avatar Sep 21 '21 14:09 stevenbowler

@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.

stevep avatar Dec 22 '21 17:12 stevep

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/

Javapraca avatar Dec 23 '21 02:12 Javapraca

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.

Screen Shot 2021-12-23 at 8 14 54 AM Screen Shot 2021-12-23 at 8 14 39 AM

Hope this helps someone.

stevep avatar Dec 23 '21 15:12 stevep

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.

warren866 avatar Jan 17 '23 11:01 warren866

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.

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 image

digiajay avatar Apr 25 '24 09:04 digiajay