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 |
What are the locators available in selenium?
Explain dataproviders in testng ?
What is robot api?
What is selenium? What are different selenium components?
What happen if you mix both implicit wait and explicit wait in a selenium script?
How does click on button without using click method
Tell me how can you handle network latency using selenium?
What is a hub in selenium grid?
What could be the cause of selenium webdriver test to fail?
What is the super interface of webdriver?
What is the alternative to driver.get() method to open an url using selenium webdriver?
What are the features of testng and list some of the functionality in testng which makes it more effective?