puppeteer/website/versioned_docs/version-22.0.0/api/puppeteer.mouse.down.md

26 lines
612 B
Markdown
Raw Normal View History

---
sidebar_label: Mouse.down
---
# Mouse.down() method
Presses the mouse.
#### Signature:
```typescript
class Mouse {
abstract down(options?: Readonly<MouseOptions>): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ----------------------------------------------------------- | ------------------------------------------- |
| options | Readonly&lt;[MouseOptions](./puppeteer.mouseoptions.md)&gt; | _(Optional)_ Options to configure behavior. |
**Returns:**
Promise&lt;void&gt;