Implementation:Microsoft Playwright TraceV6
Appearance
Overview
TraceV6 defines the type schema for version 6 of the Playwright trace file format, adding additional metadata and event type refinements.
Description
Version 6 of the trace format extends the schema with additional trace event types and metadata fields. The base types remain consistent with V4/V5 including Language, Point, Size, StackFrame, and the extended SerializedValue format.
Usage
Used by the trace viewer for parsing V6 format trace files.
Code Reference
Source Location
packages/playwright-core/src/utils/isomorphic/trace/versions/traceV6.ts (239 lines)
Key Types
type Language = 'javascript' | 'python' | 'java' | 'csharp' | 'jsonl';
type Point = { x: number; y: number };
type Size = { width: number; height: number };
type StackFrame = { file: string; line: number; column: number; function?: string };
Import
import type * as traceV6 from '../utils/isomorphic/trace/versions/traceV6';
I/O Contract
Data Format
- JSON-lines within ZIP archives
- Extended event types compared to V5
Related Pages
- Microsoft_Playwright_TraceV5 -- Previous version
- Microsoft_Playwright_TraceV7 -- Next version
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment