public class AbstractPageObject extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected static long | 
DEFAULT_TIMEOUT  | 
protected org.openqa.selenium.WebDriver | 
driver  | 
| Constructor and Description | 
|---|
AbstractPageObject(org.openqa.selenium.WebDriver driver)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
doWithoutImplicitWait(Callable<T> runnable)  | 
void | 
doWithoutImplicitWait(Runnable runnable)  | 
List<org.openqa.selenium.WebElement> | 
findAllBy(org.openqa.selenium.By by)  | 
List<org.openqa.selenium.WebElement> | 
findAllBy(org.openqa.selenium.By by,
         long timeout)  | 
org.openqa.selenium.WebElement | 
findBy(org.openqa.selenium.By by)  | 
org.openqa.selenium.WebElement | 
findBy(org.openqa.selenium.By by,
      long timeout)  | 
org.openqa.selenium.WebDriver | 
getDriver()  | 
JSWaiter | 
getJSWaiter()  | 
void | 
safeClick(org.openqa.selenium.By by)  | 
void | 
safeClick(org.openqa.selenium.By by,
         long timeout)  | 
void | 
safeSendKeys(org.openqa.selenium.By by,
            String keys)  | 
void | 
safeSendKeys(org.openqa.selenium.By by,
            String keys,
            long timeout)  | 
void | 
safeWait(Supplier<Boolean> condition)  | 
void | 
safeWait(Supplier<Boolean> condition,
        long timeout)  | 
protected org.openqa.selenium.WebDriver driver
protected static long DEFAULT_TIMEOUT
public AbstractPageObject(org.openqa.selenium.WebDriver driver)
public org.openqa.selenium.WebDriver getDriver()
public JSWaiter getJSWaiter()
public org.openqa.selenium.WebElement findBy(org.openqa.selenium.By by,
                                             long timeout)
public org.openqa.selenium.WebElement findBy(org.openqa.selenium.By by)
public List<org.openqa.selenium.WebElement> findAllBy(org.openqa.selenium.By by, long timeout)
public List<org.openqa.selenium.WebElement> findAllBy(org.openqa.selenium.By by)
public void safeClick(org.openqa.selenium.By by)
public void safeClick(org.openqa.selenium.By by,
                      long timeout)
public void safeSendKeys(org.openqa.selenium.By by,
                         String keys,
                         long timeout)
public void safeSendKeys(org.openqa.selenium.By by,
                         String keys)
public <T> T doWithoutImplicitWait(Callable<T> runnable)
public void doWithoutImplicitWait(Runnable runnable)
Copyright © 2020. All rights reserved.