Boilerplate Projects

Over the time our community has developed a bunch of boilerplate projects that can be used as inspiration to set up the own test suite.

webdriverio/cucumber-boilerplate

Our very own boilerplate for Cucumber test suites. We created over 150 predefined step definitions for you so that you can start write feature files for your project right away.

  • Framework: Cucumber
  • Features:
    • over 150 predefined steps that cover almost everything you need
    • integration of WebdriverIO’s Multiremote functionality
    • own demo app

saucelabs-sample-test-frameworks/JS-Mocha-WebdriverIO-Selenium

Simple boilerplate project that runs multiple browser on SauceLabs in parallel.

  • Framework: Mocha
  • Features:
    • Page Object usage
    • Integration with SauceLabs

jonyet/webdriverio-boilerplate

Designed to be quick to get you started without getting terribly complex, as well as to share examples of how one can leverage external node modules to work in conjunction with wdio specs.

  • Framework: Mocha
  • Features:
    • examples for using Visual Regression testing with WebdriverIO v4
    • cloud integration with BrowserStack
    • Page Objects usage

cognitom/webdriverio-examples

Project with various examples to setup WebdriverIO with an internal grid and PhantomJS or using cloud services like TestingBot.

  • Framework: Mocha
  • Features:
    • examples for the tunneling feature from TestingBot
    • standalone examples
    • simple demonstration of how to integrate PhantomJS as a service so no that no Java is required

michaelguild13/Selenium-WebdriverIO-Mocha-Chai-Sinon-Boilerplate

Enhance testing stack demonstration with Mocha and Chai allows you to write simple assertion using the Chai assertion library.

  • Framework: Mocha
  • Features:
    • Chai integration
    • Babel setup

dcypherthis/wdio-boilerplate-cucumber

This project is an example of how to get started with WebdriverIO for Selenium testing in Node.js. It makes use of the Cucumber BDD framework and works with dot, junit, and allure reporters. It is ES6 friendly (via babel-register) and uses Grunt to manage tasks.

  • Framework: Cucumber
  • Features:
    • detailed documentation
    • runs tests in a Docker container
    • Babel setup

WillLuce/WebdriverIO_Typescript

This directory contains the WebdriverIO page object example written using TypeScript.

  • Framework: Mocha
  • Features:
    • examples of Page Object Model implemenetation
    • Intellisence