Running all tests from Selenium javascript example

Follow these steps to run all test example from selenium javascript

  1. Clone this repository
git clone https://github.com/guilhermesiani/acceptance-tests
  1. Navigate to acceptance-tests directory
cd acceptance-tests
  1. Install dependencies using node
npm install
  1. Run all all tests
npm test

Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers

Execute a javascript test

Use this command to run a JavaScript and follow the first script example

node example_script.spec.js