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
Which files can be used as data source for different frameworks?
What is selenium webdriver or google webdriver or selenium 2.0?
Tell me how can we maximize browser window in selenium?
what is your approach clicking all the links which are available on the page?
Give an example of the languages supported by webdriver?
What is the automation test?
How is assert command different from verify command?
How to handle browser (chrome) notifications in selenium?
How to take screenshots in selenium webdriver?
Mention what are the capabilities of selenium webdriver or selenium 2.0?
What is the difference between driver.close() and driver.quit command?
How can one get side to always record an absolute url for the open command's argument?
Which web driver implementation is the fastest?
What is a keyword driven framework?
Which are the browsers supported by selenium ide?