An implementation of the IWaitT interface that may have its timeout and polling interval
configured on the fly.
Inheritance Hierarchy
OpenQA.Selenium.Support.UIDefaultWaitT
OpenQA.Selenium.Support.UIWebDriverWait
Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax
Type Parameters
- T
- The type of object on which the wait it to be applied.
The DefaultWaitT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DefaultWaitT(T) |
Initializes a new instance of the DefaultWaitT class.
|
![]() | DefaultWaitT(T, IClock) |
Initializes a new instance of the DefaultWaitT class.
|
Properties
Name | Description | |
---|---|---|
![]() | Message |
Gets or sets the message to be displayed when time expires.
|
![]() | PollingInterval |
Gets or sets how often the condition should be evaluated. The default timeout is 500 milliseconds.
|
![]() | Timeout |
Gets or sets how long to wait for the evaluated condition to be true. The default timeout is 500 milliseconds.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IgnoreExceptionTypes |
Configures this instance to ignore specific types of exceptions while waiting for a condition.
Any exceptions not whitelisted will be allowed to propagate, terminating the wait.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ThrowTimeoutException |
Throws a WebDriverTimeoutException with the given message.
|
![]() | ToString | (Inherited from Object.) |
![]() | UntilTResult |
Repeatedly applies this instance's input value to the given function until one of the following
occurs:
|
See Also