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 |
How many types of locators are there in selenium?
What are the different type of locators?
How do you get all the values from Drop Down list?
How can we move to nth child element using css selector?
How can we find all the links on a web page?
How to send alt/shift/control key in selenium webdriver?
What are core extension?
How testing is better than junit?
How can I read test data from excels?
what are the Dynamic elements in web Application?
How to handle keyboard and mouse actions using selenium?
What is selenium? What are the different selenium components?