Skip to content

applitools/example-selenium-javascript-jest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applitools Example: Selenium in JavaScript with Jest

This is the example project for the Selenium JavaScript Jest tutorial. It shows how to start automating visual tests with the Applitools Eyes and Selenium WebDriver in JavaScript.

It uses:

It can also run tests with:

To run this example project, you'll need:

  1. A free Applitools account.
  2. Node.js version 12 or higher.
  3. A good JavaScript editor, such as Visual Studio Code.
  4. An up-to-date version of Google Chrome.
  5. A corresponding version of ChromeDriver.

To install project dependencies, run:

npm install

The main test case is acme-bank.test.js. By default, the project will run tests with Ultrafast Grid but not Execution Cloud. You can change these settings in the test file.

To execute tests, set the APPLITOOLS_API_KEY environment variable to your account's API key, and then run:

npm test

For full instructions on running this project, take our Selenium JavaScript Jest tutorial!