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 do you add check points or verification points in selenium?
How to upload a file in selenium webdriver?
How to handle a dropdown in selenium webdriver? How to select a value from dropdown?
What is an explicit wait in selenium?
How to handle frame in webdriver?
Which is the only browser that supports selenium ide to be used?
Explain the line of code webdriver driver = new firefoxdriver()?
What are selenium tests normally named (as displayed at the top of each test when viewed from within a browser)?
What programming languages are you able to use in selenium rc?
Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.
What is same origin policy and how it can be handled?
What are junit annotations?