Package org.openqa.selenium.htmlunit
Class HtmlUnitTimeouts
- java.lang.Object
-
- org.openqa.selenium.htmlunit.HtmlUnitTimeouts
-
- All Implemented Interfaces:
org.openqa.selenium.WebDriver.Timeouts
public class HtmlUnitTimeouts extends Object implements org.openqa.selenium.WebDriver.Timeouts
Class for timeouts managing.- Author:
- Martin Bartoš, Ronald Brill
-
-
Constructor Summary
Constructors Constructor Description HtmlUnitTimeouts()
HtmlUnitTimeouts(WebClient webClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Duration
getImplicitWaitTimeout()
Duration
getPageLoadTimeout()
Duration
getScriptTimeout()
org.openqa.selenium.WebDriver.Timeouts
implicitlyWait(long time, TimeUnit unit)
Deprecated.org.openqa.selenium.WebDriver.Timeouts
implicitlyWait(Duration duration)
org.openqa.selenium.WebDriver.Timeouts
pageLoadTimeout(long time, TimeUnit unit)
Deprecated.org.openqa.selenium.WebDriver.Timeouts
pageLoadTimeout(Duration duration)
org.openqa.selenium.WebDriver.Timeouts
scriptTimeout(Duration duration)
org.openqa.selenium.WebDriver.Timeouts
setScriptTimeout(long time, TimeUnit unit)
Deprecated.
-
-
-
Constructor Detail
-
HtmlUnitTimeouts
public HtmlUnitTimeouts()
-
HtmlUnitTimeouts
public HtmlUnitTimeouts(WebClient webClient)
-
-
Method Detail
-
getImplicitWaitTimeout
public Duration getImplicitWaitTimeout()
- Specified by:
getImplicitWaitTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
implicitlyWait
@Deprecated public org.openqa.selenium.WebDriver.Timeouts implicitlyWait(long time, TimeUnit unit)
Deprecated.- Specified by:
implicitlyWait
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
implicitlyWait
public org.openqa.selenium.WebDriver.Timeouts implicitlyWait(Duration duration)
- Specified by:
implicitlyWait
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
scriptTimeout
public org.openqa.selenium.WebDriver.Timeouts scriptTimeout(Duration duration)
- Specified by:
scriptTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
setScriptTimeout
@Deprecated public org.openqa.selenium.WebDriver.Timeouts setScriptTimeout(long time, TimeUnit unit)
Deprecated.- Specified by:
setScriptTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
getScriptTimeout
public Duration getScriptTimeout()
- Specified by:
getScriptTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
pageLoadTimeout
@Deprecated public org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout(long time, TimeUnit unit)
Deprecated.- Specified by:
pageLoadTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
pageLoadTimeout
public org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout(Duration duration)
- Specified by:
pageLoadTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
getPageLoadTimeout
public Duration getPageLoadTimeout()
- Specified by:
getPageLoadTimeout
in interfaceorg.openqa.selenium.WebDriver.Timeouts
-
-