Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

protractor-cucumber-framework

0.1.2 • Public • Published

Protractor Cucumber Framework

This framework was originally part of angular/protractor and is now a separate module to decouple cucumber.js.

Install

npm install --save-dev protractor-cucumber-framework

Implementation

To implement this framework, utilize the protractor custom framework config option:

var cucumberFrameworkPath = require('protractor-cucumber-framework').resolve();
 
exports.config = {
  // set to "custom" instead of cucumber.
  framework: 'custom',
 
  // path relative to the current config file
  frameworkPath: cucumberFrameworkPath
};