This is for Selenium 4 users. Please use tutorial-selenium3-javascript-basic tutorial if you are using Selenium 3.
- Install Node.js from here
- git clone https://github.com/applitools/tutorial-selenium-javascript-basic.git
- cd
tutorial-selenium-javascript-basic
folder - Set up environment variable
APPLITOOLS_API_KEY
with your own API key.- Login to Applitools > Click on the Person icon > My API Key
- Linux/Mac: export APPLITOOLS_API_KEY=<your_key>
- Windows: set APPLITOOLS_API_KEY=<your_key>
- Don't forget to change the example with your own API key
npm install
npm run test