Interaction
Steps for tapping, swiping, typing text, and scrolling elements.
tap
Tap the element once.
Parameters
Example
Tips
- iOS: All 4 orientations supported (Portrait, Portrait180, LandscapeA, LandscapeB). Auto-detected via
xcrun simctl spawnor forced withconfig.orientation. - Android: No orientation correction needed.
swipe
Swipe on the element.
Parameters
Example
typeText
Type text into the element (replaces existing content).
Parameters
Example
inputText
Type text into the currently focused field.
Parameters
Example
longPress
Long-press an element. Wraps tap + duration for readability.
Parameters
Example
doubleTap
Double-tap the element.
Parameters
Example
clearText
Clear all text from a TextInput.
Parameters
Example
scrollUntilVisible
Scroll until the element is visible (repeat up to limit).