Skip to content
Browser test automation using Selenium WebDriver in JavaScript
Branch: master
Clone or download
Latest commit 8b6efe3 Nov 13, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Initial commit Jun 4, 2016
page Initial commit Jun 4, 2016
specs Initial commit Jun 4, 2016
test Initial commit Jun 4, 2016
utils Initial commit Jun 4, 2016
.babelrc Initial commit Jun 4, 2016
.gitignore Initial commit Jun 4, 2016
README.md Update README.md Nov 13, 2016
package.json Initial commit Jun 4, 2016

README.md

WebDriverJS

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.

Examples with:

  • Mouse hover
  • Drag & Drop
  • Draggable
  • Selectable
  • Sortable
  • Actionable
  • Radio Button
  • Checkbox
  • Datepicker

Pre-requisites

npm install
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
File > Settings > Languages & Frameworks
Select "ECMAScript 6" from JavaScript Language Version dropdown menu
Open package.json file
Right-click and select run 'npm update'

--

Run all test

npm test

Run test individually

mocha --compilers js:babel-core/register specs/login-spec.js

--

###Contributions

If you have any code examples you would like to contribute to this repository, please feel free to open a pull request.

##Feedback

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.

##Contact

If you have any questions about this repo, or need some help to contribute, please do not hesitate to contact me.

You can’t perform that action at this time.