protractor-parallel-instances
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.1 • Public • Published

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

    Install

    npm i protractor-parallel-instances

    DownloadsWeekly Downloads

    43

    Version

    1.2.1

    License

    ISC

    Unpacked Size

    19.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • shoaibm