prelaunchPromise(): Promise<EarlyChrome | null>
The in-flight pre-launch, or a resolved null when startPrelaunch was never called
or decided not to spawn (non-run command, --search, a daemon-routed run, non-chromium, or
macOS — where the CI runner installs playwright's own headless shell and its path is not
known this early).
import { prelaunchPromise } from './prelaunch.ts'; await prelaunchPromise(); // null — nothing was pre-launched in this process
Promise<EarlyChrome | null>