Skip to main content

Interface: Probe

Defined in: packages/uimatch-selector-spi/src/index.ts:106

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: packages/uimatch-selector-spi/src/index.ts:114

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