title: How to control browser in focus?
body: <p>I'm playing around with C# webdriver and trying to figure out how to control which browser is in focus. </p>
  
  <p>This is basicly what i want do</p>
  
  <pre><code>        driver = StartBrowser();
          driver1 = StartBrowser();
  </code></pre>
  
  <p>and then switch back to driver, but i can't get it working.</p>
  
  <p>I know it's prob really simple but i still can't get it working :). </p>
  
  <p>This is what i tried different versions of:</p>
  
  <pre><code>driver.SwitchTo().Window(driver.CurrentWindowHandle);
  </code></pre>