Browse documentation

Core concepts

Outcome verification

Confirm that an action or workflow produced the intended state.

Action evidence

tsphone-use
const result = await device.tap("General");

console.log(result.success);
console.log(result.changed);
console.log(result.message);

An unchanged screen is evidence that the action may not have landed. The caller can retry, choose another target, or inspect an alert instead of continuing blindly.

Postconditions

jsonphone-use
[
  { "do": "tap", "label": "General" },
  { "do": "verify", "contains": "About" }
]