Available actions
This page covers direct interaction actions. Screenshot and source behavior are documented in Evidence capture.
Tap
tap supports two mutually exclusive modes.
Target mode
Use target mode when you want Visor to find an element and click it. Required input:target
- plain text targets are treated as accessibility identifiers
- prefixed selectors such as
text=orxpath=are parsed into the correct driver selector - the first matching element is clicked
Coordinate mode
Use coordinate mode when no stable selector is available. Required inputs:xy
normalized
- if
normalizedis false or omitted,xandyare treated as screen coordinates - if
normalizedis true,xandyare interpreted as a fraction of screen width and height - Android coordinate taps use
mobile: clickGesture - iOS coordinate taps use
mobile: tap
- target mode cannot be combined with coordinates
- coordinate mode requires both
xandy
Navigate
navigate sends a destination value to the runtime.
Required input:
to
- the destination is passed to WebdriverIO through
url(to)
Act
act is a compact action family for common operations.
Supported operations today:
If
act receives any other operation name, it fails.
Scroll
scroll exposes page-style vertical scrolling as a direct action.
Required input:
directionwith valueupordown
percent
- if
percentis omitted, Visor defaults it to70 direction=downmoves forward down the pagedirection=upmoves back up the page- Android uses Appium
scrollGesture - iOS attempts the same gesture path and falls back to a touch swipe when needed
directionis requireddirectionmust beupordown- if present,
percentmust be between1and100
Wait
wait pauses execution for a fixed number of milliseconds.
Required input:
ms
msmust be presentmsmust be non-negative
Timeout handling inside runs
When an action is executed inside a scenario, each step records its duration. If a step duration exceeds the resolved timeout for the run:- the step is marked as failed
- the step gets an
ACTION_ERROR - the run continues to the remaining steps and then to assertions