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

26 lines
603 B
Markdown
Raw Normal View History

---
sidebar_label: Mouse.down
---
# Mouse.down() method
Presses the mouse.
#### Signature:
```typescript
class Mouse {
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;