title: Chromedriver.exe has stopped working - python
body: <p>I keep getting this error:
  <a href="https://sites.google.com/a/chromium.org/chromedriver/help/chromedriver-crashes" rel="nofollow">https://sites.google.com/a/chromium.org/chromedriver/help/chromedriver-crashes</a></p>
  
  <p>I get it when running the command:</p>
  
  <pre><code>python Web.py
  </code></pre>
  
  <p>However when I go into the file and run the lines 1 by 1, I don't get the error. However I always get the error when the Web.py file has finished. When I run the lines 1 by 1, it's very basic things but i feel like I"m not ending my script correctly.</p>
  
  <pre><code>import selenium
  from selenium.webdriver.common.keys import Keys
  import time
  from selenium import webdriver
  driver = webdriver.Chrome()
  driver.get('espn.com')
  </code></pre>
  
  <p>I want the window with espn.com to stay on the screen, not quit when the script has finished.</p>
  
  <p>I'm running this on Python. I can share my setup, maybe that's something I did incorreclty but any help would be appeciated.</p>