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

26 lines
573 B
Markdown
Raw Normal View History

---
sidebar_label: Mouse.down
---
# Mouse.down() method
Dispatches a `mousedown` event.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class Mouse {
down(options?: MouseOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------- | ------------------------------------------------ |
| options | [MouseOptions](./puppeteer.mouseoptions.md) | _(Optional)_ Optional <code>MouseOptions</code>. |
**Returns:**
Promise&lt;void&gt;