title: Python selenium get() method is not working
body: <pre class="lang-py prettyprint-override"><code>from selenium import webdriver
  import webbrowser
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.action_chains import ActionChains
  from time import sleep
  import smtplib
  import sys
  
  
  option = webdriver.ChromeOptions()
  option.add_argument(&quot;--start-maximized&quot;)
  chrome_path = &quot;C:\Program Files\Google\Chrome\Application\chrome.exe&quot;
  
  driver = webdriver.Chrome(chrome_path, options=option)
  
  driver.get('https://play.typeracer.com/')
  
  while True:
      try:
          driver.find_element_by_xpath(&quot;&quot;&quot;//*[@id=&quot;dUI&quot;]/table/tbody/tr[2]/td[2]/div/div[1]/div/table/tbody/tr[3]/td/table/tbody/tr/td[2]/table/tbody/tr[1]/td/a&quot;&quot;&quot;).click()
          break
      except:
          continue
  sleep(5)
  
  try:
      words = driver.find_element_by_xpath(&quot;&quot;&quot;//*[@id=&quot;gwt-uid-15&quot;]/table/tbody/tr[2]/td/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/div/span[1]&quot;&quot;&quot;).text
  except:
      print(&quot;&quot;)
  
  try:
      words += driver.find_element_by_xpath(&quot;&quot;&quot;//*[@id=&quot;gwt-uid-15&quot;]/table/tbody/tr[2]/td/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/div/span[2]&quot;&quot;&quot;).text + &quot; &quot;
  except:
      print(&quot;&quot;)
  
  try:
      words += driver.find_element_by_xpath(&quot;&quot;&quot;//*[@id=&quot;gwt-uid-15&quot;]/table/tbody/tr[2]/td/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/div/span[3]&quot;&quot;&quot;).text
  except:
      print(&quot;&quot;)
  
  
  print(words)
  
  
  inputField = driver.find_element_by_xpath(&quot;&quot;&quot;//*[@id=&quot;gwt-uid-15&quot;]/table/tbody/tr[2]/td/table/tbody/tr[2]/td/input&quot;&quot;&quot;)
  
  #Sleeps because the game can detect cheaters if the sleep is not used...Slows down the WPM slightly
  for character in words:
      inputField.send_keys(character)
      sleep(0.1)
  </code></pre>
  <p>I cannot get the driver.get() to work. I know the chrome path is correct since it does open a new chrome window and it does not open a webpage. Can you fix my code without changing the option's variable. I just put the error up right now by doing a traceback call.</p>
  <p>Error is:</p>
  <pre><code>  File &quot;C:\Users\vidit\Documents\CODE\typeracer.py&quot;, line 14, in &lt;module&gt;
      driver = webdriver.Chrome(chrome_path, options=option)
    File &quot;C:\Users\vidit\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py&quot;, line 73, in __init__
      self.service.start()
    File &quot;C:\Users\vidit\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py&quot;, line 98, in start
      self.assert_process_still_running()
    File &quot;C:\Users\vidit\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py&quot;, line 109, in assert_process_still_running
      raise WebDriverException(
  selenium.common.exceptions.WebDriverException: Message: Service C:\Program Files\Google\Chrome\Application\chrome.exe unexpectedly exited. Status code was: 0
  </code></pre>
  <p>My chrome instance did not close or anything just to clarify that. Chrome was still running it did not crash or close.</p>