Viki2016
Viki2016

Reputation: 55

Open a link in new tab using Selenium IDE

I have looked at many answers
Selenium IDE:Opening in new tab and shift focus to new tab not working
How to open link in new tab etc.... posted regarding this question but not even a single one is 100% relevant therefore, I am asking this again.
I need to open three different links:
google.com
yahoo.com
microsoft.com
in three different tabs but under same window and I am using selenium IDE, I know, it is easier using WebDriver but unfortunately I am using IDE. If I use Open it just opens the next link in the same tab and when I use OpenWindow or openWindowAndWait, it just opens the new window which I do not want.

Can someone please help..

Upvotes: 0

Views: 7875

Answers (1)

Jsmith2800
Jsmith2800

Reputation: 1113

There's no command within Selenium IDE which directly relates to Tabs, Selenium IDE is just not built to work with them. There's a post fro ma few years ago which references an answer from a selenium dev stating this (Selenium IDE for Firefox Ctrl-Tab)

The only way to potentially get it working would be to use send Keys to simulate Ctrl+T to open a new tab. There's a post here which gives details on it.

Upvotes: 1

Related Questions