puppeteer/website/versioned_docs/version-9.1.1/puppeteer.elementhandle.tap.md
2021-08-10 11:09:48 +01:00

577 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>