Allow to declare block of code in which implicit WebDriver wait will be overridden with provided value and restored after it.
More...
Inherits IDisposable, and IWrapsDriver.
Public Member Functions
Create new override for a given browser with provided default value. Does not change implicit wait on it's own. In order to do so use
ImplicitWaitTimeout property.
More...
ImplicitWaitOverride (IWebDriver wrappedDriver, TimeSpan defaultImplicitWait, TimeSpan overridenImplicitWait)
Create new override for a given browser with provided default value. It actually updates implicit wait setting but it can also be changed later with
ImplicitWaitTimeout property.
More...
Reset implicit wait timeout to provided default value
More...
Properties
Overridden implicit wait timeout set on a browser
More...
Driver instance which timeout get updated
More...
Detailed Description
Allow to declare block of code in which implicit WebDriver wait will be overridden with provided value and restored after it.
Constructor & Destructor Documentation
◆ ImplicitWaitOverride() [1/2]
HtmlElements.ImplicitWaitOverride.ImplicitWaitOverride
(
IWebDriver
wrappedDriver,
TimeSpan
defaultImplicitWait
)
Create new override for a given browser with provided default value. Does not change implicit wait on it's own. In order to do so use ImplicitWaitTimeout property.
- Parameters
-
wrappedDriver Driver which implicit wait timeout should be overridden
defaultImplicitWait Default implicit wait timeout set when override is being disposed
◆ ImplicitWaitOverride() [2/2]
HtmlElements.ImplicitWaitOverride.ImplicitWaitOverride
(
IWebDriver
wrappedDriver,
TimeSpan
defaultImplicitWait,
TimeSpan
overridenImplicitWait
)
Create new override for a given browser with provided default value. It actually updates implicit wait setting but it can also be changed later with ImplicitWaitTimeout property.
- Parameters
-
wrappedDriver Driver which implicit wait timeout should be overridden
defaultImplicitWait Default implicit wait timeout set when override is being disposed
overridenImplicitWait Implicit wait timeout to be set for a given WebDriver instance
Member Function Documentation
◆ Dispose()
void HtmlElements.ImplicitWaitOverride.Dispose
(
)
Reset implicit wait timeout to provided default value
Property Documentation
◆ ImplicitWaitTimeout
TimeSpan HtmlElements.ImplicitWaitOverride.ImplicitWaitTimeout
getset
Overridden implicit wait timeout set on a browser
◆ WrappedDriver
IWebDriver HtmlElements.ImplicitWaitOverride.WrappedDriver
get
Driver instance which timeout get updated