Selenium IDE classic (2.9.1) and Selenium IDE TNG (3.0+) handle windows differently. So, if you use the newer Selenium version available for Chrome, you'll need to edit your selectWindow commands manually.
Selenium IDE v3+ uses handlers to check which tabs it’s on.
In the classic version of Selenium, you select the windows with the page title or store the URL of the window.
Selenium Classic can’t select windows that itself didn’t open. So windows that a script opened itself, for example, can’t be found. While this is rare, that might explain why you can’t select those windows.
Step | Screenshot |
---|---|
| ![]() |
| ![]()
|
Step | Screenshot |
---|---|
| ![]() To use this stored data, all you need to do is write the command
|
Step | Screenshot |
---|---|
| ![]() |
In Step 5 in the above example, I’ve also stored the previous name to prove that it changes the title. | ![]() As you can see above from the output log, Step 8 echoes the variable “test,” and step 9 echoes the variable “test1”: |
|