 | WebDocumentWaitForDocumentLoaded Method (Duration) |
Waits until the document is loaded or the timeout has expired.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void WaitForDocumentLoaded(
Duration timeout
)
Public Sub WaitForDocumentLoaded (
timeout As Duration
)
Parameters
- timeout
- Type: RanorexDuration
Specifies the maximum time to wait for the document to be loaded.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | If the timeout is negative. |
| RanorexException | If the specified timeout
expired before the document is loaded. |
See Also