Gets or sets the URL the browser is currently displaying.
Namespace: OpenQA.Selenium.Support.EventsAssembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
public string Url { get; set; }
public string Url { get; set; }
Public Property Url As String
Get
Set
Public Property Url As String
Get
Set
public:
virtual property String^ Url {
String^ get () sealed;
void set (String^ value) sealed;
}
public:
virtual property String^ Url {
String^ get () sealed;
void set (String^ value) sealed;
}
Implements
IWebDriver Url
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.