Package io.fluentlenium.core.domain
Class ElementUtils
java.lang.Object
io.fluentlenium.core.domain.ElementUtils
Utility class for elements.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.WebElementgetWrappedElement(org.openqa.selenium.WebElement element) Returns the wrappedWebElementfrom the argument element.static org.openqa.selenium.NoSuchElementExceptionnoSuchElementException(String messageContext) Builds aNoSuchElementException.
-
Method Details
-
noSuchElementException
public static org.openqa.selenium.NoSuchElementException noSuchElementException(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 wrappedWebElementfrom the argument element.- Parameters:
element- the element to get the wrapped element of- Returns:
- the wrapped webelement
-