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
How can we move to a particular frame in selenium?
Can we use selenium rc for tests driving on two different browsers on one operating system without selenium grid?
How to connect a database in selenium?
What is the difference between implicit wait and explicit wait?
How to mouse hover on a web element using webdriver?
How will you find an element using selenium?
How many exemptions do you know in selenium webdriver?
What is the difference b/w close () and quit ()?
What is automation testing?
Describe technical problems that you had with selenium tool?
Tell me what is a node in selenium grid?
Tell me how to verify tooltip text using selenium?
If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?
Mention why do you need session handling while working with selenium?
List some advantages of test automation?