2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [click](./puppeteer.frame.click.md)
|
|
|
|
|
|
|
|
## Frame.click() method
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-06-23 11:55:42 +00:00
|
|
|
click(selector: string, options?: {
|
2020-06-04 14:56:45 +00:00
|
|
|
delay?: number;
|
2020-07-02 11:15:39 +00:00
|
|
|
button?: MouseButton;
|
2020-06-04 14:56:45 +00:00
|
|
|
clickCount?: number;
|
|
|
|
}): Promise<void>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| selector | string | |
|
2020-07-02 11:15:39 +00:00
|
|
|
| options | { delay?: number; button?: [MouseButton](./puppeteer.mousebutton.md)<!-- -->; clickCount?: number; } | |
|
2020-06-04 14:56:45 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<void>
|
|
|
|
|