Order: an explicit environment variable, a Playwright install, the usual
install locations, then PATH.
searchPaths replaces that third step. It exists because the usual
locations are absolute paths on the host, so no value of env can describe
a machine without a browser — which is exactly what the failure path has to
be tested against.
Locate a browser able to print to PDF.
Order: an explicit environment variable, a Playwright install, the usual install locations, then
PATH.searchPathsreplaces that third step. It exists because the usual locations are absolute paths on the host, so no value ofenvcan describe a machine without a browser — which is exactly what the failure path has to be tested against.