A generic, reusable automation framework combining Cucumber, Protractor, and WebDriverJS for end-to-end testing of Angular and non-Angular applications. The current stable version is 1.8.7. It provides a large set of pre-built step definitions for form interactions, navigation, alert handling, REST API calls, and fake data generation. The framework is opinionated, requiring a specific folder structure and environment variables. It depends on Protractor, Cucumber, and several other libraries. Compared to building from scratch, this framework reduces boilerplate but may be overkill for small projects and is not actively maintained by a large community.
npm install generic-cucumber-protractor-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require the framework's support modules and define a custom Cucumber step.
Check GitHub for updates or consider migrating to a more modern framework like WebdriverIO + Cucumber.
Ensure all required environment variables are defined in CI or local environment.
Follow the documented folder structure strictly; do not rename or reorganize directories.
If using Cucumber >6, update steps to use new API (e.g., `Given`, `When`, `Then` imports).
Set `ignoreSynchronization = true` in your config or use `browser.waitForAngularEnabled(false)` before tests on non-Angular pages.
Ensure the framework is installed via npm and use the correct relative path from your step file.
Update Cucumber to a version that supports defineSupportCode (e.g., 5.x) or switch to newer Cucumber API.
Update WebDriver (e.g., `npm install webdriver-manager@latest` and run `webdriver-manager update`).