Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Microsoft Playwright TraceV6

From Leeroopedia
Revision as of 11:38, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/Microsoft_Playwright_TraceV6.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Implementation Page

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

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment