webdriverio 7.25.1 → 7.25.4

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.
@@ -70,7 +70,7 @@ function isElementDisplayed(element) {
70
70
  // if document-fragment, skip it and use element.host instead. This happens
71
71
  // when the element is inside a shadow root.
72
72
  // window.getComputedStyle errors on document-fragment.
73
- if (element instanceof ShadowRoot) {
73
+ if (element instanceof window.ShadowRoot) {
74
74
  element = element.host;
75
75
  }
76
76
  let computedStyle = window.getComputedStyle(element);
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": "7.25.1",
4
+ "version": "7.25.4",
5
5
  "homepage": "https://webdriver.io",
6
6
  "author": "Christian Bromann <mail@bromann.dev>",
7
7
  "license": "MIT",
@@ -57,18 +57,18 @@
57
57
  "dependencies": {
58
58
  "@types/aria-query": "^5.0.0",
59
59
  "@types/node": "^18.0.0",
60
- "@wdio/config": "7.25.1",
60
+ "@wdio/config": "7.25.4",
61
61
  "@wdio/logger": "7.19.0",
62
62
  "@wdio/protocols": "7.22.0",
63
- "@wdio/repl": "7.25.1",
64
- "@wdio/types": "7.25.1",
65
- "@wdio/utils": "7.25.1",
63
+ "@wdio/repl": "7.25.4",
64
+ "@wdio/types": "7.25.4",
65
+ "@wdio/utils": "7.25.4",
66
66
  "archiver": "^5.0.0",
67
67
  "aria-query": "^5.0.0",
68
68
  "css-shorthand-properties": "^1.1.1",
69
69
  "css-value": "^0.0.1",
70
- "devtools": "7.25.1",
71
- "devtools-protocol": "^0.0.1049481",
70
+ "devtools": "7.25.4",
71
+ "devtools-protocol": "^0.0.1061995",
72
72
  "fs-extra": "^10.0.0",
73
73
  "grapheme-splitter": "^1.0.2",
74
74
  "lodash.clonedeep": "^4.5.0",
@@ -81,7 +81,7 @@
81
81
  "resq": "^1.9.1",
82
82
  "rgb2hex": "0.2.5",
83
83
  "serialize-error": "^8.0.0",
84
- "webdriver": "7.25.1"
84
+ "webdriver": "7.25.4"
85
85
  },
86
- "gitHead": "db1d40ed9cf0ccfe50d355007818d04055a461aa"
86
+ "gitHead": "7e41cd86779937722b6f824d10375b039aee620f"
87
87
  }