()
| 71 | * path. |
| 72 | */ |
| 73 | export function resolveChromeSource(): ChromeSource { |
| 74 | const raw = process.env.HYPERFRAMES_LAMBDA_CHROME_SOURCE?.toLowerCase(); |
| 75 | if (raw === "chrome-headless-shell" || raw === "shell") return "chrome-headless-shell"; |
| 76 | return "sparticuz"; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Resolve the absolute path to a Chrome binary suitable for BeginFrame. |
no outgoing calls
no test coverage detected