- Install Node.js from here
- Run the ChromeDriver that's bundled with with tutorial:
npx chromedriver --port=4444 --url-base=/wd/hub
- This will run ChromeDriver on localhost and on port 4444
- If the bundled ChromeDriver isn't compatible with the version of Chrome installed on your machine, then please download the correct ChromeDriver version from the ChromeDriver downloads page. Here are some additional resources from the internet that'll help you:
- Download the example
- Option 1:
git clone https://github.com/applitools/tutorial-protractor-basic.git
- Option 2: Download it as a Zip file and extract it
- Option 1:
- CD into the
tutorial-protractor-basic
folder - Change the
APPLITOOLS_API_KEY
with your own.- Login to Applitools > Click on the Person icon > My API Key
- Update
APPLITOOLS_API_KEY
inside of each test file
- run
npm install
- run
npm test
npm install "@applitools/eyes-protractor" --save-dev