做用:設置每次操做之間的間隔。在默認狀況下,每次操做之間的間隔是0,一個命令執行完成後,會當即執行下一個,有時候這樣會發生錯誤。html
參數:value-置操做間隔的時間數,單位爲毫秒。java
將setSpeed及windowMaximize寫在setUp方法裏,這個方法的做用是在運行前初始化一些設定。web
如何放慢Selenium的運行速度:http://www.51testing.com/html/14/n-1395514.htmlruby
http://wenku.baidu.com/link?url=N2XjyBZGxpjahJqYhbJJNL1s6xVbFu8HpiBafIik9Uh6tebB7QiBVqmU9D3CXuLF4A0xLKkCrW11MS6axYIkYJ1VJyuBaUxO15i_-ySU0resession
http://www.codeweblog.com/stag/selenium-setspeed-3000/ide
http://blog.csdn.net/xinwang/article/details/16842929this
http://wenku.baidu.com/link?url=LQrUpQWRIc4rphMbcffuvt9vSiUxpWiViLwO5Em7EMMIqobXffdWgk-kPb2Graswof5hFi0ji6xYij1uXHqs6HxiHuqpVr9cqk1Vbk7__YOurl
http://blog.sina.com.cn/s/blog_6870d1e00100tq2t.html.net
http://sariyalee.iteye.com/blog/1746758code
http://leowzy.iteye.com/blog/1490452
http://stackoverflow.com/questions/8583445/setspeed-in-selenium-webdriver-using-ruby
http://stackoverflow.com/questions/6694981/selenium-ide-command-to-wait-for-5-seconds
http://www.tothenew.com/blog/web-testing-using-selenium-fix-for-error-javalangnullpointerexception-sessionid-should-not-be-null-has-this-session-been-started-yet/
http://blog.sina.com.cn/s/blog_69d2c56c0100tca3.html
http://blog.csdn.net/gzh0222/article/details/7535542