Socket
Socket
Sign inDemoInstall

protractor-parallel-instances

Package Overview
Dependencies
1
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    protractor-parallel-instances

Node package to create protractor browser objects on the fly


Version published
Weekly downloads
56
increased by40%
Maintainers
1
Install size
636 kB
Created
Weekly downloads
 

Readme

Source

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 class

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();

Keywords

FAQs

Last updated on 15 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc