puppeteer/docs/api/puppeteer.mouse.down.md

49 lines
522 B
Markdown
Raw Permalink Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Mouse.down
---
# Mouse.down() method
2023-04-17 08:56:51 +00:00
Presses the mouse.
2022-07-05 13:41:43 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Mouse {
abstract down(options?: Readonly<MouseOptions>): Promise<void>;
2022-07-05 13:41:43 +00:00
}
```
## Parameters
<table><thead><tr><th>
2022-07-05 13:41:43 +00:00
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
Readonly&lt;[MouseOptions](./puppeteer.mouseoptions.md)&gt;
</td><td>
_(Optional)_ Options to configure behavior.
</td></tr>
</tbody></table>
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;void&gt;