Skip to main content

Interface: Probe

Defined in: index.ts:119

Probe interface for liveness checking

This abstracts away Playwright-specific APIs to allow different implementations. Plugins can optionally implement liveness checks without depending on Playwright types.

Methods

check()

check(selector, options?): Promise<ProbeResult>;

Defined in: index.ts:127

Check if a selector is alive (exists and optionally visible)

Parameters

selector

string

Selector to check

options?

ProbeOptions

Check options

Returns

Promise<ProbeResult>

Liveness check result