You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript browser automation framework using official [selenium-webdriver](http://seleniumhq.github.io/selenium/docs/api/javascript/"view webdriver js documentation") and [cucumber-js](https://github.com/cucumber/cucumber-js"view cucumber js documentation").
6
4
@@ -14,6 +12,7 @@ JavaScript browser automation framework using official [selenium-webdriver](http
14
12
*[Step definitions](#step-definitions)
15
13
*[Page objects](#page-objects)
16
14
*[Shared objects](#shared-objects)
15
+
*[Visual Comparison](#visual-comparison)
17
16
*[Before/After hooks](#beforeafter-hooks)
18
17
*[Reports](#reports)
19
18
*[How to debug](#how-to-debug)
@@ -234,12 +233,11 @@ module.exports = function () {
234
233
};
235
234
```
236
235
237
-
### Applitools Eyes!
238
-
The Applitools Eyes Selenium JavaScript SDK allows you to easily add visual checkpoints to your JavaScript Selenium tests.
239
-
It takes care of getting screenshots of your application from the underlying WebDriver, sending them to the Eyes server for validation and failing the test in case differences are found.
240
-
To use Applitools Eyes specifying an ApiKey from Aplitools using a `selenium-cucumber-js.json` file at the root of your project
236
+
### Visual Comparison
237
+
238
+
The `selenium-cucumber-js` framework uses [Applitools Eyes](https://applitools.com/) to add visual checkpoints to your JavaScript Selenium tests. It takes care of getting screenshots of your application from the underlying WebDriver, sending them to the Applitools Eyes server for validation and failing the test when differences are detected. To preform visual comparisons within your tests, obtain an [Applitools Eyes](https://applitools.com/) API Key and assign it to the `eye_key` property of the `selenium-cucumber-js.json` config file in the root of your project.
241
239
242
-
For example the following configuration could be used with an increased timeout which allows enough time for viusual checks:
240
+
For example the following configuration could be used with an increased timeout which allows enough time for visual checks:
243
241
244
242
```json
245
243
{
@@ -260,7 +258,6 @@ module.exports = {
260
258
searchResultLink:by.css('div.g > h3 > a')
261
259
},
262
260
263
-
264
261
applitools_Eyes_Example:function () {
265
262
266
263
// Start the test and set the browser's viewport size to 800x600.
@@ -285,7 +282,6 @@ module.exports = {
285
282
};
286
283
```
287
284
288
-
289
285
### Before/After hooks
290
286
291
287
You can register before and after handlers for features and scenarios:
0 commit comments