Touchscreen
Playwright\Input\TouchscreenInterface
Sends touch input to a page. The interface currently exposes single-point tap gestures. Coordinates are relative to the page viewport.
Methods
tap()
voidDispatches a touchstart and touchend event with a single touch at the position (x,y).
function tap(float $x, float $y): void