Add `speed` option for actions
See original GitHub issueProposal
This affects to delay between action parts (for example between mousedown and mouseup in click
, or between each symbol typing in typeText
), to the cursor speed. This option you can use if you need to emulate human-behavior (it can be useful for cases when your scripts work properly only if you do actions no too fast).
Now we have the following options: Mouse Action Options, Click Action Options, Typing Action Options
.
I suppose it should be a new type of options:
Action Options: { speed: <number> }
Mouse, Click and Typing options extend it.
So, we add options
argument to Select Text
, Type Text
and Press Key
actions.
Multiply
If the test run speed options is set to some value1
and action option is set to the value2
- it will be multiplied and the action will be executing with speed value1 * value2
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:20 (12 by maintainers)
Top GitHub Comments
I don’t really like idea to multiply factors. May be just use speed factor specified for action, if we don’t have it - use factor specified for test controller.
Imho, there should be
action speed
option priority upontestController speed
option and they should be independent. Is possible a scenario where all actions are slow and one should be executed quickly ? :