com.atlassian.webdriver.waiter.webdriver
Class AtlassianWebDriverWait
java.lang.Object
org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver>
com.atlassian.webdriver.waiter.webdriver.AtlassianWebDriverWait
- All Implemented Interfaces:
- org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver>
@ExperimentalApi
public class AtlassianWebDriverWait
- extends org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver>
A specialization of FluentWait that uses WebDriver instances
and uses milliseconds for the time interval instead of seconds.
- Since:
- 2.1.0
- See Also:
WARNING: This API is still experimental and may be changed between versions.
| Fields inherited from class org.openqa.selenium.support.ui.FluentWait |
FIVE_HUNDRED_MILLIS |
|
Constructor Summary |
|
AtlassianWebDriverWait(org.openqa.selenium.WebDriver input,
org.openqa.selenium.support.ui.Clock clock,
org.openqa.selenium.support.ui.Sleeper sleeper)
|
protected |
AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.ui.Clock clock,
org.openqa.selenium.support.ui.Sleeper sleeper,
long timeOutInMilliSeconds,
long sleepTimeOut)
|
|
AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds)
|
|
AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds,
long sleepInMillis)
|
| Methods inherited from class org.openqa.selenium.support.ui.FluentWait |
ignoreAll, ignoring, ignoring, pollingEvery, timeoutException, until, until, withMessage, withTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtlassianWebDriverWait
public AtlassianWebDriverWait(org.openqa.selenium.WebDriver input,
org.openqa.selenium.support.ui.Clock clock,
org.openqa.selenium.support.ui.Sleeper sleeper)
AtlassianWebDriverWait
public AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds)
- Parameters:
driver - The WebDriver instance to pass to the expected conditionstimeOutInMilliSeconds - The timeout in seconds when an expectation is
called
AtlassianWebDriverWait
public AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds,
long sleepInMillis)
- Parameters:
driver - The WebDriver instance to pass to the expected conditionstimeOutInMilliSeconds - The timeout in seconds when an expectation is
calledsleepInMillis - The duration in milliseconds to sleep between polls.
AtlassianWebDriverWait
protected AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.ui.Clock clock,
org.openqa.selenium.support.ui.Sleeper sleeper,
long timeOutInMilliSeconds,
long sleepTimeOut)
- Parameters:
driver - The WebDriver instance to pass to the expected conditionsclock - The clock to use when measuring the timeoutsleeper - Object used to make the current thread go to sleep.timeOutInMilliSeconds - The timeout in seconds when an expectation issleepTimeOut - The timeout used whilst sleeping. Defaults to 500ms
called.
Copyright © 2014 Atlassian. All rights reserved.