website/docs/BoilerplateProjects.md
Over time, our community has developed several projects that you can use as inspiration to set up your own test suite.
Our very own boilerplate for Cucumber test suites. We created over 150 predefined step definitions for you, so you can start writing feature files in your project right away.
Boilerplate project to run WebdriverIO tests with Jasmine using Babel features and the page objects pattern.
Boilerplate project to run WebdriverIO tests on a minimal Electron application.
This boilerplate project has WebdriverIO 9 mobile tests with Cucumber, TypeScript, and Appium for Android and iOS platforms, following the Page Object Model pattern. Features comprehensive logging, reporting, mobile gestures, app-to-web navigation, and CI/CD integration.
Frameworks:
Features:
Automatically generate WebdriverIO Page Object classes and Mocha test specs from Gherkin .feature files — reducing manual effort, improving consistency, and speeding up QA automation. This project not only produces codes compatible with webdriver.io but also enhances all functionalities of webdriver.io. We have created two flavours one for JavaScript uses and other for TypeScript users. But both project works in the smae way.
How It Works?
project-root/
├── features/ # Gherkin .feature files (user input / source file)
├── stepMaps/ # Auto-generated .stepMap.json files
├── test/
│ ├── pageobjects/ # Auto-generated WebdriverIO tests Page Object Model classes
│ └── specs/ # Auto-generated Mocha test specs
├── src/
│ ├── cli.js # Main CLI logic
│ ├── generateStepsMap.js # Feature-to-stepMap generator
│ ├── generateTestsFromMap.js # stepMap-to-page/spec generator
│ ├── utils.js # Helper methods
│ └── config.js # Paths, fallback selectors, aliases
│ └── __tests__/ # Unit tests (Vitest)
├── testgen.js # CLI entry point
│── wdio.config.js # WebdriverIO configuration
├── package.json # Scripts and dependencies
├── selector-aliases.json # Optional user-defined selector overrides the primary selector
.config file (for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX..config file (for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX..config file ( for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX.This boilerplate project has WebdriverIO 8 tests with cucumber and typescript, followed by the page objects pattern.
Frameworks:
Features:
Frameworks
Features
Serenity/JS template project to help you get started with acceptance testing your web applications using the latest WebdriverIO, Mocha, and Serenity/JS.
Frameworks
Features
Serenity/JS template project to help you get started with acceptance testing your web applications using the latest WebdriverIO, Cucumber, and Serenity/JS.
Frameworks
Features
Boilerplate project to run WebdriverIO tests in Headspin Cloud (https://www.headspin.io/) using Cucumber features, and the page objects pattern.
Frameworks
Features
Boilerplate project to run Appium tests with WebdriverIO for:
This boilerplate includes the following:
ATDD WEB tests with Mocha, WebdriverIO v6 with PageObject
Boilerplate project to run E2E tests with Mocha.
Boilerplate project to run WebdriverIO v7 tests for the following:
WDIO 7 scripts with TypeScript in Cucumber Framework WDIO 7 scripts with TypeScript in Mocha Framework Run WDIO 7 script in Docker Network logs
Boiler plate project for:
Boilerplate project to run appium tests for native and mobile browser using cucumber v7 and wdio v7 with page object pattern.
Frameworks
Features
This a template project to help you show how you can run webdriverio test from Web applications using the latest WebdriverIO, and Cucumber framework. This project intends to act as a baseline image that you can use to understand how to run WebdriverIO tests in docker
This project includes:
Read more at: Medium Blog
This a template project to help you show how you can run electronJS tests using WebdriverIO. This project intends to act as a baseline image that you can use to understand how to run WebdriverIO electronJS tests.
This project include:
Read more at: Medium Blog
This a template project to help you show how you can automate windows application using winappdriver and WebdriverIO . This project intends to act as a baseline image that you can use to understand how to run windappdriver and WebdriverIO tests.
Read more at: Medium Blog
This a template project to help you show how you can run webdriverio multiremote capability with latest WebdriverIO, and Jasmine framework. This project intends to act as a baseline image that you can use to understand how to run WebdriverIO tests in docker
This project uses: - chromedriver - jasmine - appium
Template project to run appium tests on real Roku devices using mocha with page object pattern.
Frameworks
Features
PoC project for E2E Multiremote Cucumber tests as well as Data driven Mocha tests
Framework:
Features:
This is a boilerplate project to help show how to run webdriverio multi-remote using appium and chromedriver service with the latest WebdriverIO.
Frameworks
Features