Improve this doc

Boilerplate Projects

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

amiya-pattnaik/webdriverIO-with-cucumberBDD

  • Framework: Cucumber (v 3.0.0)
  • Features:
    • Page Objects Model uses with ES6 style class base approach and fully ES6 support through Babel
    • Integration with headless browser - PhantomJS and Chrome
    • Integration with BrowserStack
    • 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) and local view of Junit report in .html format
    • Task manage through Grunt
    • Appium specific .config file for easy playback on mobile devices. For one click Appium setup refer here

amiya-pattnaik/webdriverIO-with-jasmineBDD

This repository contains a collection of sample webdriverIO (Selenium - Node.js/JavaScript) projects and libraries that demonstrate how to use the tool and develop automation script using the Jasmine BDD framework.

  • Framework: Jasmine
  • Features:
    • Page Objects Model uses with ES6 style class base approach and fully ES6 support through Babel
    • Integration with headless browser - PhantomJS and Chrome
    • Integration with BrowserStack
    • 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) and local view of Junit report in .html format
    • Task manage through Grunt
    • Examples with demo app (http://www.phptravels.net)
    • Appium specific .config file for easy playback on mobile devices. For one click Appium setup refer here

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 implementation
    • Intellisense

klamping/wdio-starter-kit

Boilerplate repo for quick set up of WebdriverIO test scripts with TravisCI, Sauce Labs and Visual Regression Testing

  • Framework: Mocha, Chai
  • Features:
    • Login & Registration Tests, with Page Objects
    • Mocha
    • Chai with expect global
    • Chai WebdriverIO
    • Sauce Labs integration
    • Visual Regression Tests
    • Local notifications
    • ESLint using Semistandard style
    • WebdriverIO tuned Gitignore file