Follow these steps to run all test example from selenium javascript
- Clone this repository
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git
- Navigate to
javascript
directory
cd seleniumhq.github.io/examples/javascript
- Install dependencies using node
npm install
- 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
Use this command to run a JavaScript and follow the first script example
node example_script.spec.js