Set s=driver.getWindowHandles(); Object popup[]=s.toArray(); driver.switchTo().window(popup[1].toString());
No comments:
Post a Comment