Class WebVisualElement
java.lang.Object
net.amygdalum.allotropy.fluent.elements.WebVisualElement
- All Implemented Interfaces:
AsVisualElement<WebVisualElement>,DisplayableElement,LayerableElement,StyleableElement,TextContainingElement,VisualElement,org.openqa.selenium.WrapsDriver,org.openqa.selenium.WrapsElement
public class WebVisualElement
extends Object
implements VisualElement, AsVisualElement<WebVisualElement>, TextContainingElement, StyleableElement, LayerableElement, DisplayableElement, org.openqa.selenium.WrapsElement, org.openqa.selenium.WrapsDriver
-
Constructor Summary
ConstructorsConstructorDescriptionWebVisualElement(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement element) WebVisualElement(org.openqa.selenium.WebElement element) -
Method Summary
Modifier and TypeMethodDescriptionbounds()findElement(org.openqa.selenium.By by) findElements(org.openqa.selenium.By by) org.openqa.selenium.WebDriverorg.openqa.selenium.WebElementbooleanlayer()parent()text()toString()
-
Constructor Details
-
WebVisualElement
public WebVisualElement(org.openqa.selenium.WebElement element) -
WebVisualElement
public WebVisualElement(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement element)
-
-
Method Details
-
bounds
- Specified by:
boundsin interfaceVisualElement
-
parent
- Specified by:
parentin interfaceVisualElement
-
asVisualElement
- Specified by:
asVisualElementin interfaceAsVisualElement<WebVisualElement>
-
findElements
-
findElement
-
text
- Specified by:
textin interfaceTextContainingElement
-
style
- Specified by:
stylein interfaceStyleableElement
-
layer
- Specified by:
layerin interfaceLayerableElement
-
isDisplayed
public boolean isDisplayed()- Specified by:
isDisplayedin interfaceDisplayableElement
-
getWrappedDriver
public org.openqa.selenium.WebDriver getWrappedDriver()- Specified by:
getWrappedDriverin interfaceorg.openqa.selenium.WrapsDriver
-
getWrappedElement
public org.openqa.selenium.WebElement getWrappedElement()- Specified by:
getWrappedElementin interfaceorg.openqa.selenium.WrapsElement
-
toString
-