MCPcopy
hub / github.com/garrytan/gstack / listSupportedBrowserNames

Function listSupportedBrowserNames

browse/src/cookie-import-browser.ts:150–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150export function listSupportedBrowserNames(): string[] {
151 const hostPlatform = getHostPlatform();
152 return BROWSER_REGISTRY
153 .filter(browser => hostPlatform ? getDataDirForPlatform(browser, hostPlatform) !== null : true)
154 .map(browser => browser.name);
155}
156
157/**
158 * List available profiles for a browser.

Callers 1

handleWriteCommandFunction · 0.90

Calls 2

getHostPlatformFunction · 0.85
getDataDirForPlatformFunction · 0.85

Tested by

no test coverage detected