protected static class SearchObject.FrameElement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) org.openqa.selenium.Point |
location |
(package private) SearchObject.FrameElement |
parentFrame |
(package private) org.openqa.selenium.Dimension |
size |
(package private) org.openqa.selenium.WebElement |
webElement
If you want to operate on this webelement, you MUST switch to its parent's frame
|
Constructor and Description |
---|
FrameElement(SearchObject.FrameElement parentFrame,
org.openqa.selenium.WebElement frame) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.Point |
getLocation() |
SearchObject.FrameElement |
getParentFrame() |
org.openqa.selenium.Dimension |
getSize() |
org.openqa.selenium.WebElement |
getWebElement() |
SearchObject.FrameElement parentFrame
org.openqa.selenium.WebElement webElement
WDLibrary.getWebDriver().switchTo().defaultContent();
WDLibrary.getWebDriver().switchTo().frame(parentFrame.getWebElement().getAttribute('id'));
org.openqa.selenium.Dimension size
org.openqa.selenium.Point location
FrameElement(SearchObject.FrameElement parentFrame, org.openqa.selenium.WebElement frame) throws SeleniumPlusException
SeleniumPlusException
public org.openqa.selenium.Dimension getSize()
public org.openqa.selenium.Point getLocation()
public SearchObject.FrameElement getParentFrame()
public org.openqa.selenium.WebElement getWebElement()
Copyright © SAS Institute. All Rights Reserved.