webdriver 8.41.0 → 8.43.0

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":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,eAAe,EACvB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,CA0J9H"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,eAAe,EACvB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,CA6J9H"}
package/build/command.js CHANGED
@@ -135,6 +135,9 @@ export default function (method, endpointUri, commandInfo, doubleEncodeVariables
135
135
  }
136
136
  }
137
137
  return result.value;
138
+ }).catch((error) => {
139
+ this.emit('result', { command, method, endpoint, body, result: { error } });
140
+ throw error;
138
141
  });
139
142
  };
140
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "8.41.0",
3
+ "version": "8.43.0",
4
4
  "description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@types/node": "^22.2.0",
40
40
  "@types/ws": "^8.5.3",
41
- "@wdio/config": "8.41.0",
41
+ "@wdio/config": "8.43.0",
42
42
  "@wdio/logger": "8.38.0",
43
43
  "@wdio/protocols": "8.40.3",
44
44
  "@wdio/types": "8.41.0",
@@ -48,5 +48,5 @@
48
48
  "ky": "^0.33.0",
49
49
  "ws": "^8.8.0"
50
50
  },
51
- "gitHead": "a33b7bfba8013d0f65e54123acc206bd11d38d10"
51
+ "gitHead": "f3783f61e0c62001cda71231fb4d947951f6f10d"
52
52
  }