webdriverio 9.2.2 → 9.2.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.
- package/build/index.js +5 -0
- package/build/protocol-stub.d.ts.map +1 -1
- package/build/protocol-stub.js +5 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -7280,6 +7280,8 @@ function detectBackend(options = {}) {
|
|
|
7280
7280
|
|
|
7281
7281
|
// src/protocol-stub.ts
|
|
7282
7282
|
import { capabilitiesEnvironmentDetector } from "@wdio/utils";
|
|
7283
|
+
var NOOP2 = () => {
|
|
7284
|
+
};
|
|
7283
7285
|
var ProtocolStub = class {
|
|
7284
7286
|
static async newSession(options) {
|
|
7285
7287
|
const capabilities = emulateSessionCapabilities(options.capabilities);
|
|
@@ -7292,6 +7294,9 @@ var ProtocolStub = class {
|
|
|
7292
7294
|
overwrittenCommands: [],
|
|
7293
7295
|
// internally used to transfer overwritten commands to the actual protocol instance
|
|
7294
7296
|
commandList: [],
|
|
7297
|
+
getWindowHandle: NOOP2,
|
|
7298
|
+
on: NOOP2,
|
|
7299
|
+
off: NOOP2,
|
|
7295
7300
|
...capabilitiesEnvironmentDetector(capabilities)
|
|
7296
7301
|
};
|
|
7297
7302
|
browser.addCommand = (...args) => browser.customCommands.push(args);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol-stub.d.ts","sourceRoot":"","sources":["../src/protocol-stub.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"protocol-stub.d.ts","sourceRoot":"","sources":["../src/protocol-stub.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI/C;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;WAChB,UAAU,CAAE,OAAO,EAAE,YAAY,CAAC,YAAY;IAqB3D;;OAEG;IACH,MAAM,CAAC,aAAa;IAIpB,MAAM,CAAC,eAAe,CAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,QAAQ;CAY9D"}
|
package/build/protocol-stub.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// src/protocol-stub.ts
|
|
2
2
|
import { capabilitiesEnvironmentDetector } from "@wdio/utils";
|
|
3
|
+
var NOOP = () => {
|
|
4
|
+
};
|
|
3
5
|
var ProtocolStub = class {
|
|
4
6
|
static async newSession(options) {
|
|
5
7
|
const capabilities = emulateSessionCapabilities(options.capabilities);
|
|
@@ -12,6 +14,9 @@ var ProtocolStub = class {
|
|
|
12
14
|
overwrittenCommands: [],
|
|
13
15
|
// internally used to transfer overwritten commands to the actual protocol instance
|
|
14
16
|
commandList: [],
|
|
17
|
+
getWindowHandle: NOOP,
|
|
18
|
+
on: NOOP,
|
|
19
|
+
off: NOOP,
|
|
15
20
|
...capabilitiesEnvironmentDetector(capabilities)
|
|
16
21
|
};
|
|
17
22
|
browser.addCommand = (...args) => browser.customCommands.push(args);
|
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.2.
|
|
4
|
+
"version": "9.2.4",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"optional": true
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "9e40f2368a612cd7882f06a55afdc52ead201ec3"
|
|
114
114
|
}
|