Skip to content

waygraph / PageHandle

Type Alias: PageHandle<Name> ​

PageHandle<Name> = Pick<PageSelf<Checkpoint<Name>, Record<never, never>, undefined>, "method" | "checkpoint">

Defined in: src/engine/block/kinds/page.ts:94

What a Method kept in its own file takes: the page's name, so the file imports only this type (not the page, which imports the Method). export const signIn = (page: PageHandle<"Login">) => page.method({ async act(p) { ... } }).

Type Parameters ​

Name ​

Name extends string

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