You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,11 +115,10 @@ Toggles random mouse movements on or off.
115
115
Simulates a mouse click at the specified selector or element.
116
116
117
117
-**selector (optional):** CSS selector or ElementHandle to identify the target element.
118
-
-**options (optional):** Additional options for clicking.
118
+
-**options (optional):** Additional options for clicking.**Extends the `options` of the `move` function (below)**
119
119
-`hesitate (number):` Delay before initiating the click action in milliseconds. Default is `0`.
120
120
-`waitForClick (number):` Delay between mousedown and mouseup in milliseconds. Default is `0`.
121
121
-`moveDelay (number):` Delay after moving the mouse in milliseconds. Default is `2000`. If `randomizeMoveDelay=true`, delay is randomized from 0 to `moveDelay`.
122
-
-`randomizeMoveDelay (boolean):` Randomize delay between actions from `0` to `moveDelay`. Default is `true`.
@@ -134,6 +133,8 @@ Moves the mouse to the specified selector or element.
134
133
-`maxTries (number):` Maximum number of attempts to mouse-over the element. Default is `10`.
135
134
-`moveSpeed (number):` Speed of mouse movement. Default is random.
136
135
-`overshootThreshold (number):` Distance from current location to destination that triggers overshoot to occur. (Below this distance, no overshoot will occur). Default is `500`.
136
+
-`scrollBehavior (ScrollBehavior):` Scroll behavior when target element is outside the visible window. Default is `undefined` (browser default).
137
+
-`scrollWait (number):` Time to wait after scrolling (when scrolling occurs due to target element being outside the visible window). Default is `200`.
0 commit comments