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

706 B

Home > puppeteer > Touchscreen

Touchscreen class

The Touchscreen class exposes touchscreen events.

Signature:

export declare class Touchscreen 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Touchscreen class.

Methods

Method Modifiers Description
tap(x, y) Dispatches a touchstart and touchend event.