applitools / tutorial-protractor-basic

Applitools tutorial using Protractor

Home Page:https://info.applitools.com/ucY78

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applitools Tutorial - Protractor

Pre-requisites

  1. Install Node.js from here
  2. 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
  3. 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:

Run the Example Project

  1. 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
  2. CD into the tutorial-protractor-basic folder
  3. 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
  4. run npm install
  5. run npm test

Add Applitools Eyes to an Existing Node.js Project

npm install "@applitools/eyes-protractor" --save-dev

About

Applitools tutorial using Protractor

https://info.applitools.com/ucY78


Languages

Language:JavaScript 94.9%Language:Dockerfile 5.1%