How can we move to a particular frame in selenium?



How can we move to a particular frame in selenium?..

Answer / Nitin Pasan

To switch to a specific frame, you can use the `switchTo().frame()` method on the driver object and pass the frame index or frame's name or WebElement reference: `driver.switchTo().frame(<index|name|WebElementReference>);`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

Is selenium server needed to run selenium webdriver scripts?

1 Answers  


What happens if I run this command. Driver.get(“www.softwaretestingmaterial.com”) ;

1 Answers  


How to switch to a new window (new tab) which opens up after you click on a link?

1 Answers  


What is the difference between verify and assert commands?

1 Answers  


How to send alt/shift/control key in selenium webdriver?

1 Answers  


what are the Dynamic elements in web Application?

2 Answers   Eton, HCL,


Explain how you can debug the tests in selenium ide?

1 Answers  


How to scroll web page down or up using selenium webdriver?

1 Answers  


How to read a javascript variable in selenium webdriver?

1 Answers  


Tell me in which format does source view show the script in selenium ide?

1 Answers  


What is the difference between the commit and verify commands?

1 Answers  


How to insert a comment in selenium ide?

1 Answers  


Categories