How do you handle frames



How do you handle frames..

Answer / surya

driver.switchTo().frame() -> using this we can handle frames in selenium webdriver.
There were mainly three ways of switching between Iframes.
•By Frame Index
•By Frame ID or Name
•By Frame WebElement


for more details refer this link:
http://toolsqa.com/selenium-webdriver/interact-with-elements-inside-an-iframe/

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Selenium Interview Questions

What are the different type of locators?

2 Answers   Genpact,


List the different selenium tools.

1 Answers  


How can we fetch the page source in selenium?

0 Answers  


How to get the title of the page?

0 Answers  


What is the difference between find elements () and find element ()?

0 Answers  






What do you mean by selenese?

0 Answers  


How can we create object repository in selenium?

0 Answers  


Can captcha be automated?

0 Answers  


i am a 2013 BE and 2015 M.tech passed out.i have taken course in manual testing with selenium automation.i have confident that, i have required technical knowledge in manual as well as automation.now my problem is whether to go as fresher or keep 3 years of experiance.there are very few interviews to call 2013 b.tech and no calls for M.tech...!!is it make any problem, if i keep fake.please let me clear my doubt

0 Answers  


Mention what is desired capability? How is it useful in terms of selenium?

0 Answers  


What could be the cause of the selenium webdriver test to fail?

0 Answers  


How can we create an object repository in selenium?

0 Answers  


Categories