testarmada-nightwatch-extra
Advanced tools
Comparing version
{ | ||
"name": "testarmada-nightwatch-extra", | ||
"version": "2.1.0-beta3", | ||
"version": "2.1.0", | ||
"description": "extra useful nightwatch command and assertion", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,2 +35,22 @@ # Nightwatch-Extra | ||
### Define synchronous mode browser list | ||
`testarmada-nightwatch-extra` can inject async js for a faster element detection. However this feature isn't supported by all browsers (especially those latest ones that still don't fully support selenium protocol). | ||
To use this feature, add following `syncModeBrowserList` into `globals` of `nightwatch.json` | ||
``` | ||
"globals": { | ||
"syncModeBrowserList": [ | ||
"safari:10", | ||
"ipad | ||
] | ||
}Ï | ||
``` | ||
Syntax of each item in the list | ||
1. browser:version. example: safari:10 will tell `nightwatch-extra` to run in sync mode for safari@10 | ||
2. browser. exmaple: chrome will tell `nightwatch-extra` to run in sync mode for all versio of chrome | ||
## Command vocabulary | ||
@@ -37,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
105364
0.63%1
-50%210
10.53%1
Infinity%