You have a link on a page and you dont know about the behavior of the link Means link will open in new window new tab and itself then how can you automation this link | Selenium C# Forum
M
MAHESH LAXMANRAO KHOLE Posted on 01/03/2019

You have a link on a page and you don't know about the behavior of the link (Means link will open in new window, new tab and itself) then how can you automation this link


G
gunjan Replied on 02/03/2019

You will have to first of all check the functionality of the link. If the link opens in a new tab or a new window, then you will have to switch the control to the window first and then you can interact with the link. Or if it opens normally, then you can directly interact with that element.


M
MAHESH LAXMANRAO KHOLE Replied on 03/03/2019

Thanks Gunjan