 | WebDocumentNavigate Method (String, Boolean, Duration) |
Instructs the web browser associated with this web document to navigate
to the specified url.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void Navigate(
string url,
bool waitForLoaded,
Duration timeout
)
Public Sub Navigate (
url As String,
waitForLoaded As Boolean,
timeout As Duration
)
Parameters
- url
- Type: SystemString
The URL to navigate to. - waitForLoaded
- Type: SystemBoolean
Specifies whether this method should block until
the new document has been loaded. - 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
elapsed before the document is loaded. |
Remarks
The url may be absolute (http://www.host.com/path/to/webpage)
or relative (path/to/webpage) to the current URL of the web document.
See Also