Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Return browsers configuration
const pushPreparedBrowserInstance = browserType => {
for (let i = 0; i < numberOfInstances; i++) {
browsersSettings.push(prepareBrowserInstance(browserConfigs[browserType], chunkedSpecs[i]));
}
};
return Promise.resolve(browsersSettings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment