title: How to open new tab in Chrome with Selenium-chromeDriver in Python
body: <p>Is there anybody who used <code>ChromeDriver</code> to open new tabs in Chrome?</p>
  
  <p>With this code I can open my <code>index.html</code> in Chrome:</p>
  
  <pre><code>driver = webdriver.Chrome("/usr/bin/chromedriver")
  driver.get("localhost:3000")
  </code></pre>
  
  <p>And then I want to open <code>localhost:3000/cloudPeer.html</code> in a new tab:</p>
  
  <pre><code>driver.find_element_by_tag_name("body").send_keys(Keys.CONTROL + 't')
  driver.get("localhost:3000/cloudPeer.html")
  </code></pre>
  
  <p>This works well in Firefox, <em>but in Chrome, it can't open a new tab, it just refresh the first page, and open the new page, the first page is now lost.</em>
  <br>
  I want to open these two pages at the same time and do some communication tests between them.</p>