How to write script for browser window switching ?
I have used switchTo method for this but the prob is that two url opened in the browsers i.e. brow1 and brow2
by using switchTo concept i m not able to focus in brow1 window still the focus is set to the current opened browser
ToolsQA Team is really appreciable. I am quite busy with developing the framework and will also participate in your ways.
It worked with driver.switchTo().defaultContent(); method. i have created a separate method for switching tabs.
but i m not sure whether this is reasonable for the framework or is there any alternative solution ?