Skip to content

Commit 3a06667

Browse files
committed
(#373) Extend mouse provider interface with generich click and doubleClick methods
1 parent 7f924f1 commit 3a06667

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: lib/provider/mouse-provider.interface.ts

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ export interface MouseProviderInterface {
2626
*/
2727
currentMousePosition(): Promise<Point>;
2828

29+
/**
30+
* click should allow to perform a single click via OS event
31+
*
32+
* @param btn The {@link Button} to click
33+
*/
34+
click(btn: Button): Promise<void>;
35+
36+
/**
37+
* doubleClick should allow to perform a double click via OS event
38+
*
39+
* @param btn The {@link Button} to click
40+
*/
41+
doubleClick(btn: Button): Promise<void>;
42+
2943
/**
3044
* leftClick should allow to perform a left click via OS event
3145
*/

0 commit comments

Comments
 (0)