Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 497 Bytes

puppeteer.touchscreen.tap.md

File metadata and controls

26 lines (18 loc) · 497 Bytes
sidebar_label
Touchscreen.tap

Touchscreen.tap() method

Dispatches a touchstart and touchend event.

Signature:

class Touchscreen {
  tap(x: number, y: number): Promise<void>;
}

Parameters

Parameter Type Description
x number Horizontal position of the tap.
y number Vertical position of the tap.

Returns:

Promise<void>