title: Changing execution speed of tests?
body: <p><strong>Updating with more context:</strong> Selenium 1 had a command called "setSpeed." This allowed the execution of each command to be slowed down by X milliseconds. The team behind Selenium 2 (Webdriver) decided to deprecate this command and now there is no way to slow down the tests to run at speeds where it's easy to visually monitor the App during execution. I've read the developers' explanation as to why they deprecated it, as well as the suggested workarounds like using implicit_waits, but that doesn't solve the issue for me (or the other people complaining about the deprecation). That said, I was hoping to work around this by setting a global execution speed that would be applicable to either each method in unittest, or the entire suite of tests. </p>
  
  <p><strong>Original Question:</strong> I have different unit tests that I'd like to execute using different <em>delays</em> between commands. I know that I can keep copying and pasting <code>time.sleep</code> between the commands, but surely there is a way to just set a universal sleep that will be run before each command in the specified method?</p>
  
  <pre><code> def test_x_test(self):
       driver = self.driver
       time.sleep(2)
       print("running the First selenium command such as click button")
       time.sleep(2)    
       print("running another Selenium command such as click link ")
       time.sleep(2)    
       self.driver.quit()
  
   if __name__ == '__main__':
       unittest.main()
  </code></pre>