做用:设置每次操做之间的间隔。在默认状况下,每次操做之间的间隔是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