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

28 lines
713 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; [Frame](./puppeteer.frame.md) &gt; [click](./puppeteer.frame.click.md)
## Frame.click() method
<b>Signature:</b>
```typescript
click(selector: string, options: {
delay?: number;
button?: MouseButtonInput;
clickCount?: number;
}): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| selector | string | |
| options | { delay?: number; button?: [MouseButtonInput](./puppeteer.mousebuttoninput.md)<!-- -->; clickCount?: number; } | |
<b>Returns:</b>
Promise&lt;void&gt;