Package net.thucydides.core.webdriver
Class TimeoutStack
java.lang.Object
net.thucydides.core.webdriver.TimeoutStack
public class TimeoutStack
extends java.lang.Object
Created by john on 12/03/15.
-
Constructor Summary
Constructors Constructor Description TimeoutStack()
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
containsTimeoutFor(org.openqa.selenium.WebDriver driver)
java.util.Optional<java.time.Duration>
currentTimeoutValueFor(org.openqa.selenium.WebDriver driver)
java.util.Optional<java.time.Duration>
popTimeoutFor(org.openqa.selenium.WebDriver driver)
void
pushTimeoutFor(org.openqa.selenium.WebDriver driver, java.time.Duration implicitTimeout)
void
releaseTimeoutFor(org.openqa.selenium.WebDriver driverInstance)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TimeoutStack
public TimeoutStack()
-
-
Method Details
-
pushTimeoutFor
public void pushTimeoutFor(org.openqa.selenium.WebDriver driver, java.time.Duration implicitTimeout) -
popTimeoutFor
public java.util.Optional<java.time.Duration> popTimeoutFor(org.openqa.selenium.WebDriver driver) -
containsTimeoutFor
public java.lang.Boolean containsTimeoutFor(org.openqa.selenium.WebDriver driver) -
currentTimeoutValueFor
public java.util.Optional<java.time.Duration> currentTimeoutValueFor(org.openqa.selenium.WebDriver driver) -
releaseTimeoutFor
public void releaseTimeoutFor(org.openqa.selenium.WebDriver driverInstance)
-