Answer Posted / 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 View All Answers
What are driver.close and driver.quit in WebDriver? Which is more preferable?
What are selenium 1 and selenium 2?
What is pom (page object model)?
Explain the difference between close and quit command?
Explain the meaning of the statement in Selenium and what are the types of assertion?
What are startpoints and breakpoints in selenium?
How you can convert any selenium ide tests from selenese to another language?
Describe technical problems that you had with selenium tool?
What do you know about selenium?
How can we check if an element is getting displayed on a web page?
What selenium components do you know?
How to enforce the title of the website?
What are some advantages of selenium grid?
What are the annotations available in testng?
What is the use of selenium grid?