Requirements
Before you install visor, make sure you have:- Node.js
20or later npm
- a bootable Appium environment for the selected device platform
- a booted Android emulator or device, or an iOS simulator or device
- the app identifier for the app you want visor to launch or attach to
Install visor
Confirm the CLI is available
visor CLI entry point and the runtime dependencies published with the visor-ai package.Run your first command
Create a minimal scenario file namedcheckout-smoke.json:
visor with node dist/main.js.
Expected result:
- the top-level
statusisok data.validistruedata.issuesis an empty list
output.report field in the example is accepted by the schema, but the current report writer always emits the standard report set regardless of that list.
Run the local development E2E harness
From a source checkout, you can run a deterministic scenario without a mobile device:visor run scenarios/local-fake-smoke.json --runtime local under the hood. It writes normal run reports and checks that expected report files, screenshots, and UI source artifacts exist.
Run your first scenario
Once validation passes, start the runtime daemon:artifacts-test/<run-id>/ with files such as:
summary.txtsummary.jsonjunit.xmltimeline.logreport.html- copied artifacts under
screenshots/andsources/
Choose a target
When you need a specific app or device, add runtime inputs:--device, visor detects running Android devices and booted iOS simulators. When more than one target is available, visor prompts you to choose one.
Runtime commands require the Visor daemon started by visor start. Use visor status to inspect the daemon and Appium state, and visor stop when you are done.
Next steps
Platforms and runtime
Review runtime defaults, daemon lifecycle behavior, and environment variables.
Scenarios
Learn how scenario files are structured and how visor validates them.
Artifacts and reports
See exactly which files visor writes after each run.
Command reference
Inspect every command, flag, and response field.