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 ) > [ElementHandle ](./puppeteer.elementhandle.md ) > [click ](./puppeteer.elementhandle.click.md )
## ElementHandle.click() method
2020-06-22 15:21:57 +00:00
This method scrolls element into view if needed, and then uses [Page.mouse ](./puppeteer.page.mouse.md ) to click in the center of the element. If the element is detached from DOM, the method throws an error.
2020-06-04 14:56:45 +00:00
< b > Signature:< / b >
```typescript
2020-06-23 11:55:42 +00:00
click(options?: ClickOptions): Promise< void > ;
2020-06-04 14:56:45 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2020-06-22 15:21:57 +00:00
| options | [ClickOptions ](./puppeteer.clickoptions.md ) | |
2020-06-04 14:56:45 +00:00
< b > Returns:< / b >
Promise< void>