How to navigate back to current page from Frame in selenium webdriver -
how navigate main page iframe
?
example:
driver.switchto.frame(1); driver.switchto().defaultcontent();
is not working. can suggest other way retain control?
you directly switch window using:
driver.switchto().window(driver.windowhandles[0]);
Comments
Post a Comment