Package org.ndviet.library
Class WebElementHelpers
- java.lang.Object
-
- org.ndviet.library.WebElementHelpers
-
public class WebElementHelpers extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WebElementHelpers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.WebElementfindWebElement(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.BygetBy(java.lang.Object object)static org.openqa.selenium.WebElementgetWebElement(org.openqa.selenium.WebDriver driver, java.lang.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)
-
-
-
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)
-
-