Selenium Programming
Sunday, July 12, 2015
Frames
Frame:
Here we are trying to click the link, that is inside the frame.
driver.switchTo().frame("<name of the frame>");
driver.findElement(By.linkText(<"name of the text>")).click();
driver.findElementt(By.tagName("frame")).size() --- gives number of frames available
-
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment