MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / getExecutablePath

Function getExecutablePath

tests/utils.ts:491–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

489}
490
491export async function getExecutablePath(): Promise<string> {
492 return (
493 process.env['PUPPETEER_EXECUTABLE_PATH'] ||
494 computeExecutablePath({
495 cacheDir:
496 process.env['PUPPETEER_CACHE_DIR'] ||
497 path.join(os.homedir(), '.cache', 'puppeteer'),
498 browser: BrowserEnum.CHROME,
499 buildId: PUPPETEER_REVISIONS.chrome,
500 })
501 );
502}
503
504export const CLI_PATH: string = path.resolve(
505 import.meta.dirname,

Callers 4

withClientFunction · 0.85
spawnServerFunction · 0.85
withBrowserFunction · 0.85
browser.test.tsFile · 0.85

Calls

no outgoing calls

Tested by 2

withClientFunction · 0.68
spawnServerFunction · 0.68