擅长:python、mysql、java
<p>也许您可以使用<code>Time</code>(<a href="https://docs.python.org/2/library/time.html" rel="nofollow noreferrer">https://docs.python.org/2/library/time.html</a>)库:</p>
<pre><code>import time
atc = browser.find_element_by_name('commit')
atc.click()
time.sleep(5)
checkout = browser.find_element_by_link_text('checkout now')
checkout.click()
</code></pre>
<p>这将在步骤3和步骤4之间施加5毫秒的延迟。你知道吗</p>