Use these as patterns when mapping a user's request into a recording plan. They are examples, not scripts to copy verbatim.
Goal: show the value proposition and key call-to-action on a public site.
Recommended flow:
- Open the landing page directly.
- Narrate the hero section once.
- Scroll to the feature section with
scrollToElement. - Hover or narrate one key feature group.
- Click the primary CTA only if it does not start a sensitive or paid action.
- End on the signup/contact/pricing page or visible CTA state.
Use:
- Explore mode unless the codebase is available.
website_tourrecording type.live-site-map.jsonwith section scroll targets.- No login.
- Few tracked actions, usually 5-8.
Goal: record account creation without colliding with existing users.
Recommended flow:
- Read validation rules in Connected mode, or dry-run in Explore mode.
- Generate a timestamp-based email.
- Use a password that satisfies all known rules.
- Track each visible form moment: focus, type, submit, success.
- Wait for the exact success state, such as a heading or dashboard redirect.
Narration rule:
- Treat typed values as demo data. Say what the field is for, not the exact value.
Goal: record a feature that requires login.
Recommended flow:
- Check
.vorec/storageState.jsonbefore asking the user to log in. - If needed, open headed Chromium and save storage state after login.
- Ensure the recording script loads
.vorec/storageState.json. - Start the final recording on the feature page, not the login page.
- End on a healthy success state with no validation or permission errors.
Use:
task_tutorialrecording type.live-site-map.jsonwith required fields, valid demo values, and success state.rules/auth.mdfor session capture.- The storage-state field in the generated
vorec.jsonmanifest.
Goal: show how to select a product and add it to cart without completing payment.
Recommended flow:
- Start from the product page.
- Dismiss cookie banners early.
- Select required product options.
- Click Add to cart.
- Wait for cart drawer, toast, or cart count update.
- Stop before checkout unless the user explicitly requested checkout and no payment is made.
Sensitive action rule:
- Do not submit payment, purchase, transfer, or irreversible actions without explicit user approval.
Goal: record a local app feature using source-code knowledge.
Recommended flow:
- Read
package.jsonfor scripts and port. - Read routes and feature components for selectors and success states.
- Read form validators and API handlers for valid data.
- Start the dev server if needed.
- Record against the local URL with deterministic selectors.
Use:
data-testid, accessible names, labels, and placeholders from source.- Exact success-state locators from the component tree.