mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
28 lines
714 B
Markdown
28 lines
714 B
Markdown
<!-- 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
|
|
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<void>
|
|
|