Want to ask how to differentiate between whether we are handling a window or tab in selenium.
If there is link on a page which opens a new window or a new tab. So, how can we validate whether it is a new tab or altogether a new window which got opened.
TIA
Instructor
Ashish Thakur Replied on 29/03/2020
Well this seems quite confusing.
You can refer this post where people are discussing. I think this can be done use Javascriptexecutor