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 is testng better than junit?
What is a relative xpath?
What is the difference between TESTNG and JUNIT? List out Annotations?
1 Answers HCL, Quovantis Technologies,
Tell us what kinds of test types are supported by selenium?
How to pass parameters using testng.xml?
What are the ways to refresh a browser using selenium webdriver?
How to deal with frame in webdriver?
What does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.
What difference do you make between soft vs. Hard to say in selenium?
What are the different Selenium components?
How to get a text of a web element?
Define selenium 2.x?