EventFiringWebDriverUrl Property WebDriver
Gets or sets the URL the browser is currently displaying.

Namespace: OpenQA.Selenium.Support.Events
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0

public string Url { get; set; }

Property Value

Type: String



Setting the Url property 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. This will follow redirects issued either by the server or as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" for any duration of time, it is best to wait until this timeout is over, since should the underlying page change while your test is executing the results of future calls against this interface will be against the freshly loaded page.
See Also