https://github.com/applitools/tutorial-protractor-basic
Applitools tutorial using Protractor
https://github.com/applitools/tutorial-protractor-basic
applitools protractor tutorial
Last synced: 7 months ago
JSON representation
Applitools tutorial using Protractor
- Host: GitHub
- URL: https://github.com/applitools/tutorial-protractor-basic
- Owner: applitools
- Created: 2020-06-08T08:43:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T23:06:08.000Z (about 3 years ago)
- Last Synced: 2025-06-08T23:03:34.048Z (10 months ago)
- Topics: applitools, protractor, tutorial
- Language: JavaScript
- Homepage: https://info.applitools.com/ucY78
- Size: 885 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Applitools Tutorial - Protractor
### Pre-requisites
1. Install Node.js from [here](https://nodejs.org/en/)
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](https://ChromeDriver.chromium.org/downloads). Here are some additional resources from the internet that'll help you:
* https://splinter.readthedocs.io/en/0.1/setup-chrome.html
* https://stackoverflow.com/questions/38081021/using-selenium-on-mac-chrome
* https://www.youtube.com/watch?time_continue=182&v=dz59GsdvUF8
## 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
```sh
npm install "@applitools/eyes-protractor" --save-dev
```