Press browser mouse button
Description
Holds down the mouse button at either the targeted position or current position if the targeted position are not provided.
Input Ports
Name | dataType | sourceType | required | description |
---|---|---|---|---|
Mouse button | text | manual-only | true | The mouse key that will be pressed, choices are left and right. Remember to release the mouse button after this command is executed. |
Mouse Position | position | link-manual | false | Allows you to specify the coordinates to where the mouse should be moved to. |
Offset | position | link-manual | false | The offset allows you to add x and y values to the current mouse position. |
Scenarios
- The user wants to hold down the left button of the browsers mouse at the current position.
- The user wants to hold down the left button of the browsers mouse at targeted coordinates.
- The user wants to hold down the right button of the browsers mouse at the current position.
- The user wants to hold down the right button of the browsers mouse at targeted coordinates.
Use case
It is required to make use of the Launch web browser command when using this command.
Inputs
- Button:
Left
- X:
300
- Y:
240
- Offset X:
20
- Offset Y:
30
Experienced tips
- If the
Button
is not chosen, the default will be theleft
mouse button. - If no target coordinates are specified, the mouse button will be pressed at position
0,0
. - If the macro finishes before the web page have finished loaded, make use of Wait for Web Element command
Search Tags
press in browser
on targeted coordinates
hold down