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
required
TestDriver client instance
object
Configuration options
Methods
auth()
Authenticate with Dashcam service:string
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:string
required
Path to the log file
string
required
Display name for the log in Dashcam
Promise<void>
Example:
addApplicationLog()
Track application-specific logs:string
required
Application name to track
string
required
Display name for the log
Promise<void>
Example:
addWebLog()
Track web request logs by URL pattern:string
required
URL pattern to match (e.g.,
"*example.com*")string
required
Display name for the log
Promise<void>
Example:
addLog()
Generic method to add any type of log:object
required
Log configuration
Promise<void>
Example:
isRecording()
Check if currently recording:Promise<boolean> - True if recording is active
Example:

