Source symbols: packages/playwright-core/src/server/registry/index.ts
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: main@4cd8608744bf4d18c9f23578c3cf4a1cd1862b2d · 2026-07-20T11:02:36Z
- Declarations: 80
- Referenced calls: 84
Declared symbols
PACKAGE_PATH— const at line 44; referencesfor,URL,toStringBIN_PATH— const at line 45; referencesfor,URL,toStringPLAYWRIGHT_CDN_MIRRORS— const at line 47; referencesfor,URL,toStringcdn— const at line 55; referencesURL,toStringparsedCDN— const at line 57; referencesURL,toStringEXECUTABLE_PATHS— const at line 64DownloadPathFunction— type at line 131cftUrl— function at line 133DownloadPaths— type at line 144DOWNLOAD_PATHS— const at line 145; referencescftUrldefaultCacheDirectory— exported const at line 498; referencesjoin,homedir,ErrordefaultRegistryDirectory— exported const at line 508; referencesjoin,getFromENV,isAbsolute,resolve,cwdregistryDirectory— exported const at line 510; referencesgetFromENV,join,isAbsolute,resolve,cwdresult— let at line 511; referencesgetFromENV,join,isAbsolute,resolve,cwdenvDefined— const at line 513; referencesgetFromENV,join,isAbsolute,resolve,cwdisBrowserDirectory— function at line 532; referencesbasename,for,startsWith,replacebaseName— const at line 533; referencesbasename,for,startsWith,replaceBrowsersJSON— type at line 541BrowsersJSONDescriptor— type at line 553BrowserInfo— exported type at line 563readDescriptors— function at line 570; referencesjoin,replacename— const at line 572revisionOverride— const at line 573revision— const at line 574; referencesjoin,replacebrowserDirectoryPrefix— const at line 575; referencesjoin,replacedescriptor— const at line 576; referencesjoin,replaceBrowserName— exported type at line 595; referencesexecutablePathOrDie,executablePath,_validateHostRequirementsallDownloadableDirectoriesThatEverExisted— const at line 596; referencesexecutablePathOrDie,executablePath,_validateHostRequirementschromiumAliases— const at line 597; referencesexecutablePathOrDie,executablePath,_validateHostRequirementsExecutable— exported interface at line 599; referencesexecutablePathOrDie,executablePath,_validateHostRequirementsExecutableImpl— interface at line 614Registry— exported class at line 620; referencesconstructor,readDescriptors,join,Error,buildPlaywrightCLICommand,canAccessFile,readDockerVersionSync,dockerVersion,find,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutable,_createChromiumChannel,_installChromiumChannel,_installMSEdgeChannel,_createBidiFirefoxChanneldescriptors— const at line 624; referencesreadDescriptors,joinfindExecutablePath— const at line 625; referencesjointokens— const at line 626; referencesjoin,Error,buildPlaywrightCLICommand,canAccessFile,readDockerVersionSync,dockerVersionexecutablePathOrDie— const at line 629; referencesError,buildPlaywrightCLICommand,canAccessFile,readDockerVersionSync,dockerVersion,joininstallCommand— const at line 632; referencesbuildPlaywrightCLICommand,canAccessFile,readDockerVersionSync,dockerVersion,join,ErrorcurrentDockerVersion— const at line 634; referencesreadDockerVersionSync,dockerVersion,joinpreferredDockerVersion— const at line 635; referencesdockerVersion,joinisOutdatedDockerImage— const at line 636; referencesjoinisFfmpeg— const at line 637; referencesjoinprettyMessage— let at line 638; referencesjoinchromium— const at line 674; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumExecutable— const at line 675; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumHeadlessShell— const at line 693; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumHeadlessShellExecutable— const at line 694; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumTipOfTreeHeadlessShell— const at line 712; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumTipOfTreeHeadlessShellExecutable— const at line 713; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumTipOfTree— const at line 731; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablechromiumTipOfTreeExecutable— const at line 732; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablefirefox— const at line 834; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablefirefoxExecutable— const at line 835; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablefirefoxBeta— const at line 853; referencesfind,findExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablefirefoxBetaExecutable— const at line 854; referencesfindExecutablePath,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablewebkit— const at line 872; referencesfind,findExecutablePath,join,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablewebkitExecutable— const at line 873; referencesfindExecutablePath,join,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablewebkitLinuxLddDirectories— const at line 874; referencesjoin,push,executablePathOrDie,_validateHostRequirements,_downloadURLs,_downloadExecutablewslExecutable— const at line 900; referencesjoin,push,Error,resolve,async,spawnAsyncscript— const at line 920; referencesjoin,spawnAsyncffmpeg— const at line 932; referencesfind,findExecutablePath,push,executablePathOrDie,resolve,_downloadURLs,_downloadExecutableffmpegExecutable— const at line 933; referencesfindExecutablePath,push,executablePathOrDie,resolve,_downloadURLs,_downloadExecutablewinldd— const at line 949; referencesfind,findExecutablePath,push,executablePathOrDie,resolve,_downloadURLs,_downloadExecutablewinlddExecutable— const at line 950; referencesfindExecutablePath,push,executablePathOrDie,resolve,_downloadURLs,_downloadExecutableandroid— const at line 966; referencesfind,push,resolve,_downloadURLs,_downloadExecutableexecutablePath— const at line 985; referencesError,for,join,canAccessFilesuffix— const at line 986; referencesErrorprefixes— const at line 992; referencesfor,join,canAccessFileexecutablePath— const at line 1002; referencesjoin,canAccessFile,Error,resolvelocation— const at line 1009; referencesError,executablePath,resolveinstallation— const at line 1010; referencesError,executablePath,resolveexecutablePath— const at line 1027; referencesError,for,join,canAccessFilesuffix— const at line 1028; referencesErrorprefixes— const at line 1034; referencesfor,join,canAccessFileexecutablePath— const at line 1044; referencesjoin,canAccessFile,Errorexecutables— const at line 1091; references_dedupe,for,addtargets— const at line 1092; referencesfor,addexecutables— const at line 1105; references_dedupe,mkdirlockfilePath— const at line 1107; referencesjoin,lock,Error,mkdir,writeFile,calculateSha1,getAsBooleanFromENV,_validateInstallationCache,for,executablePath,getEmbedderName,buildPlaywrightCLICommand,write,wrapInASCIIBox,_install,releaseLocklinksDir— const at line 1108; referencesjoin,lock,Error,mkdir,writeFile,calculateSha1,getAsBooleanFromENV,_validateInstallationCache,for,executablePath,getEmbedderName,buildPlaywrightCLICommand,write,wrapInASCIIBox,_install,releaseLockreleaseLock— let at line 1110; referenceslock,Error,mkdir,writeFile,join,calculateSha1,getAsBooleanFromENV,_validateInstallationCache,for,executablePath,getEmbedderName,buildPlaywrightCLICommand,write,wrapInASCIIBox,_install
Imported modules
fsospathutil@utils/ascii@utils/debugLogger@utils/hostPlatform@utils/network@utils/spawnAsync@utils/fileUtils@utils/crypto@utils/env@utils/third_party/lockfile../utils../userAgent./dependencies./browserFetcher../../package./oopDownloadBrowserMain
File-level call references
for— line 54URL— line 57toString— line 59cftUrl— line 149join— line 500homedir— line 500Error— line 505getFromENV— line 513isAbsolute— line 521resolve— line 527cwd— line 527basename— line 533startsWith— line 535replace— line 535executablePathOrDie— line 608executablePath— line 609_validateHostRequirements— line 610constructor— line 623readDescriptors— line 624buildPlaywrightCLICommand— line 632canAccessFile— line 633readDockerVersionSync— line 634dockerVersion— line 635find— line 674findExecutablePath— line 675push— line 676_downloadURLs— line 684_downloadExecutable— line 688_createChromiumChannel— line 750_installChromiumChannel— line 754_installMSEdgeChannel— line 786_createBidiFirefoxChannel— line 818async— line 917spawnAsync— line 921executables— line 1065findExecutable— line 1069defaultExecutables— line 1075_dedupe— line 1079from— line 1080Set— line 1080platform— line 1084validateDependenciesLinux— line 1085arch— line 1086validateDependenciesWindows— line 1087installDeps— line 1090add— line 1095installDependenciesWindows— line 1099installDependenciesLinux— line 1101install— line 1104mkdir— line 1106lock— line 1112writeFile— line 1127calculateSha1— line 1127getAsBooleanFromENV— line 1130_validateInstallationCache— line 1131getEmbedderName— line 1139write— line 1142wrapInASCIIBox— line 1142_install— line 1159releaseLock— line 1182uninstall— line 1186readdir— line 1189unlink— line 1191isBrowserDirectory— line 1200validateHostRequirementsForExecutablesIfNeeded— line 1204_validateHostRequirementsForExecutableIfNeeded— line 1211stat— line 1221now— line 1221getTime— line 1221log— line 1224downloadPathTemplate— line 1244format— line 1248logPolitely— line 1272calculateDownloadTitle— line 1281downloadBrowserWithProgressBar— line 1287split— line 1293charAt— line 1294toUpperCase— line 1294slice— line 1294lowercaseAllKeys— line 1303parse— line 1303fetchData— line 1303endsWith— line 1330suggestedBrowsersToInstall— line 1486
Source: packages/playwright-core/src/server/registry/index.ts