Class ElementUtils


  • public final class ElementUtils
    extends Object
    Utility class for elements.
    • Method Detail

      • noSuchElementException

        public static org.openqa.selenium.NoSuchElementException noSuchElementException​(String messageContext)
        Builds a NoSuchElementException.
        Parameters:
        messageContext - message context.
        Returns:
        no such element exception
      • getWrappedElement

        public static org.openqa.selenium.WebElement getWrappedElement​(org.openqa.selenium.WebElement element)
        Returns the wrapped WebElement from the argument element.
        Parameters:
        element - the element to get the wrapped element of
        Returns:
        the wrapped webelement