MCPcopy
hub / github.com/RedPlanetHQ/core / getBrowserExecutable

Function getBrowserExecutable

packages/cli/src/utils/browser-config.ts:247–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245}
246
247export function getBrowserExecutable(): {type: BrowserType; path?: string} {
248 const prefs = getPreferences();
249 return {
250 type: prefs.browser?.browserType || 'default',
251 path: prefs.browser?.browserExecutable,
252 };
253}
254
255export function setBrowserExecutable(
256 type: BrowserType,

Callers 4

getOrLaunchSessionFunction · 0.90
launchSessionFunction · 0.90
runSetBrowserFunction · 0.90
runInteractiveFunction · 0.90

Calls 1

getPreferencesFunction · 0.90

Tested by

no test coverage detected