mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
38 lines
1.2 KiB
Markdown
38 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Mouse](./puppeteer.mouse.md)
|
||
|
|
||
|
## Mouse class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare class Mouse
|
||
|
```
|
||
|
|
||
|
## Constructors
|
||
|
|
||
|
| Constructor | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [(constructor)(client, keyboard)](./puppeteer.mouse._constructor_.md) | | Constructs a new instance of the <code>Mouse</code> class |
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Modifiers | Type | Description |
|
||
|
| --- | --- | --- | --- |
|
||
|
| [\_button](./puppeteer.mouse._button.md) | | MouseButton | |
|
||
|
| [\_client](./puppeteer.mouse._client.md) | | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| [\_keyboard](./puppeteer.mouse._keyboard.md) | | [Keyboard](./puppeteer.keyboard.md) | |
|
||
|
| [\_x](./puppeteer.mouse._x.md) | | number | |
|
||
|
| [\_y](./puppeteer.mouse._y.md) | | number | |
|
||
|
|
||
|
## Methods
|
||
|
|
||
|
| Method | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [click(x, y, options)](./puppeteer.mouse.click.md) | | |
|
||
|
| [down(options)](./puppeteer.mouse.down.md) | | |
|
||
|
| [move(x, y, options)](./puppeteer.mouse.move.md) | | |
|
||
|
| [up(options)](./puppeteer.mouse.up.md) | | |
|
||
|
|