Package org.fluentlenium.core.domain
Class ElementUtils
- java.lang.Object
-
- org.fluentlenium.core.domain.ElementUtils
-
public final class ElementUtils extends java.lang.Object
Utility class for elements.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.WebElement
getWrappedElement(org.openqa.selenium.WebElement element)
Returns the wrappedWebElement
from the argument element.static org.openqa.selenium.NoSuchElementException
noSuchElementException(java.lang.String messageContext)
Builds aNoSuchElementException
.
-
-
-
Method Detail
-
noSuchElementException
public static org.openqa.selenium.NoSuchElementException noSuchElementException(java.lang.String messageContext)
Builds aNoSuchElementException
.- Parameters:
messageContext
- message context.- Returns:
- no such element exception
-
getWrappedElement
public static org.openqa.selenium.WebElement getWrappedElement(org.openqa.selenium.WebElement element)
Returns the wrappedWebElement
from the argument element.- Parameters:
element
- the element to get the wrapped element of- Returns:
- the wrapped webelement
-
-