📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

testarmada-nightwatch-extra

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-nightwatch-extra - npm Package Compare versions

Comparing version

to
2.1.0

{
"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