RE: How to switch between multiple frames?

How to switch between Multiple Frames on a window??
If i want to switch from 9th frame  to the 7th frame?
or
From  default(Main)frame to 9th or 7th frame?
Please suggest??

Thank you!!

roshan3506 Train Asked on September 20, 2014 in Selenium WebDriver.
Add Comment
1 Answers

Hi Roshan,

Kindly post your code or just try below code in your script or go through the below links you may get some idea.

driver.switchTo().frame(“frameName”);

Links:

http://www.toolsqa.com/selenium-webdriver/switch-commands/

http://sqa.stackexchange.com/questions/8416/how-to-switch-handle-particular-popup-window-when-multiple-popup-are-opened-an

Vice Professor Answered on September 20, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.