Skip to content

waygraph / SessionRequest

Type Alias: SessionRequest ​

SessionRequest = { op: "hello"; } | { op: "subscribe"; } | { op: "status"; } | { data?: Record<string, unknown>; op: "send"; pick: string; } | object & InspectDomOptions | { op: "trace"; } | { op: "click"; selector: string; } | { op: "type"; selector: string; text: string; } | { key: string; op: "press"; selector: string; } | { op: "goto"; url: string; } | { op: "reload"; } | { checkpoint: string; data?: Record<string, unknown>; op: "reach"; } | { op: "resync"; } | { on: boolean; op: "coverage"; } | { key: string; op: "register"; page: string; selector: string; } | { op: "console"; } | { op: "storage"; } | { op: "read"; path?: string; rows?: { from: number; to?: number; }; where?: Record<string, string>; } | { op: "upload"; selector: string; stub: StubFileKind | { filePath: string; }; } | object & PilotHighlightFixtures

Defined in: src/live/auto-session/protocol.ts:12

Every request a session answers.

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed