setMouseSpeedAndWait (UI Automation - Manipulation)
Compatible with:
- Purpose
- Generated from setMouseSpeed(pixels)
- Setting this value to 0 means that we'll send a \"mousemove\" event to every single pixel in between the start location and the end location; that can be very slow and may cause some browsers to force the JavaScript to timeout. If the mouse speed is greater than the distance between the two dragged objects, we'll just send one \"mousemove\" at the start location and then one final one at the end location.
- Syntax
- setMouseSpeedAndWait(pixels)
- Target
- pixels - The number of pixels between \"mousemove\" events.
- Value
- N/A
- Return Value
- Configure the number of pixels between \"mousemove\" events during dragAndDrop commands (default=10).