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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -