Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
forBrowser: (id) => {
const browserConfig = config.forBrowser(id);
return {
parallelLimit: browserConfig.sessionsPerBrowser,
sessionUseLimit: browserConfig.suitesPerSession
};
},
getBrowserIds: () => config.getBrowserIds(),
get system() {
return config.system;
}
};
return BrowserPool.create(BrowserManager, {
logNamespace: 'gemini',
config: configAdapter
});
};
forBrowser: (id) => {
const browserConfig = config.forBrowser(id);
return {
parallelLimit: browserConfig.sessionsPerBrowser,
sessionUseLimit: browserConfig.testsPerSession
};
},
getBrowserIds: () => config.getBrowserIds(),
get system() {
return config.system;
}
};
return QBrowserPool.create(BrowserPool.create(BrowserManager, {
logNamespace: 'hermione',
config: configAdapter
}));
};