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

27 lines
681 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; [ElementHandle](./puppeteer.elementhandle.md) &gt; [click](./puppeteer.elementhandle.click.md)
## ElementHandle.click() method
<b>Signature:</b>
```typescript
click(options: {
delay?: number;
button?: 'left' | 'right' | 'middle';
clickCount?: number;
}): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | { delay?: number; button?: 'left' \| 'right' \| 'middle'; clickCount?: number; } | |
<b>Returns:</b>
Promise&lt;void&gt;