Overview
Dashcam provides automatic video recording and log aggregation for your tests. It captures screen recordings, application logs, and test execution details that can be reviewed later.Basic Usage
With Presets
Most presets automatically include Dashcam:Manual Setup
For more control, create a Dashcam instance directly:Constructor
Create a new Dashcam instance:Parameters
TestDriver client instance
Configuration options
Methods
auth()
Authenticate with Dashcam service:Override the API key set in constructor
Promise<void>
Example:
start()
Start recording:Promise<void>
Example:
stop()
Stop recording and retrieve replay URL:Promise<string|null> - Replay URL if available
Example:
addFileLog()
Track a log file in the recording:Path to the log file
Display name for the log in Dashcam
Promise<void>
Example:
addApplicationLog()
Track application-specific logs:Application name to track
Display name for the log
Promise<void>
Example:
addWebLog()
Track web request logs by URL pattern:URL pattern to match (e.g.,
"*example.com*")Display name for the log
Promise<void>
Example:
addLog()
Generic method to add any type of log:Log configuration
Promise<void>
Example:
isRecording()
Check if currently recording:Promise<boolean> - True if recording is active
Example:

