puppeteer/new-docs/puppeteer.mouse._constructor_.md

22 lines
596 B
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) &gt; [(constructor)](./puppeteer.mouse._constructor_.md)
## Mouse.(constructor)
Constructs a new instance of the `Mouse` class
<b>Signature:</b>
```typescript
constructor(client: CDPSession, keyboard: Keyboard);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| client | [CDPSession](./puppeteer.cdpsession.md) | |
| keyboard | [Keyboard](./puppeteer.keyboard.md) | |