MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / resolveChromeSource

Function resolveChromeSource

packages/aws-lambda/src/chromium.ts:73–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 * path.
72 */
73export 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.

Callers 3

resolveChromeArgsFunction · 0.85
chromium.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected