webdriverio 9.18.0 → 9.18.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.
package/build/index.js CHANGED
@@ -4641,7 +4641,7 @@ var ShadowRootTree = class _ShadowRootTree {
4641
4641
  if (typeof scope === "string" && treeArg instanceof _ShadowRootTree) {
4642
4642
  const tree = this.find(scope) || this.findByShadowId(scope);
4643
4643
  if (!tree) {
4644
- throw new Error("Couldn't find element with id ".concat(scope));
4644
+ return;
4645
4645
  }
4646
4646
  tree.addShadowElement(treeArg);
4647
4647
  return;
package/build/node.js CHANGED
@@ -4715,7 +4715,7 @@ var ShadowRootTree = class _ShadowRootTree {
4715
4715
  if (typeof scope === "string" && treeArg instanceof _ShadowRootTree) {
4716
4716
  const tree = this.find(scope) || this.findByShadowId(scope);
4717
4717
  if (!tree) {
4718
- throw new Error(`Couldn't find element with id ${scope}`);
4718
+ return;
4719
4719
  }
4720
4720
  tree.addShadowElement(treeArg);
4721
4721
  return;
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.18.0",
4
+ "version": "9.18.1",
5
5
  "homepage": "https://webdriver.io",
6
6
  "author": "Christian Bromann <mail@bromann.dev>",
7
7
  "license": "MIT",
@@ -109,5 +109,5 @@
109
109
  "optional": true
110
110
  }
111
111
  },
112
- "gitHead": "a515cdf9ce892da87708c290dd2b05b051bbe602"
112
+ "gitHead": "3e04568bb2b087159ecd540b6c6c375c29dde0e5"
113
113
  }