How to select window using Target as win_ser_1 and win_ser_local

124 views
Skip to first unread message

RAVI SUKHASARE

unread,
Sep 26, 2018, 5:18:50 AM9/26/18
to Selenium Users
Hello,

I am working on selenium command selectWindow  and need java code which can select the appropriate window.

In my recorded side file, the command is selectWindow  and target is win_ser_1 .  
I found out the we can switch window commands to switch to new window

Example : driver.switchTo().window("windowName");

But in the side file, i have target as  win_ser_1. How to use this  win_ser_1 and switch between the windows?
Is there way to find out the window name using  win_ser_1?

Any help in this regard will be great.

Regards,
Ravi
Reply all
Reply to author
Forward
0 new messages