Skip to main content

Function: closeUiMatchBrowsers()

function closeUiMatchBrowsers(): Promise<void>;

Defined in: packages/uimatch-cli/src/commands/browsers.ts:11

Close the browsers kept alive by comparisons that opted into reuseBrowser.

A comparison run with the default reuseBrowser: false owns and closes its own browser, so callers only need this when they pass reuseBrowser: true. Because the pool is process-wide, this closes every pooled context: call it once, after all concurrent comparisons have settled.

Returns

Promise<void>