title: C# and selenium: Get current URL and store in a string
body: <p>I Need to get the current URL. Split that URL and store it in a string.
  What I have tried is -</p>
  
  <pre><code>String urlSecondpart = this.getDriver().getCurrentUrl().Split("/a/")[1];
  </code></pre>
  
  <p>This opens a new url not the current URL</p>