f
findSidecarPlaywrightCore(execDir: string): string | null
The file URL of a playwright-core shipped in <execDir>/node_modules, or null where none is.
f
importPlaywrightCore(): Promise<playwright-core>
playwright-core, from the running SEA's sidecar when it has one, else resolved as usual.
Usage
import * as mod from "lib/utils/import-playwright-core.ts";