The module uses Nightwatch JS for automated browser checking.
- Install Nightwatch and the npm package globally.
- Place the selenium standalone server in your project directory.
- Install Java for OSX if you get Java Runtime Environment errors.
- Install Chrome Driver.
On the root of the project, create config.js
:
module.exports = {
cardNumber: [your-card-number],
pass: [your-password]
};
$ nightwatch