Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/applitools/tutorial-nightwatch-ultrafastgrid
Applitools Visual Testing tutorial with Nightwatch and the Ultrafast Grid
https://github.com/applitools/tutorial-nightwatch-ultrafastgrid
applitools nightwatch tutorial
Last synced: about 1 month ago
JSON representation
Applitools Visual Testing tutorial with Nightwatch and the Ultrafast Grid
- Host: GitHub
- URL: https://github.com/applitools/tutorial-nightwatch-ultrafastgrid
- Owner: applitools
- Created: 2020-11-15T20:02:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-02T13:49:14.000Z (over 2 years ago)
- Last Synced: 2024-04-14T04:52:39.923Z (8 months ago)
- Topics: applitools, nightwatch, tutorial
- Language: JavaScript
- Homepage: https://info.applitools.com/ucY78
- Size: 414 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Pre-requisites:
1. Download Selenium Standalone server [here](https://www.seleniumhq.org/download/)
* Note that this is a `jar` file. So you should also have Java installed on your machine.
2. Chrome Webdriver is on your machine and is in the PATH. Here are some 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
3. Run the standalone server jar file - it should look something like below:
* `java -jar selenium-server-standalone-3.141.59.jar` (Replace the jar file name with your jar file name)
* This will run Selenium on localhost and on port 4444
4. Install Node.js from [here](https://nodejs.org/en/)### Running the example:
1. Download the example
* Option 1: `git clone https://github.com/applitools/tutorial-nightwatch-ultrafastgrid.git`
* Option 2: Download it as a Zip file and extract it
2. CD into the `tutorial-nightwatch-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`### Adding to an existing Node.js example
```sh
npm install "@applitools/eyes-nightwatch" --save-dev```