Skip to main content

Boilerplate Projects

Over time, our community has developed several projects that you can use as inspiration to set up your own test suite.

v8 Boilerplate Projects

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 (v8)
    • WebdriverIO (v8)
  • 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 (v8)
    • Jasmine (v4)
  • Features
    • Page Object Pattern
    • Sauce Labs integration

amiya-pattnaik/webdriverIO-with-cucumberBDD

  • Framework: WDIO-V8 with Cucumber (V8x).
  • Features:
    • Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
    • 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
    • Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
    • Examples 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, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
    • Examples with demo app https://search.yahoo.com/ and http://the-internet.herokuapp.com.
    • BrowserStack, Sauce Labs, LambdTest and Appium specific .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.

amiya-pattnaik/webdriverIO-with-mochaBDD

  • Framework: WDIO-V8 with Mocha (V10x).
  • Features:
    • Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
    • 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
    • Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
    • Multiple reporting (Spec, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
    • 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
    • BrowserStack, Sauce Labs, LambdTest and Appium specific .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.

amiya-pattnaik/webdriverIO-with-jasmineBDD

  • Framework: WDIO-V8 with Jasmine (V4x).
  • Features:
    • Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
    • 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
    • Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
    • Multiple reporting (Spec, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
    • 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
    • BrowserStack, Sauce Labs, LambdTest and Appium specific .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.

webdriverio/klassijs-boilerplate

  • Frameworks

    • WebdriverIO (v8)
    • Cucumber (v8)
  • Features

    • Contain sample test scenario in cucumber
    • Integrates cucumber html reports with Embedded videos on failures
    • Integrates Lambdatest and CircleCI services
    • Integrates Visual, Accessibility and API testing
    • Integrates Email functionality
    • Integrates 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.

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.

v7 Boilerplate Projects

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: Mocha
  • 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

serhatbolsu/webdriverio-mocha-uiautomation-boiler

ATDD WEB tests with Mocha, WebdriverIO v6 with PageObject

  • Frameworks
    • WebdriverIO (v7)
    • Mocha
  • Features
    • Page Object Model
    • Sauce Labs integration with Sauce Service
    • Allure Report
    • Automatic screenshots capture for failing tests
    • CircleCI example
    • ESLint

WarleyGabriel/demo-webdriverio-mocha

Boilerplate project to run E2E tests with Mocha.

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

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 test scripts

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

webdriverio-roku-appium-boilerplate

Template project to run appium tests on real Roku devices using mocha with page object pattern.

  • Frameworks

    • WebdriverIO Async v7
    • Appium 2.0
    • Mocha v7
    • Allure Reporting
  • Features

    • Page Object Model
    • Typescript
    • Screenshot on failure
    • Example tests using a sample Roku channel