puppeteer/new-docs/puppeteer.mouse.click.md

27 lines
608 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Mouse](./puppeteer.mouse.md) &gt; [click](./puppeteer.mouse.click.md)
## Mouse.click() method
<b>Signature:</b>
```typescript
click(x: number, y: number, options?: MouseOptions & {
delay?: number;
}): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| x | number | |
| y | number | |
| options | MouseOptions &amp; { delay?: number; } | |
<b>Returns:</b>
Promise&lt;void&gt;