MCPcopy
hub / github.com/codeceptjs/CodeceptJS / getPlaywrightBrowsers

Function getPlaywrightBrowsers

lib/command/info.js:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24async function getPlaywrightBrowsers() {
25 try {
26 const info = execSync('npx playwright install --dry-run').toString().trim()
27 return parsePlaywrightBrowsers(info)
28 } catch (err) {
29 return 'Playwright not installed'
30 }
31}
32
33async function getOsBrowsers() {
34 const chromeInfo = await envinfo.helpers.getChromeInfo()

Callers 2

info.jsFile · 0.85
getMachineInfoFunction · 0.85

Calls 2

parsePlaywrightBrowsersFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected