title: New tab using Selenium Python
body: <p>I want Selenium to check if a window is open in Chrome browser or not, if yes, then open a new tab to the existing window Else, open a new window.</p>
  
  <p>Currently I am using:</p>
  
  <pre><code>from selenium import webdriver
  driver = webdriver.Chrome(chromedriver)
  driver.find_element_by_tag_name('body').send_keys(Keys.COMMAND + 't') 
  </code></pre>
  
  <p>But this does not open a new tab in an existing open window. Kindly help.</p>