|
Post by ummayashri on May 29, 2018 12:51:45 GMT
An inline frame acronym as iframe is used to insert another document within the current HTML document or simply a web page into a web page by enabling nesting. Select iframe by id driver.switchTo().frame(“ID of the frame“); Locating iframe using tagName driver.switchTo().frame(driver.findElements(By.tagName(“iframe”).get(0)); Locating iframe using index frame(index) driver.switchTo().frame(0); frame(Name of Frame) driver.switchTo().frame(“name of the frame”); frame(WebElement element) Select Parent Window driver.switchTo().defaultContent(); Selenium Training In Bangalore | Best Selenium Training in Bangalore
|
|