We have a button on the website that should open a modal (only).
Selenium IDE is opening the modal AND additionally a new blank window.
This is the command I am using to click:
<td>clickAt</td>
<td>css=#tabControl .settings</td>
though when clicking manually on the same button (I mean manually in the browser), this doesn't happen, instead it opens just the modal. A similar issue happens when it should open a link in a new tab, it opens it in a new window instead. Also I see this error:
[warn] Link has target '_blank', which is not supported in Selenium! Randomizing target to be: selenium_blank19992
Two questions:
- Is there a way that it will not open the new window at all?
- if no, is it possible to close that new window? I managed to close windows with the "SelectWindow" and then "Close" commands, but the problem with this one is that it doesn't have any title, so I cannot select it and when I am just using "Close", it closes the wrong window..
Thanks
target="_blank": "Load the response into a new unnamed HTML4 window or HTML5 browsing context." - SiKing