title: Reload time & retries in selenium for a url
body: <p>I am working on selenium with python for downloading file from a url.  </p>
  
  <pre><code>from selenium import webdriver
  
  profile = webdriver.FirefoxProfile()
  profile.set_preference('browser.download.folderList', 2) # custom location
  profile.set_preference('browser.download.manager.showWhenStarting', False)
  profile.set_preference('browser.download.dir', '/tmp')
  profile.set_preference('browser.helperApps.neverAsk.saveToDisk', 'text/csv')
  browser = webdriver.Firefox(profile)
          try:
          browser.get("http://www.drugcite.com/?q=ACTIMMUNE")
          browser.find_element
  
          browser.find_element_by_id('exportpt').click()
          browser.find_element_by_id('exporthlgt').click()
      except:
          pass
  </code></pre>
  
  <p>I want to set timeout for this program. Means, If within 60 seconds if this url is not loaded due to net issue, it should retry after each 60 seconds and after 3 tries, it should go ahead.  </p>
  
  <p>How can I achieve such in this code?   </p>
  
  <p>Thanks</p>