@ExperimentalApi
public class AtlassianWebDriverWait
extends org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver>
FluentWait that uses WebDriver instances
and uses milliseconds for the time interval instead of seconds.WARNING: This API is still experimental and may be changed between versions.| Modifier | Constructor and Description |
|---|---|
|
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) |
public AtlassianWebDriverWait(org.openqa.selenium.WebDriver input,
org.openqa.selenium.support.ui.Clock clock,
org.openqa.selenium.support.ui.Sleeper sleeper)
public AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds)
driver - The WebDriver instance to pass to the expected conditionstimeOutInMilliSeconds - The timeout in seconds when an expectation is
calledpublic AtlassianWebDriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInMilliSeconds,
long sleepInMillis)
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.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)
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 © 2015 Atlassian. All rights reserved.