Mouse
Constructor Summary
Public Constructor | ||
public |
constructor(client: Chrome | CRIConnection | CDPSession | Object, keyboard: Keyboard) |
Member Summary
Private Members | ||
private |
_button: 'none' | 'left' | 'right' | 'middle' |
|
private |
_client: * |
|
private |
_keyboard: * |
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
async click(x: number, y: number, options: {delay?: number, button?: "left"|"right"|"middle", clickCount?: number}=) |
|
public |
async down(options: {button?: "left"|"right"|"middle", clickCount?: number}=) |
|
public |
|
|
public |
async up(options: {button?: "left"|"right"|"middle", clickCount?: number}=) |
Public Constructors
public constructor(client: Chrome | CRIConnection | CDPSession | Object, keyboard: Keyboard) source
Params:
Name | Type | Attribute | Description |
client | Chrome | CRIConnection | CDPSession | Object | ||
keyboard | Keyboard |
|
Private Members
private _button: 'none' | 'left' | 'right' | 'middle' source
private _client: * source
private _keyboard: * source
Public Methods
public async click(x: number, y: number, options: {delay?: number, button?: "left"|"right"|"middle", clickCount?: number}=) source
public async down(options: {button?: "left"|"right"|"middle", clickCount?: number}=) source
Params:
Name | Type | Attribute | Description |
options | {button?: "left"|"right"|"middle", clickCount?: number}= |
|
public async up(options: {button?: "left"|"right"|"middle", clickCount?: number}=) source
Params:
Name | Type | Attribute | Description |
options | {button?: "left"|"right"|"middle", clickCount?: number}= |
|