Recording Journeys
Use the tracer Chrome extension to record user interactions and create journeys automatically.
Recording Journeys
The tracer Chrome extension lets you record browser interactions and automatically convert them into journey definitions. No coding required.
Installing the Extension
Get the Extension
Install the tracer Recorder extension from the Chrome Web Store:
Connect Your Account
- Click the extension icon in Chrome
- Click Sign In
- Enter your tracer credentials or use SSO
Grant Permissions
The extension needs permission to:
- Access page content (to record interactions)
- Capture screenshots (for visual reference)
- Send data to tracer (to save journeys)
Recording Your First Journey
Start Recording
- Navigate to the page where you want to start
- Click the tracer extension icon
- Click Start Recording
The extension icon will turn red to indicate recording is active.
Perform Actions
Interact with the page normally:
- Click buttons and links
- Fill in forms
- Select options
- Scroll the page
Each action is captured and displayed in the extension panel.
Add Assertions
To verify something on the page:
- Right-click on an element
- Select tracer > Assert visible
Or click Add Assertion in the extension panel and select the element.
Stop and Save
- Click Stop Recording
- Review the captured steps
- Give your journey a name
- Click Save to tracer
Captured Actions
The extension records these interactions:
| Action | What's Captured |
|---|---|
| Click | Element selector, position |
| Type | Input selector, entered text |
| Select | Dropdown selector, selected value |
| Check/Uncheck | Checkbox selector, state |
| Navigate | URL changes |
| Scroll | Scroll position (optional) |
Editing Recorded Steps
After recording, you can edit steps before saving:
Modify Selectors
Click on a step to edit its selector:
# Original (auto-generated)
Selector: #root > div > form > button:nth-child(3)
# Improved (manual edit)
Selector: [data-testid="submit-button"]Add Wait Steps
Insert waits between actions:
- Click between two steps
- Click Add Step
- Select Wait
- Configure wait type (time, selector, network)
Remove Steps
Delete unnecessary steps (like accidental clicks):
- Hover over the step
- Click the trash icon
Reorder Steps
Drag and drop steps to reorder them.
Smart Selector Generation
The extension generates selectors using this priority:
- data-testid -
[data-testid="login-btn"] - id -
#login-button - name -
[name="email"] - role + text -
button:has-text("Submit") - CSS path -
.form .btn-primary
Add data-testid attributes to your application's key elements for the most reliable selectors.
Handling Sensitive Data
Password Fields
Password inputs are recorded as:
Type: fill
Selector: #password
Value: {{PASSWORD}}You'll be prompted to set the PASSWORD variable after saving.
Personal Data
The extension attempts to detect and mask:
- Email addresses
- Phone numbers
- Credit card numbers
- Social security numbers
These become variables you can set securely in tracer.
Always review recorded steps before saving. Remove or mask any sensitive data that wasn't automatically detected.
Recording Tips
1. Plan Your Flow
Before recording, outline the steps you want to capture. This helps avoid unnecessary actions.
2. Use Incognito Mode
Record in incognito to start with a clean session (no cookies, local storage).
3. Go Slowly
Pause briefly between actions to ensure each is captured distinctly.
4. Add Meaningful Assertions
Don't just record actions—verify outcomes:
- Assert success messages appear
- Verify navigation to expected pages
- Check that data is displayed correctly
5. Test the Recorded Journey
After saving, run the journey immediately to verify it works correctly.
Troubleshooting
Actions Not Captured
Problem: Some clicks or inputs aren't recorded.
Solutions:
- Ensure the extension has permission for the site
- Try clicking more deliberately (slower)
- Check if the element is inside an iframe (see below)
Iframes
Problem: Interactions inside iframes aren't captured.
Solution: The extension may need additional permissions for cross-origin iframes. Check the extension settings.
Dynamic Elements
Problem: Recorded selectors don't work on replay.
Solutions:
- Edit selectors to use more stable attributes
- Add
data-testidto your application - Use text-based selectors:
button:has-text("Submit")
Extension Conflicts
Problem: Recording interferes with page functionality.
Solution: Disable other extensions that might conflict (ad blockers, other automation tools).
Advanced Features
Recording Assertions
Right-click context menu options:
- Assert visible - Element is displayed
- Assert text - Element contains text
- Assert value - Input has value
- Assert URL - Current URL matches
Screenshot Annotations
Add screenshots with notes:
- Click Screenshot during recording
- Annotate the image (circles, arrows, text)
- Screenshot is saved with the journey for documentation
Network Condition Simulation
Test under different network conditions:
- Open extension settings
- Enable Network Throttling
- Select condition (3G, Slow 3G, Offline)
Syncing with tracer
Auto-Sync
Saved journeys automatically sync to your tracer account.
Offline Recording
Record journeys offline—they'll sync when you're back online.
Team Sharing
Recorded journeys can be shared with team members:
- Save the journey
- Go to tracer dashboard
- Move journey to shared project
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Alt+Shift+R | Start/stop recording |
Alt+Shift+A | Add assertion (then click element) |
Alt+Shift+S | Take screenshot |
Alt+Shift+P | Pause recording |
Extension Settings
Access settings via the extension popup:
- Auto-capture screenshots: Take screenshots at each step
- Capture network requests: Record API calls for debugging
- Smart wait insertion: Auto-add waits after navigations
- Selector strategy: Prefer certain selector types