title: How to make Selenium Chrome Driver to open on a new tab in a pre existing window
body: <p>Hello I am currently working on a selenium script that goes onto a shopping website that auto carts and checkouts an Item for you It has a captcha In it during the end and almost never pops up if you are logged into a google account.</p>
  
  <p>My program always opens up in a new chrome page and I always get the captcha. I just want to know if there is a way make the script open In a new tab on my pre-existing page (where I am signed into my google account)
  (also if anyone knows how to make a captcha harvester/bypass I would appreciate on how to fit it into my script).</p>
  
  <p>URL = <a href="https://etc" rel="nofollow noreferrer">https://etc</a>..</p>
  
  <p>here is some part of my scipt:</p>
  
  <pre><code>driver = webdriver.Chrome(executable_path='/Users/(username)/Desktop/chromedriver')
  driver.get(URL)
  </code></pre>
  
  <p>(also not as important I want to turn this script into a shareable application for computers where I can turn my <code>"raw_input"</code> into text boxes where people can simply type in the stuff and it would save and run the program.) ( I use stuff like <code>driver.find_element_by(blah).click</code> and <code>.send_keys</code></p>