title: Selenium driver.Url vs. driver.Navigate().GoToUrl()
body: <p>Which is the preferred method to open a Url (and are there any differences behind the scenes between):</p>
  
  <pre><code>driver.Url = "http://example.com";
  </code></pre>
  
  <p>or</p>
  
  <pre><code>driver.Navigate().GoToUrl("http://example.com");
  </code></pre>
  
  <p>Also, if the driver is already pointing at the same page, will setting the Url a second time cause the page to refresh?</p>
  
  <p>i.e.</p>
  
  <pre><code>...
  driver.Url = "http://example.com";
  driver.Url = "http://example.com"; //does this reload the page?
  ...
  </code></pre>
  
  <p>FWIW I'm using the Chrome driver chromedriver.exe, but it doesn't appear to be a managed assembly (I tried opening it with ILSpy but no luck).</p>