Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

javascript

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