title: How do I set a delay between two actions in Python?
body: <p>The program works like this:</p>
  <ol>
  <li>I find an element by name</li>
  <li>I click on the element, and it makes the element in 3 appear</li>
  <li>I find the other element by link text</li>
  <li>I click on it.</li>
  </ol>
  <p>The problem that I have is that 3 happens too quick and the program is unable to locate the element. I think I need to put a delay or something in 3 that activates 4 when the element is found. Also I'm using Selenium if that helps.</p>
  <p>I haven't been able to try anything because I have no idea of what I can do, because I'm very new to this.</p>
  <p>Here  is the code:</p>
  <pre><code>atc = browser.find_element_by_name('commit')
  atc.click()
  checkout = browser.find_element_by_link_text('checkout now')
  checkout.click()
  </code></pre>