Overview
Once connected to Desktop, Qaptly Browser Pilot enables you to record user interactions, analyze web pages, and execute automated test sequences. This guide covers all major features and workflows.Recording User Behavior
Starting Recording
- Navigate to the website you want to test
- Open Side Panel → Monitor tab
- Locate the Behavior Tracking section
- Toggle the “Enable tracking” switch to ON
- Begin interacting with the webpage
What Gets Recorded
When tracking is enabled, the extension captures: Click Events:- Mouse clicks on any element
- Click coordinates (viewport-relative)
- Target element details (tag, ID, classes, attributes)
- Timestamp of each click
- Text input in form fields
- Element properties (placeholder, type, value)
- Input field identifiers
- Page scroll position changes
- Viewport dimensions
- Document dimensions
- Checkbox state changes
- Radio button selections
- Switch/toggle interactions
- Page URL changes
- Navigation type (link click, form submit, etc.)
- Cursor position tracking
- Movement patterns
Viewing Statistics
Real-time event counters display in the Behavior Tracking section:- Mouse Move: Number of movement events captured
- Click: Total clicks recorded
- Input: Text input events
- Scroll: Scroll actions
- Toggle: Checkbox/radio changes
Stopping Recording
Toggle the “Enable tracking” switch to OFF to stop capturing events. Note: Recorded data is automatically streamed to Desktop in batches (max 50 events per batch) and cannot be viewed directly in the extension.Page Analysis
Analyzing Page Elements
Page analysis identifies interactive elements and captures page structure:- Navigate to the target page
- Open Side Panel → Monitor tab
- Click “Analyze” button
- Wait for analysis to complete (usually 1-3 seconds)
- All interactive elements (buttons, links, inputs, forms)
- Element positions and dimensions
- Visibility and interactability status
- Page framework detection (React, Vue, Angular)
- Automatic page screenshot
- Element hierarchy and relationships
Marking Elements
After analysis, you can highlight elements on the page:- Click “Mark” button
- Analyzed elements will be highlighted with colored overlays
- Helps verify what the extension detected
Clearing Highlights
Click “Clear” button to remove all element highlights from the page.Screenshot Capture
Manual Screenshots
Capture the current page state anytime:- Open Side Panel → Monitor tab
- Click “Take Snapshot” button
- Screenshot is captured and sent to Desktop immediately
- Full visible viewport
- Includes device pixel ratio (retina displays)
- PNG format, base64 encoded
- Includes page title and URL metadata
Automatic Screenshots
Enable auto-screenshots during action execution:- Switch to Command tab
- Toggle “Auto Screenshot” checkbox
- Screenshots will be captured at each execution step
Action Execution
Understanding Action Execution
When Desktop sends a test sequence to execute:- Actions appear in Command tab’s Action List
- Each action shows:
- Action type (click, input, scroll, navigate, etc.)
- Target element information
- Parameters (coordinates, text values, etc.)
Starting Execution
- Open Side Panel → Command tab
- Review the action list
- Enable “Auto Screenshot” if you want step-by-step captures
- Click “Execute” button
- Watch the automation run
Visual Feedback During Execution
The extension provides visual indicators during execution: Page Border Indicator:- Orange border: Appears around the entire page during action execution
- Signals that automation is in progress
- Automatically disappears when execution completes
- Click: Orange ripple effect at click location
- Input: Blue ripple effect on input field
- Toggle: Purple ripple effect on checkbox/radio
- A position marker appears briefly at the action target location
- Helps visualize where actions are being performed
Stopping Execution
If you need to interrupt execution:- Click “Stop” button in Command tab
- Current action completes, then sequence stops
- Status returns to idle
Execution Status
The Action List shows status for each action:- Pending: Waiting to execute
- In Progress: Currently executing
- Completed: Successfully executed
- Failed: Execution error occurred
Interactive Selection
When Selection is Required
Desktop may request you to identify elements or areas:- Target element for a new action
- Verification area for test assertions
- Region of interest for analysis
Element Selection Mode
To select a specific UI element:- Hover over elements on the page
- Elements highlight as you hover
- Click to select an element
- Element details display in the panel
- Click “Confirm” to submit selection
- Or click “Select Parent” to choose the parent element
- Use “Select Parent” if the child element is too specific
- Element properties are shown for verification
- Selection has a timeout (countdown shown)
Area Selection Mode
To select a rectangular screen region:- Toggle Selection Mode switch to Area Selection
- Click and drag on the page to draw a rectangle
- Release to finalize the selection
- Click “Confirm” to submit
- Or click “Select Whole Page” to select the entire viewport
- Selecting regions with multiple elements
- Defining verification areas
- Capturing specific screen sections
Canceling Selection
- Click “Cancel” to discard current selection and return to previous state
- Click “Stop” to exit selection mode entirely
Execution Verification
AI Verification Process
After action execution, Desktop’s AI may verify the results:- Side Panel switches to Verification tab automatically
- Shows message: “Verifying Execution - Please do not close this tab”
- AI analyzes page state, screenshots, and execution logs
- Verification completes automatically
- Panel returns to Monitor tab
Data Streaming
Real-Time WebSocket Streaming
All captured data streams to Desktop via WebSocket: Behavior Events:- Batched in groups of up to 50 events
- Sent every 2 seconds or when batch is full
- Includes deduplication to prevent duplicates
- Sent immediately after analysis completes
- Includes element data and screenshot
- Simplified format for efficiency
- Sent as base64-encoded PNG
- Includes device pixel ratio
- Throttled to prevent overwhelming network
Connection Status Monitoring
Monitor connection health:- Connected: Green indicator, data flowing
- Disconnected: Red indicator, no data transmission
- Reconnecting: Automatic retry in progress
Monitor Levels (Advanced)
Desktop can configure monitoring detail level:
Level 1 (Minimal) includes:
- Element positions and IDs
- Interactivity flags (clickable, focusable, etc.)
- Form attributes (disabled, required, etc.)
- Excludes text content (visible in screenshots)
- Text content
- Placeholder text
- Input values
- Scroll events
- Mouse move events
- Full class lists
- Computed styles
- Framework information
Best Practices
During Recording
- Focus on One Workflow: Record a single test scenario at a time
- Clear Actions: Pause briefly between steps for clarity
- Avoid Distractions: Close unrelated tabs and notifications
- Verify State: Ensure page is in expected state before recording
- Natural Pace: Don’t rush; perform actions at normal speed
During Execution
- Don’t Interfere: Avoid clicking or typing during automation
- Stay on Tab: Keep the test tab active (don’t switch tabs)
- Stable Network: Ensure stable internet connection
- Watch for Errors: Monitor execution progress for failures
- Keep Desktop Connected: Don’t close Desktop application
For Reliability
- Stable Page State: Wait for pages to fully load before actions
- Unique Identifiers: Use pages with stable IDs and data-testid attributes
- Avoid Dynamic Content: Be cautious with frequently-changing content
- Test Environment: Use consistent test environment (same browser, viewport size)
Limitations
Restricted Pages
Extension cannot operate on:chrome://internal Chrome pagesedge://internal Edge pages- Chrome Web Store pages
- Browser settings and configuration pages
- PDF viewer pages (chrome-extension://)
Content Security Policy (CSP)
Some websites with strict CSP may limit functionality:- Certain script injections may be blocked
- Visual indicators may not display
- Fallback methods are used when possible
Complex Web Applications
Limitations with certain web technologies:- Shadow DOM: Limited access to shadow DOM internals
- iframes: Cross-origin iframes have restricted access
- Canvas/WebGL: Cannot inspect canvas-drawn content
- Third-party widgets: Limited control over embedded widgets
Performance Considerations
- Recording high-frequency mouse moves may impact performance
- Analyzing complex pages (1000+ elements) may take longer
- Continuous tracking increases memory usage over time
Keyboard Shortcuts
Currently, the extension does not support keyboard shortcuts. All actions must be performed via the Side Panel interface.Next Steps
- Learn about Troubleshooting common issues
- Explore Desktop Test Execution features
- Review Best Practices for Test Recording