Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 2.22 KB

File metadata and controls

25 lines (21 loc) · 2.22 KB

WebDriverExtensions.NavigateToUrl(OpenQA.Selenium.IWebDriver, string, System.TimeSpan) Method

Calling the NavigateToUrl(OpenQA.Selenium.IWebDriver, string, System.TimeSpan) method will load a new web page
in the current browser window. This is done using an HTTP GET operation, and the method
will block until the load is complete.

public static OpenQA.Selenium.IWebDriver NavigateToUrl(this OpenQA.Selenium.IWebDriver driver, string url, System.TimeSpan timeout);

Parameters

driver OpenQA.Selenium.IWebDriver
This OpenQA.Selenium.IWebDriver instance.

url System.String
The URL to load. It is best to use a fully qualified URL.

timeout System.TimeSpan

Returns

OpenQA.Selenium.IWebDriver
A self-reference to this OpenQA.Selenium.IWebDriver.