Skip to content

waygraph / PageApi

Interface: PageApi ​

Defined in: src/engine/read/page-api.ts:6

Properties ​

baseUrl ​

baseUrl: string

Defined in: src/engine/read/page-api.ts:8

Where the API is (http://localhost:3091).


headers? ​

optional headers?: (page) => Record<string, string> | Promise<Record<string, string>>

Defined in: src/engine/read/page-api.ts:10

What signs a request, from the page's own session (its stored token): headers, per request.

Parameters ​

page ​

Page

Returns ​

Record<string, string> | Promise<Record<string, string>>

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