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

26 lines
573 B
Markdown
Raw Normal View History

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