traceStart · traceStop · trace
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Record a session as a trace: start, then every call on this device is a step — before and after, the point an action touched, a failure's error — and after each the screen, with the map's elements drawn over it; stop with a path saves a zip in Vibium's record format, which player.vibium.dev opens. These call app_trace.
traceStart
traceStart(options?: { name?: string; screenshots?: boolean; maps?: boolean }): Promise<Trace>
Start, stop or ask about a trace; stop with a path saves a zip in Vibium's record format.
traceStop
traceStop(path: string): Promise<Trace>
trace
trace(): Promise<Trace>
Examples
Start tracing the session
await device.traceStart({ name: 'sign in' })
Stop, and save the trace
const saved = await device.traceStop('sign-in.zip')
console.log(saved.calls, saved.path)