This repository contains WebDriverJS code examples, exercises and tutorials for developers. Over time, more and more test example will be uploaded here. All tests examples in this repository is to be considered public domain unless stated otherwise.
Demo website to practice WebDriverJS:
Here is a list of websites where you can practice Selenium webdriver. You will find the list incredibly useful as these will cover many of your real-time web automation use case scenario. Some of the common examples includes are like testing of a login page, online registration forms, and automating flight booking.
- Madison Island
- The Internet by Elemental Selenium
- jQuery UI Demos
- Mercury Tours
- Automation Practice
- OrangeHRM Enterprise
- Mouse hover
- Drag & Drop
- Radio Button
npm install -g mocha
npm install -g chai
npm install -g eslint
Setup IntelliJ IDEA
File > Settings > Plugins > Browse Repository Search for "NodeJS" and Install it
Open package.json file Right-click and select run 'npm update'
Run all test
Run test individually
mocha --compilers js:babel-core/register specs/login-spec.js
If you have any code examples you would like to contribute to this repository, please feel free to open a pull request.
Contributors to this repo would be very grateful to receive feedback! If you would like to praise or comment on any test examples, or the repo as a whole, please do so in the issue tracker. I'd love to hear what you think, so please take a moment to let me know.
If you have any questions about this repo, or need some help to contribute, please do not hesitate to contact me.