Skip to content

waygraph / BrowserStartInit

Interface: BrowserStartInit ​

Defined in: src/live/auto-session/start.ts:13

What AutoSession.start needs: project, selection, headless mode and the session id.

Extends ​

Properties ​

baseURL? ​

optional baseURL?: string

Defined in: src/live/auto-session/helpers.ts:218

Inherited from ​

AutoSessionInit.baseURL


blocksSelect? ​

optional blocksSelect?: BlocksSelect

Defined in: src/live/auto-session/helpers.ts:220

Inherited from ​

AutoSessionInit.blocksSelect


headless? ​

optional headless?: boolean

Defined in: src/live/auto-session/helpers.ts:226

Default true. false launches a real visible browser window.

Inherited from ​

AutoSessionInit.headless


inject? ​

optional inject?: string[]

Defined in: src/live/auto-session/helpers.ts:222

Absolute paths — merged Block libraries (see waygraph browser --inject).

Inherited from ​

AutoSessionInit.inject


injectTokens? ​

optional injectTokens?: string[]

Defined in: src/live/auto-session/start.ts:15

Preset names or paths; resolved before spawn.


projectDir ​

projectDir: string

Defined in: src/live/auto-session/helpers.ts:217

Inherited from ​

AutoSessionInit.projectDir


sessionId? ​

optional sessionId?: string

Defined in: src/live/auto-session/helpers.ts:234

Shown on the on-page Pilot overlay badge, when known - purely cosmetic, this class has no other use for it. auto --cli --detach's spawned child (runAutoServeCommand) always knows and passes its own generated id; a directly-constructed AutoSession (e.g. in a test) simply omits it, and the badge shows "no session id" instead.

Inherited from ​

AutoSessionInit.sessionId


skipInitialNavigation? ​

optional skipInitialNavigation?: boolean

Defined in: src/live/auto-session/helpers.ts:224

When true, open about:blank instead of baseURL/startUrl (browser default).

Inherited from ​

AutoSessionInit.skipInitialNavigation


startUrl? ​

optional startUrl?: string

Defined in: src/live/auto-session/helpers.ts:219

Inherited from ​

AutoSessionInit.startUrl

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