puppeteer/new-docs/puppeteer.mouse.md

38 lines
1.2 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [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) | | |