Click or drag to resize
Ranorex

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
Syntax
public void Navigate(
	string url,
	bool waitForLoaded,
	Duration timeout
)

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
ExceptionCondition
ArgumentOutOfRangeExceptionIf the timeout is negative.
RanorexExceptionIf 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