mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
6657364364
* docs(new): migrate ElementHandle to TSDoc Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
594 B
594 B
Home > puppeteer > ElementHandle > tap
ElementHandle.tap() method
This method scrolls element into view if needed, and then uses Touchscreen.tap() to tap in the center of the element. If the element is detached from DOM, the method throws an error.
Signature:
tap(): Promise<void>;
Returns:
Promise<void>