Click or drag to resize

IWebPageWait Method

Pauses the test execution until the web page is downloaded. The page loading timeout is specified by the TestLeft.Options.WebTesting.PageLoadTimeout value (the default value is 1 minute).

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
string Wait()

Return Value

Type: String
The URL of the page or resource that was loaded last on the page. If the web page does not contain frames and the page was loaded successfully, the Wait method returns the page's URL. If the page contains frames, the method returns the URL of the page that was last loaded in a frame. If the loading was not successful or the page had not finished loading before the timeout elapsed, the method returns an empty string.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also