Skip to content

shoaibmansoor/protractor-parallel-instances

Repository files navigation

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 any
  • waitForAngularEnabled [boolean]

Returns [Promise]<ProtractorBrowser>

updateGlobal

Updates the global browser object with newly create driver instance

await ParallelInstanceHelper.updateGlobal();

About

Node project to assist creating browser objects on the fly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published