title: How to Open new browser Window without closing previous window using selenium webdriver
body: <p>I'm using below code to open new browser window but it is opening link in the same tab :-( . I want to open new browser window with clearing all cookies without closing first one window.</p>
  
  <pre><code>    `      Actions act = new Actions(driver);
      act.keyDown(Keys.CONTROL).sendKeys("N").build().perform();
      driver.get("https://www.facebook.com");`
  </code></pre>
  
  <p>I tried this code too but it did't help me out :
              <code>Robot robot = new Robot();
              robot.keyPress(KeyEvent.VK_N);
              driver.get("https://www.facebook.com");</code></p>
  
  <p>Any help would be appericated !!</p>