public class WaitHelper extends GenericHelper
| Constructor and Description |
|---|
WaitHelper(org.openqa.selenium.WebDriver driver,
IconfigReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
elementExistAndVisible(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec) |
void |
elementExits(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec) |
org.openqa.selenium.WebElement |
handleStaleElement(org.openqa.selenium.By locator,
int retryCount,
int delayInSeconds) |
void |
hardWait(int timeOutInMiliSec) |
void |
setImplicitWait(long timeout,
TimeUnit unit) |
void |
waitForElementVisible(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec) |
void |
waitForIframe(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec) |
convertStringToXMLDocument, FileDownload_Handler, FileUpload_Handler, FileUpload_Handler, generateFilename, getBrowserName, getElement, getElementWithNull, IsElementPresentQuick, takeFullScreenShot, takeFullScreenShot, takeScreenShot_db, takeScreenShot_OLD, takeScreenShot, takeScreenShotpublic WaitHelper(org.openqa.selenium.WebDriver driver,
IconfigReader reader)
public void setImplicitWait(long timeout,
TimeUnit unit)
public void waitForElementVisible(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec)
public void hardWait(int timeOutInMiliSec)
throws InterruptedException
InterruptedExceptionpublic org.openqa.selenium.WebElement handleStaleElement(org.openqa.selenium.By locator,
int retryCount,
int delayInSeconds)
throws InterruptedException
InterruptedExceptionpublic void elementExits(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec)
public void elementExistAndVisible(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec)
public void waitForIframe(org.openqa.selenium.By locator,
int timeOutInSeconds,
int pollingEveryInMiliSec)
Copyright © 2021. All rights reserved.