Class WebElementHelpers

java.lang.Object
org.ndviet.library.WebElementHelpers

public class WebElementHelpers extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openqa.selenium.WebElement
    findWebElement(org.openqa.selenium.WebDriver driver, TestObject testObject)
     
    static List<org.openqa.selenium.WebElement>
    findWebElements(org.openqa.selenium.WebDriver driver, TestObject testObject)
     
    static org.openqa.selenium.By
    getBy(Object object)
     
    static org.openqa.selenium.WebElement
    getWebElement(org.openqa.selenium.WebDriver driver, 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 Details

    • WebElementHelpers

      public WebElementHelpers()
  • Method Details

    • getBy

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

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

      public static 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, 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)