An open API service indexing awesome lists of open source software.

https://github.com/applitools/tutorial-protractor-ultrafastgrid

Applitools tutorial using Protractor and Ultrafast Grid
https://github.com/applitools/tutorial-protractor-ultrafastgrid

applitools protractor tutorial

Last synced: about 1 year ago
JSON representation

Applitools tutorial using Protractor and Ultrafast Grid

Awesome Lists containing this project

README

          

## Applitools Tutorial - Protractor Ultrafast Grid

## 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-ultrafastgrid.git`
* Option 2: Download it as a Zip file and extract it
2. CD into the `tutorial-protractor-ultrafastgrid` folder
3. Change the `APPLITOOLS_API_KEY` with your own.
* Login to Applitools > Click on the Person icon > My API Key
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
```