Skip to content

Files

Latest commit

 

History

History
executable file
·
37 lines (24 loc) · 692 Bytes

File metadata and controls

executable file
·
37 lines (24 loc) · 692 Bytes

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/SeleniumHQ/seleniumhq.github.io.git
  1. Navigate to javascript directory
cd seleniumhq.github.io/examples/javascript
  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