@wdio/protocols 7.0.0 → 7.1.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.
|
@@ -82,8 +82,6 @@ export default interface ChromiumCommands {
|
|
|
82
82
|
* // Network emulation requires device mode, which is only enabled when mobile emulation is on
|
|
83
83
|
* mobileEmulation: { deviceName: 'iPad' },
|
|
84
84
|
* },
|
|
85
|
-
* // Allow control over the state of network connectivity for testing
|
|
86
|
-
* networkConnectionEnabled: true
|
|
87
85
|
* }
|
|
88
86
|
* });
|
|
89
87
|
* console.log(browser.getNetworkConnection()); // outputs: 6 (Both Wi-Fi and data)
|
|
@@ -105,8 +103,6 @@ export default interface ChromiumCommands {
|
|
|
105
103
|
* // Network emulation requires device mode, which is only enabled when mobile emulation is on
|
|
106
104
|
* mobileEmulation: { deviceName: 'iPad' },
|
|
107
105
|
* },
|
|
108
|
-
* // Allow control over the state of network connectivity for testing
|
|
109
|
-
* networkConnectionEnabled: true
|
|
110
106
|
* }
|
|
111
107
|
* });
|
|
112
108
|
* console.log(browser.setNetworkConnection({ type: 1 })); // outputs: 1 (Airplane Mode)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chromium.d.ts","sourceRoot":"","sources":["../../src/commands/chromium.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAGlD,MAAM,CAAC,OAAO,WAAW,gBAAgB;IAErC;;;;;;;;;;;;OAYG;IACH,WAAW,IAAI,OAAO,CAAC;IAEvB;;;;;;OAMG;IACH,eAAe,IAAI,OAAO,CAAC;IAE3B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAC,IAAI,CAAC;IAEhD;;;;;;;;;;;;OAYG;IACH,SAAS,IAAI,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,gBAAgB,IAAI,uBAAuB,CAAC;IAE5C
|
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,CAAC;IAElC;;;;;;OAMG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAC,IAAI,CAAC;IAEhD;;;;;;OAMG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtC;;;;;;OAMG;IACH,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtD;;;;;;OAMG;IACH,MAAM,IAAI,IAAI,CAAC;IAEf;;;;;;OAMG;IACH,MAAM,IAAI,IAAI,CAAC;IAEf;;;;;;OAMG;IACH,QAAQ,IAAI,IAAI,CAAC;IAEjB;;;;;;OAMG;IACH,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEnE;;;;;;OAMG;IACH,WAAW,IAAI,MAAM,EAAE,CAAC;IAExB;;;;;;OAMG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACnC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/protocols",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Utility package providing information about automation protocols",
|
|
5
5
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-protocols",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "39b675448969b8548e119a28a1ebc065ec3e6914"
|
|
28
28
|
}
|
package/protocols/chromium.json
CHANGED
|
@@ -111,8 +111,6 @@
|
|
|
111
111
|
" // Network emulation requires device mode, which is only enabled when mobile emulation is on",
|
|
112
112
|
" mobileEmulation: { deviceName: 'iPad' },",
|
|
113
113
|
" },",
|
|
114
|
-
" // Allow control over the state of network connectivity for testing",
|
|
115
|
-
" networkConnectionEnabled: true",
|
|
116
114
|
" }",
|
|
117
115
|
"});",
|
|
118
116
|
"console.log(browser.getNetworkConnection()); // outputs: 6 (Both Wi-Fi and data)"
|
|
@@ -138,8 +136,6 @@
|
|
|
138
136
|
" // Network emulation requires device mode, which is only enabled when mobile emulation is on",
|
|
139
137
|
" mobileEmulation: { deviceName: 'iPad' },",
|
|
140
138
|
" },",
|
|
141
|
-
" // Allow control over the state of network connectivity for testing",
|
|
142
|
-
" networkConnectionEnabled: true",
|
|
143
139
|
" }",
|
|
144
140
|
"});",
|
|
145
141
|
"console.log(browser.setNetworkConnection({ type: 1 })); // outputs: 1 (Airplane Mode)"
|