Expand description
Touchscreen — touch input via the CDP Input.dispatchTouchEvent.
Mirrors Playwright’s page.touchscreen(). The first tap lazily enables
touch emulation once per page (best-effort, errors ignored) so synthetic
touch events reach the page’s JS event listeners.
Structs§
- Touchscreen
- Touch input device. Touch emulation is enabled once, lazily, on the first
Touchscreen::tap; the enabled flag is shared across all clones produced from the same page (mirroring Playwright’s persistentpage.touchscreen()).