protractor-parallel-instances
v1.2.1
Published
Node package to create protractor browser objects on the fly
Downloads
164
Maintainers
Readme
protractor-parallel-instances
Node module to create browser instances on the fly. It accepts a protractor config file to create new instances
npm i protractor-parallel-instances --save-dev
Usage
// Typescript
import { config } from 'protractor.conf';
import { ParallelInstanceHelper } from 'protractor-parallel-instances';
// create new browser instance with imported config file
const newBrowser = await ParallelInstanceHelper.createNewBrowser(config);
await newBrowser.get('https://google.com');
// Javascript: TODO
Table of Contents
ParallelInstanceHelper
createNewBrowser
Helps in creating new ProtractorBrowser instance. Accepts protractor config file to create new instances
Parameters
configurationFile
anywaitForAngularEnabled
[boolean]
Returns [Promise]<ProtractorBrowser>
updateGlobal
Updates the global browser
object with newly create driver instance
await ParallelInstanceHelper.updateGlobal();