Click or drag to resize

IWebPageToUrl Method (String, Int32)

Navigates to the specified URL.

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
IWebPage ToUrl(
	string url,
	int waitTime
)

Parameters

url
Type: SystemString
The URL to navigate to. It can be either an absolute or a relative URL.
waitTime
Type: SystemInt32
The time (in milliseconds) to wait until the browser loads the page.

Return Value

Type: IWebPage
The page object that represents the new web page.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also