Boilerplate Projects
Over time, our community has developed several projects that you can use as inspiration to set up your own test suite.
webdriverio/appium-boilerplate
Boilerplate project to run Appium tests with WebdriverIO for:
- iOS/Android Native Apps
- iOS/Android Hybrid Apps
- Android Chrome and iOS Safari browser
This boilerplate includes the following:
- Framework: Jasmine
- Features:
- Configs for:
- iOS and Android app
- iOS and Android browsers
- Helpers for:
- WebView
- Gestures
- Native alerts
- Pickers
- Tests examples for:
- WebView
- Login
- Forms
- Swipe
- Browsers
- Configs for:
webdriverio/cucumber-boilerplate
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.
- Framework: Cucumber
- Features:
- Over 150 predefined steps that cover almost everything you need
- Integrates WebdriverIOβs Multiremote functionality
- Own demo app
webdriverio/jasmine-boilerplate
Boilerplate project to run WebdriverIO tests with Jasmine using Babel features and the page objects pattern.
- Frameworks
- WebdriverIO (v6)
- Jasmine (v3)
- Features
- Page Object Pattern
- Sauce Labs integration
amiya-pattnaik/webdriverIO-with-cucumberBDD
- Framework: Cucumber (v5.x)
- Features:
- Page Objects Model uses with ES6 style class base approach and fully ES6 - ES8 support through Babel
- Examples of multi selector option to query element with more than one selector at a time
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Integration with BrowserStack, Sauce Labs
- Support of read/write data from MS-Excel for easy test data management from external data sources with examples
- Database support to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), executing any queries / fetching result set etc. with examples for E2E testing
- Multiple reporting (Spec, Junit, Allure, JSON), plus local view of Junit report(.html) format
- Task manage through Grunt
- Examples with demo app https://search.yahoo.com/ and http://the-internet.herokuapp.com, Chai assertion library (expect, assert, should)
Appium specific .config file for playback on mobile device.
For one click Appium setup refer appium-setup-made-easy-OSX
amiya-pattnaik/webdriverIO-with-mochaBDD
- Framework: Mocha (v5.x)
- Features:
- Page Objects Model uses with ES6 style class base approach and fully ES6 - ES8 support through Babel
- Task manage through Grunt
- Examples with demo app https://search.yahoo.com and http://the-internet.herokuapp.com
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Examples of Multiple reporting (Spec, Junit, Allure), plus local view of Junit report (.html) format
- Examples of read/write data from MS-Excel for easy test data management from external data sources with examples
- Examples of DB connect to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), any query execution / fetching result set etc. with examples for E2E testing
Appium specific .config file for playback on mobile device.
For one click Appium setup refer appium-setup-made-easy-OSX
amiya-pattnaik/webdriverIO-with-jasmineBDD
- Framework: Jasmine (v3.x)
- Features:
- Page Objects Model uses with ES6 style class base approach and fully ES6 - ES8 support through Babel
- Task manage through Grunt
- Examples with demo app https://search.yahoo.com and http://the-internet.herokuapp.com
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Examples of Multiple reporting (Spec, Junit, Allure), plus local view of Junit report (.html) format
- Examples of read/write data from MS-Excel for easy test data management from external data sources with examples
- Examples of DB connect to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), any query execution / fetching result set etc. with examples for E2E testing
Appium specific .config file for playback on mobile device.
For one click Appium setup refer appium-setup-made-easy-OSX
serhatbolsu/webdriverio-mocha-uiautomation-boiler
ATDD WEB tests with Mocha, WebdriverIO v6 with PageObject
- Frameworks
- WebdriverIO (v6)
- Mocha
- Features
- Page Object Model
- Sauce Labs integration with Sauce Service
- Allure Report
- Automatic screenshots capture for failing tests
- CircleCI example
- ESLint
migalons/angular-wdio6-builder-demo
Build your angular e2e test with wdio. This project uses a new angular cli builder for replacing protractor with wdio.
- Frameworks:
- Webdriverio (v6)
- Angular (v9)
- Features:
- Replaces protractor with wdio as e2e runner
- Completely integrated into angular workspace (angular.json)
- Allows execution through angular cli (
ng e2e ...
). This allows to build, serve and run wdio test synchronously.
WarleyGabriel/demo-webdriverio-cucumber
Boilerplate project to run E2E tests with Cucumber.
- Frameworks:
- WebdriverIO (v6)
- Cucumber
- Features:
- TypeScript
- Expect-webdriverio
- Page Object Pattern
- Gherkin lint
- Scripts to check undefined and unused steps on step/feature files
- Commit lint and Commitizen
- ESlint
- Prettier
- Husky
- Github Actions example
- Allure report (screenshots on failure) and Timeline report
WarleyGabriel/demo-webdriverio-mocha
Boilerplate project to run E2E tests with Mocha.
- Frameworks:
- WebdriverIO (v6)
- Mocha
- Features:
- TypeScript
- Expect-webdriverio
- Visual regression tests
- Page Object Pattern
- Commit lint and Commitizen
- ESlint
- Prettier
- Husky
- Github Actions example
- Allure report (screenshots on failure)
SimitTomar/webdriverio-cucumber-pom-boilerplate
A WebdriverIO & Cucumber Boilerplate based on Page Object Model!
Frameworks:
- webdriverIO (v6)
- cucumber (v6)
Features:
- Supports Page Object Model
- Compatible with Nodejs Versions 8.x to 13.x
- Contains sample Scenarios written in Declarative style of BDD
- Supports Data externalization
- Integrated with eslint for identifying and reporting on code patterns.
- Integrated with cucumber-html-reporter for intuitive & detailed HTML reporting
- Embeds screenshots on failure
- Integrated with wdio-cucumber-parallel-execution module for parallel execution
tamil777selvan/wdioV6-Perfecto-Boilerplate
Boilerplate project to run WebdriverIO tests in Perfecto Cloud using Cucumber features, and the page objects pattern.
Frameworks:
- webdriverIO (v6)
- cucumber (v6)
Features:
- Cloud integration with Perfecto
- Supports Page Object Model
- Contains sample Scenarios written in Declarative style of BDD
pako88/wdio-mocha-typescript
Boilerplate with WebdriverIO v6, Mocha, TypeScript, ESLint
- Frameworks
- WebdriverIO (v6)
- Mocha
- Features
- Page Object Pattern
- TypeScript
- ESLint
- VSCode
- GitHub Actions
- Sauce Labs integration
- Chromedriver Config
- Devtools Config
- many example tests
Arjun-Ar91/WebdriverIO-V6-appium-cucumber-boilerplate
Boilerplate project to run appium tests for native and mobile browser using cucumber v6 and webdriverIO v6 with page object pattern.
Frameworks
- WebdriverIO v6
- Cucumber v6
- Appium
Features
- Native Android and iOS apps
- Android Chrome browser
- iOS Safari browser
- Page Object Model
- Contains sample test scenarios in cucumber
- Integrated with multiple cucumber html reports
AdarshKumarGM/WebDriverIO-with-CucumberJS
Boilerplate for building cucumberJS with webdriverIO framework.
Framework:
- WebdriverIO (v6.x)
- CucumberJS (v6.x)
- Node (v12.x)
Features:
- Capability for desktop browser
- Multiple cucumber html reporting
- Eslint
- Folder structure containing support files to kick start
Arjun-Ar91/WebdriverIO-V6-appium-mocha-boilerplate
Boilerplate project to run appium tests for native and mobile browser using mocha v6 and webdriverIO v6 with page object pattern.
Frameworks
- WebdriverIO v6
- Mocha v6
- Appium
Features
- Native Android and iOS apps
- Android Chrome browser
- iOS Safari browser
- Page Object Model
- Contains sample test scenarios in mocha
- Integrated with eslint and allure reporting
17thSep/WebdriverIO_Master
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:
- Capture Network Logs
- Capture all GET/POST calls or a specific REST API
- Assert Request parameters
- Assert Response parameters
- Store all the response in a separate file
Arjun-Ar91/Wdio7-appium-cucumber
Boilerplate project to run appium tests for native and mobile browser using cucumber v7 and wdio v7 with page object pattern.
Frameworks
- WebdriverIO v7
- Cucumber v7
- Appium
Features
- Native Android and iOS apps
- Android Chrome browser
- iOS Safari browser
- Page Object Model
- Contains sample test scenarios in cucumber
- Integrated with multiple cucumber html reports
larryg01/klassi-test-suite
Boilerplate test suite to run E2E Tests using WebdriverIO v7 and Cucumber v7 with page object model.
Frameworks
- WebdriverIO v7
- Cucumber v7
Features
- Page Object Model
- ESlint
- Contain sample test scenario in cucumber
- Integrated cucumber html reports
- Integrated Lambdatest, Browserstack services
- Integrated Visual Regression testing
- CircleCI Integration
- Integrated Email functionality
- Embedded video on failure from lambdatest/browserstack in reports
- Integrated Accessibility testing
- Integrated API testing
- Integrated s3 bucket for test reports storage and retrieval
serenity-js/serenity-js-mocha-webdriverio-template/
Serenity/JS template project to help you get started with acceptance testing your Web applications using the latest WebdriverIO, Mocha, and Serenity/JS
Frameworks
- WebdriverIO
- Mocha
- Serenity/JS
- Serenity BDD reporting
Features
- Screenplay Pattern
- Automatic screenshots on test failure, embedded in reports
- Continuous Integration (CI) setup using GitHub Actions
- Demo Serenity BDD reports published to GitHub Pages
- TypeScript
- ESLint
serenity-js/serenity-js-cucumber-webdriverio-template/
Serenity/JS template project to help you get started with acceptance testing your Web applications using the latest WebdriverIO, Cucumber, and Serenity/JS
Frameworks
- WebdriverIO
- Cucumber
- Serenity/JS
- Serenity BDD reporting
Features
- Screenplay Pattern
- Automatic screenshots on test failure, embedded in reports
- Continuous Integration (CI) setup using GitHub Actions
- Demo Serenity BDD reports published to GitHub Pages
- TypeScript
- ESLint
praveendvd/webdriverIODockerBoilerplate/
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:
- DockerFile
- cucumber Project
Read more at: Medium Blog
praveendvd/WebdriverIO_electronAppAutomation_boilerplate/
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:
- Sample electronjs app
- Sample cucumber testscripts
Read more at: Medium Blog
praveendvd/webdriverIO_winappdriver_boilerplate/
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
praveendvd/appium-chromedriver-multiremote-wdio-boilerplate/
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