Package org.ndviet.library
Class WebElementHelpers
java.lang.Object
org.ndviet.library.WebElementHelpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.WebElementfindWebElement(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.Bystatic org.openqa.selenium.WebElementgetWebElement(org.openqa.selenium.WebDriver driver, Object object) static org.openqa.selenium.WebElementisRefreshed(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element) static org.openqa.selenium.WebElementrefreshWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element) static voidscrollIntoView(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)
-
Constructor Details
-
WebElementHelpers
public WebElementHelpers()
-
-
Method Details
-
getBy
-
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)
-