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

How many types of locators are there in selenium?

0 Answers  


What are the different type of locators?

2 Answers   Genpact,


How do you get all the values from Drop Down list?

6 Answers   HCL,


How can we move to nth child element using css selector?

0 Answers  


How can we find all the links on a web page?

0 Answers  






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

0 Answers  


What are core extension?

0 Answers  


How testing is better than junit?

0 Answers  


How can I read test data from excels?

0 Answers  


what are the Dynamic elements in web Application?

2 Answers   Eton, HCL,


How to handle keyboard and mouse actions using selenium?

0 Answers  


What is selenium? What are the different selenium components?

0 Answers  


Categories