webdriverio 9.7.0 → 9.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/isDisplayed.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AAEH,wBAAsB,WAAW,CAC7B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,aAAa,GAAE,iBAAkC,
|
|
1
|
+
{"version":3,"file":"isDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/isDisplayed.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AAEH,wBAAsB,WAAW,CAC7B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,aAAa,GAAE,iBAAkC,oBAiEpD;AASD,UAAU,iBAAiB;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC/B"}
|
package/build/index.js
CHANGED
|
@@ -6917,7 +6917,10 @@ async function isDisplayed(commandParams = DEFAULT_PARAMS) {
|
|
|
6917
6917
|
}
|
|
6918
6918
|
throw err;
|
|
6919
6919
|
}),
|
|
6920
|
-
|
|
6920
|
+
/**
|
|
6921
|
+
* don't fail if element is not existing
|
|
6922
|
+
*/
|
|
6923
|
+
this.getCSSProperty("display").catch(() => ({ value: "" }))
|
|
6921
6924
|
]);
|
|
6922
6925
|
const hasDisplayContentsCSSProperty = displayProperty.value === "contents";
|
|
6923
6926
|
const shouldRecheckContentVisibility = !hadToFallback && hasDisplayContentsCSSProperty;
|
package/build/node.js
CHANGED
|
@@ -6642,7 +6642,10 @@ async function isDisplayed(commandParams = DEFAULT_PARAMS) {
|
|
|
6642
6642
|
}
|
|
6643
6643
|
throw err;
|
|
6644
6644
|
}),
|
|
6645
|
-
|
|
6645
|
+
/**
|
|
6646
|
+
* don't fail if element is not existing
|
|
6647
|
+
*/
|
|
6648
|
+
this.getCSSProperty("display").catch(() => ({ value: "" }))
|
|
6646
6649
|
]);
|
|
6647
6650
|
const hasDisplayContentsCSSProperty = displayProperty.value === "contents";
|
|
6648
6651
|
const shouldRecheckContentVisibility = !hadToFallback && hasDisplayContentsCSSProperty;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriverio",
|
|
3
3
|
"description": "Next-gen browser and mobile automation test framework for Node.js",
|
|
4
|
-
"version": "9.7.
|
|
4
|
+
"version": "9.7.1",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"optional": true
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "e6e03a67bd5e71d7d8fe570ff53a977cb9848e83"
|
|
115
115
|
}
|