TraceAvatar
Menu

Product · Repair

When the app changes, fix the guide in a click

When a step can't find its element, repair looks at the page as it is now and finds what the step means. In CI it writes the fix to a file; in your app, an author gets Fix this step right where the guide stopped.

See it on a real app

Recorded on DutyCaptain and SpeedyMessaging, HelloWorld Technologies products built with TraceAvatar, by TraceAvatar's own renderer.

Repair on DutyCaptain: a broken step, fixed by pointing at the right element.· with narration
Check all: every guide played on the live app, results kept.
--repair: the renamed button found, the fix verified, the next render green.

How it works

Open source, MIT licensed, zero dependencies. Install it from npm or a CDN.

Repair in CI
trace-avatar-render invoice.trace.json --url … --out invoice.gif \
  --repair --ai gateway
# fixes go to invoice.repair.json; a person picks which go in:
trace-avatar-render apply invoice.trace.json invoice.repair.json \
  --accept 1,2 --out invoice.trace.json
  1. 1

    Stall

    A step can't find its element and waits with “Looking for…”.
  2. 2

    List

    Repair lists what on the page the step could mean: role, name, text and what is near it.
  3. 3

    Choose

    Code scores the candidates first. An AI is asked only when no candidate is a clear winner.
  4. 4

    Verify

    The choice is re-recorded the way the recorder does it and checked with the player's own resolver, then played again.

What you get

  • Fix this step, in the app

    Authors who meet a stalled guide get a card: “Step 2 can't find button “Save invoice”. Fix this step · Stop”.
  • Point at it

    “Is it this?” shows the best guess with a ring. If not, the next click picks the element and never reaches the app.
  • A fix always works

    A pick the player couldn't find again on its own is refused (“can't be told apart”).
  • Carries on

    The guide goes on from that step with the fixed trace. Save the guide, or keep the fix for this session only.
  • Never reads values

    Hidden, ignored and blurred areas are never offered; a masked field is offered by its label, never what is in it.
  • Loaded only when needed

    The fix code (about 7 KB) loads only when an author meets a stalled step. Viewers see nothing new.

Questions

Does repair change my guides by itself?
No. Every fix is a suggestion a person accepts: in the app with Save the guide, in CI with the apply command.
Do I need an AI?
No. Code scores the candidates; an AI is only asked when the scores are unsure, and only if you give one.
How many broken steps can CI repair at once?
Up to 5 stalls in one run, each verified by playing the guide again. The render still exits 1 so the broken guide is noticed.

More of TraceAvatar

Free and open source

Everything on this page works today, on your machine and in your CI.