title: Selenium webdriver with python- how to reload page if loading takes too long?
body: <pre><code>driver = webdriver.Firefox()               #opens firefox
  driver.get("https://www.google.com/")      #loads google
  </code></pre>
  
  <p>If it takes too long to load google, how do I make it close the browser and start the code from the beginning?</p>