MCPcopy
hub / github.com/claabs/epicgames-freegames-node / safeLaunchBrowser

Function safeLaunchBrowser

src/common/puppeteer.ts:183–186  ·  view source on GitHub ↗
(L: Logger)

Source from the content-addressed store, hash-verified

181 * Launcha new browser within a wrapper that will retry if it hangs for 30 seconds
182 */
183export const safeLaunchBrowser = (L: Logger): Promise<Browser> => {
184 L.debug('Launching a new browser');
185 return retryFunction(() => puppeteer.launch(launchArgs), L, 'browser launch');
186};

Callers 3

redeemAccountFunction · 0.85
setupPageMethod · 0.85
setupPageMethod · 0.85

Calls 1

retryFunctionFunction · 0.85

Tested by

no test coverage detected