TraceAvatar
Menu

Docs

Introduction

What TraceAvatar is and which piece you need.

TraceAvatar plays a trace, a list of steps in plain JSON, over your real page. In Show me a cursor with a name badge points at each element and captions what to do, without touching the app. In Do it for me the same trace really clicks, types and submits.

The quickest start
<script src="https://cdn.jsdelivr.net/npm/trace-avatar/dist/trace.min.js"></script>
<script>
  TraceAvatar.createTrace({
    trace: {
      version: 1,
      avatar: { name: 'Sarah · Sales' },
      steps: [
        { type: 'click', target: { role: 'button', name: 'New invoice' }, say: 'Start from New invoice.' },
        { type: 'type',  target: { role: 'textbox', name: 'Customer' }, text: 'Ada Stores' },
        { type: 'click', target: { text: 'Send invoice' }, say: 'Send it — done.' },
      ],
    },
    controls: true,
    autoplay: true,
  });
</script>

Which piece do I need?

You want to…UseRead
Show a guide on one pagetrace-avatarInstall
Offer guides across the whole apptrace-avatar/auto (one script tag)Guides for your whole app
Let the guide do the tasktrace-avatar/performDo it for me
Make guides without JSONthe studio (mount’s record option)Recording
GIFs and MP4s for docs, in CItrace-avatar-renderGIF and video
Fix guides when the app changestrace-avatar/repair, --repairRepair

All docs