Class WebElementHelpers


  • public class WebElementHelpers
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.WebElement findWebElement​(org.openqa.selenium.WebDriver driver, TestObject testObject)  
      static java.util.List<org.openqa.selenium.WebElement> findWebElements​(org.openqa.selenium.WebDriver driver, TestObject testObject)  
      static org.openqa.selenium.By getBy​(java.lang.Object object)  
      static org.openqa.selenium.WebElement getWebElement​(org.openqa.selenium.WebDriver driver, java.lang.Object object)  
      static org.openqa.selenium.WebElement isRefreshed​(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)  
      static org.openqa.selenium.WebElement refreshWebElement​(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)  
      static void scrollIntoView​(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebElementHelpers

        public WebElementHelpers()
    • Method Detail

      • getBy

        public static org.openqa.selenium.By getBy​(java.lang.Object object)
      • findWebElement

        public static org.openqa.selenium.WebElement findWebElement​(org.openqa.selenium.WebDriver driver,
                                                                    TestObject testObject)
      • findWebElements

        public static java.util.List<org.openqa.selenium.WebElement> findWebElements​(org.openqa.selenium.WebDriver driver,
                                                                                     TestObject testObject)
      • scrollIntoView

        public static void scrollIntoView​(org.openqa.selenium.WebDriver driver,
                                          org.openqa.selenium.WebElement element)
      • getWebElement

        public static org.openqa.selenium.WebElement getWebElement​(org.openqa.selenium.WebDriver driver,
                                                                   java.lang.Object object)
      • isRefreshed

        public static org.openqa.selenium.WebElement isRefreshed​(org.openqa.selenium.WebDriver driver,
                                                                 org.openqa.selenium.WebElement element)
      • refreshWebElement

        public static org.openqa.selenium.WebElement refreshWebElement​(org.openqa.selenium.WebDriver driver,
                                                                       org.openqa.selenium.WebElement element)