Selenium IDE - Set default speed to slow

巧了我就是萌 提交于 2019-12-03 11:42:38

Put this command in the beginning of your script:

Command: setSpeed
Target: 3000

The IDE has a slow speed and a fast speed. However, this is more precise so you can control the delay per command in milliseconds. This example will have it wait 3 seconds per command.

feklar

To expand on MacGyver's response, you can put the setSpeed anywhere in your tests, not just at the beginning. For example, you can use setSpeed = 0 when checking for static elements on a page, then change setSpeed to something greater to test things like text entry, etc.

Pauli

You can also use setspeed as variable, format is like this

store javascript{setspeed=250} SpeedFast
store javascript{setspeed=500} SpeedSlow

Then you can easily finetune speed by just changing in one place

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!