function findSidecarPlaywrightCore
findSidecarPlaywrightCore(execDir: string): string | null

The file URL of a playwright-core shipped in <execDir>/node_modules, or null where none is.

import { findSidecarPlaywrightCore } from './import-playwright-core.ts';

findSidecarPlaywrightCore('/tmp/no-sidecar-here'); // null

Parameters

execDir: string

Return Type

string | null

Usage

import { findSidecarPlaywrightCore } from "lib/utils/import-playwright-core.ts";