Mobile Web & Touch Gestures
Real native iOS/Android app testing needs an actual app on a device or emulator (Appium, XCUITest, Espresso) — that can't run inside a webpage. What does transfer directly is mobile-web testing: gestures, touch targets, and responsive layout, all testable against a real DOM through Playwright's or Appium's mobile-web/touchscreen APIs. Everything below responds to real Pointer Events, so it works with an actual finger on a touchscreen and with a mouse drag on desktop.
1. Swipe
Swipe (or click-drag) the card left or right, past roughly a third of its width, to advance.
Card 1 of 4
2. Long-press
A normal tap doesn't trigger this — hold for about 600ms.
Not pressed.
3. Pinch-zoom
Two-finger pinch on a touchscreen scales the box directly. The buttons are a scriptable fallback for the same zoom state.
4. Pull-to-refresh
Scroll to the top of this list, then keep dragging down past it to refresh.
Last updated: —
5. Responsive viewport
Resize the window (or set your tool's viewport to 480px or narrower) — the nav below switches from a full list to a hamburger icon via a CSS media query, not JavaScript.