Skip to content

demoTap

demoTap(page, locator, delayMs?): Promise<void>

Defined in: video.ts:23

Tap an element with a visible touch ripple effect.

In video mode, shows an expanding ripple animation at the tap point and waits briefly after clicking for a natural feel. When not in video mode, performs an instant click with no delay.

Page

The Playwright page instance.

any

The element to tap.

number = 800

Post-tap delay in video mode (default: 800ms). Ignored outside video mode.

Promise<void>