@wdio/protocols 7.12.1 → 7.16.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/commands/chromium.d.ts +40 -0
- package/build/commands/chromium.d.ts.map +1 -1
- package/build/commands/gecko.d.ts +8 -0
- package/build/commands/gecko.d.ts.map +1 -1
- package/build/commands/selenium.d.ts +26 -0
- package/build/commands/selenium.d.ts.map +1 -1
- package/build/commands/webdriver.d.ts +12 -5
- package/build/commands/webdriver.d.ts.map +1 -1
- package/build/types.d.ts +1 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/protocols/chromium.json +65 -0
- package/protocols/gecko.json +13 -0
- package/protocols/selenium.json +38 -0
- package/protocols/webdriver.json +13 -5
|
@@ -241,6 +241,46 @@ export default interface ChromiumCommands {
|
|
|
241
241
|
*
|
|
242
242
|
*/
|
|
243
243
|
resume(): void;
|
|
244
|
+
/**
|
|
245
|
+
* Chromium Protocol Command
|
|
246
|
+
*
|
|
247
|
+
* Returns the list of cast sinks (Cast devices) available to the Chrome media router.
|
|
248
|
+
* @ref https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#748
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
251
|
+
getCastSinks(): string[];
|
|
252
|
+
/**
|
|
253
|
+
* Chromium Protocol Command
|
|
254
|
+
*
|
|
255
|
+
* Selects a cast sink (Cast device) as the recipient of media router intents (connect or play).
|
|
256
|
+
* @ref https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#737
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
selectCastSink(sinkName: string): void;
|
|
260
|
+
/**
|
|
261
|
+
* Chromium Protocol Command
|
|
262
|
+
*
|
|
263
|
+
* Initiates tab mirroring for the current browser tab on the specified device.
|
|
264
|
+
* @ref https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#741
|
|
265
|
+
*
|
|
266
|
+
*/
|
|
267
|
+
startCastTabMirroring(sinkName: string): void;
|
|
268
|
+
/**
|
|
269
|
+
* Chromium Protocol Command
|
|
270
|
+
*
|
|
271
|
+
* Returns error message if there is any issue in a Cast session.
|
|
272
|
+
* @ref https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#751
|
|
273
|
+
*
|
|
274
|
+
*/
|
|
275
|
+
getCastIssueMessage(): string;
|
|
276
|
+
/**
|
|
277
|
+
* Chromium Protocol Command
|
|
278
|
+
*
|
|
279
|
+
* Stops casting from media router to the specified device, if connected.
|
|
280
|
+
* @ref https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#744
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
stopCasting(sinkName: string): void;
|
|
244
284
|
/**
|
|
245
285
|
* Chromium Protocol Command
|
|
246
286
|
*
|
|
@@ -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;;;;;;;;;;;;;;;;;;;OAmBG;IACH,oBAAoB,IAAI,MAAM,CAAC;IAE/B;;;;;;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a screenshot of the entire page.
|
|
6
|
+
* @ref https://phabricator.services.mozilla.com/source/mozilla-central/browse/default/testing/geckodriver/src/command.rs$43-46
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
fullPageScreenshot(): string;
|
|
2
10
|
/**
|
|
3
11
|
* Gecko Protocol Command
|
|
4
12
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gecko.d.ts","sourceRoot":"","sources":["../../src/commands/gecko.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,WAAW,aAAa;IAElC;;;;;;;;;;OAUG;IACH,aAAa,IAAI,MAAM,CAAC;IAExB;;;;;;;;;;;;OAYG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM,CAAC;IAExD;;;;;;;;;;;;;;;OAeG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
|
|
1
|
+
{"version":3,"file":"gecko.d.ts","sourceRoot":"","sources":["../../src/commands/gecko.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,WAAW,aAAa;IAElC;;;;;;OAMG;IACH,kBAAkB,IAAI,MAAM,CAAC;IAE7B;;;;;;;;;;OAUG;IACH,aAAa,IAAI,MAAM,CAAC;IAExB;;;;;;;;;;;;OAYG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM,CAAC;IAExD;;;;;;;;;;;;;;;OAeG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
|
|
@@ -40,5 +40,31 @@ export default interface SeleniumCommands {
|
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
42
|
manageSeleniumHubLifecycle(action: string): void;
|
|
43
|
+
/**
|
|
44
|
+
* Selenium Protocol Command
|
|
45
|
+
*
|
|
46
|
+
* Send GraphQL queries to the Selenium (hub or node) server to fetch data. (Only supported with Selenium v4 Server)
|
|
47
|
+
* @ref https://www.selenium.dev/documentation/grid/advanced_features/graphql_support/
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```js
|
|
51
|
+
* const result = await browser.queryGrid('{ nodesInfo { nodes { status, uri } } }');
|
|
52
|
+
* console.log(JSON.stringify(result, null, 4))
|
|
53
|
+
* //
|
|
54
|
+
* // outputs:
|
|
55
|
+
* // {
|
|
56
|
+
* // "data": {
|
|
57
|
+
* // "nodesInfo": {
|
|
58
|
+
* // "nodes": [{
|
|
59
|
+
* // "status": "UP",
|
|
60
|
+
* // "uri": "http://192.168.0.39:4444"
|
|
61
|
+
* // }]
|
|
62
|
+
* // }
|
|
63
|
+
* // }
|
|
64
|
+
* // }
|
|
65
|
+
* //
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
queryGrid(query: string): ProtocolCommandResponse;
|
|
43
69
|
}
|
|
44
70
|
//# sourceMappingURL=selenium.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selenium.d.ts","sourceRoot":"","sources":["../../src/commands/selenium.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAGlD,MAAM,CAAC,OAAO,WAAW,gBAAgB;IAErC;;;;;;OAMG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,YAAY,IAAI,uBAAuB,CAAC;IAExC;;;;;;OAMG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAE1D;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAEtD;;;;;;OAMG;IACH,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"selenium.d.ts","sourceRoot":"","sources":["../../src/commands/selenium.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAGlD,MAAM,CAAC,OAAO,WAAW,gBAAgB;IAErC;;;;;;OAMG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,YAAY,IAAI,uBAAuB,CAAC;IAExC;;;;;;OAMG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAE1D;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAEtD;;;;;;OAMG;IACH,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB,CAAC;CACrD"}
|
|
@@ -195,15 +195,22 @@ export default interface WebdriverCommands {
|
|
|
195
195
|
/**
|
|
196
196
|
* Webdriver Protocol Command
|
|
197
197
|
*
|
|
198
|
-
* The Find Element command is used to find an element in the current browsing context that can be used for future commands.
|
|
198
|
+
* The Find Element command is used to find an element in the current browsing context that can be used for future commands. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element.
|
|
199
199
|
* @ref https://w3c.github.io/webdriver/#dfn-find-element
|
|
200
200
|
*
|
|
201
|
+
* @example
|
|
202
|
+
* ```js
|
|
203
|
+
* // get element
|
|
204
|
+
* const elementRef = await browser.findElement('xpath', '//div')
|
|
205
|
+
* const element = await $(elementRef)
|
|
206
|
+
* await element.click()
|
|
207
|
+
* ```
|
|
201
208
|
*/
|
|
202
209
|
findElement(using: string, value: string): ElementReference;
|
|
203
210
|
/**
|
|
204
211
|
* Webdriver Protocol Command
|
|
205
212
|
*
|
|
206
|
-
* The Find Elements command is used to find elements in the current browsing context that can be used for future commands.
|
|
213
|
+
* The Find Elements command is used to find elements in the current browsing context that can be used for future commands. This command returns array of JSON representation of the elements that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).
|
|
207
214
|
* @ref https://w3c.github.io/webdriver/#dfn-find-elements
|
|
208
215
|
*
|
|
209
216
|
*/
|
|
@@ -211,7 +218,7 @@ export default interface WebdriverCommands {
|
|
|
211
218
|
/**
|
|
212
219
|
* Webdriver Protocol Command
|
|
213
220
|
*
|
|
214
|
-
* The Find Element From Element command is used to find an element from a web element in the current browsing context that can be used for future commands.
|
|
221
|
+
* The Find Element From Element command is used to find an element from a web element in the current browsing context that can be used for future commands. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).
|
|
215
222
|
* @ref https://w3c.github.io/webdriver/#dfn-find-element-from-element
|
|
216
223
|
*
|
|
217
224
|
*/
|
|
@@ -219,7 +226,7 @@ export default interface WebdriverCommands {
|
|
|
219
226
|
/**
|
|
220
227
|
* Webdriver Protocol Command
|
|
221
228
|
*
|
|
222
|
-
* The Find Elements From Element command is used to find elements from a web element in the current browsing context that can be used for future commands.
|
|
229
|
+
* The Find Elements From Element command is used to find elements from a web element in the current browsing context that can be used for future commands. This command returns array of JSON representation of the elements that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).
|
|
223
230
|
* @ref https://w3c.github.io/webdriver/#dfn-find-elements-from-element
|
|
224
231
|
*
|
|
225
232
|
*/
|
|
@@ -227,7 +234,7 @@ export default interface WebdriverCommands {
|
|
|
227
234
|
/**
|
|
228
235
|
* Webdriver Protocol Command
|
|
229
236
|
*
|
|
230
|
-
* Get Active Element returns the active element of the current browsing context’s document element.
|
|
237
|
+
* Get Active Element returns the active element of the current browsing context’s document element. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).
|
|
231
238
|
* @ref https://w3c.github.io/webdriver/#dfn-get-active-element
|
|
232
239
|
*
|
|
233
240
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webdriver.d.ts","sourceRoot":"","sources":["../../src/commands/webdriver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAG7I,MAAM,CAAC,OAAO,WAAW,iBAAiB;IAEtC;;;;;;OAMG;IACH,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAAC;IAEhD;;;;;;OAMG;IACH,aAAa,IAAI,IAAI,CAAC;IAEtB;;;;;;OAMG;IACH,MAAM,IAAI,YAAY,CAAC;IAEvB;;;;;;OAMG;IACH,WAAW,IAAI,QAAQ,CAAC;IAExB;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzE;;;;;;OAMG;IACH,MAAM,IAAI,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,CAAC;IAEb;;;;;;OAMG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;;;OAMG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;;;OAMG;IACH,QAAQ,IAAI,MAAM,CAAC;IAEnB;;;;;;OAMG;IACH,eAAe,IAAI,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,WAAW,IAAI,IAAI,CAAC;IAEpB;;;;;;OAMG;IACH,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;;;;OAMG;IACH,YAAY,CAAC,IAAI,EAAE,KAAK,G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AAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAErK;;;;;;OAMG;IACH,cAAc,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9C;;;;;;OAMG;IACH,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpD;;;;;;OAMG;IACH,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtE;;;;;;OAMG;IACH,eAAe,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CACxE"}
|
package/build/types.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface Timeouts {
|
|
|
45
45
|
pageLoad?: number;
|
|
46
46
|
script?: number;
|
|
47
47
|
}
|
|
48
|
-
export declare type SameSiteOptions = 'Lax' | 'Strict';
|
|
48
|
+
export declare type SameSiteOptions = 'Lax' | 'Strict' | 'None';
|
|
49
49
|
export interface Cookie {
|
|
50
50
|
/**
|
|
51
51
|
* The name of the cookie.
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,uBAAuB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAGD,MAAM,WAAW,aAAc,SAAQ,0BAA0B,CAAC,uBAAuB;CAAI;AAE7F,MAAM,WAAW,YAAa,SAAQ,uBAAuB;IACzD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,kBAAkB,GAAG,qCAAqC,CAAA;AACtE,oBAAY,gBAAgB,GAAG,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAA;AAEjE,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,MAAM,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IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAChC;AAED,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAA;CACpB;AAED,oBAAY,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAA;AACxC,oBAAY,YAAY,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAA;AAEtE;;;;;;;GAOG;AACH,oBAAY,qBAAqB,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/protocols",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.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": "5aba1c7aeeb2592fe90cc3ba64129b4668a5dde1"
|
|
28
28
|
}
|
package/protocols/chromium.json
CHANGED
|
@@ -364,6 +364,71 @@
|
|
|
364
364
|
"parameters": []
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
|
+
"/session/:sessionId/goog/cast/get_sinks": {
|
|
368
|
+
"GET": {
|
|
369
|
+
"command": "getCastSinks",
|
|
370
|
+
"description": "Returns the list of cast sinks (Cast devices) available to the Chrome media router.",
|
|
371
|
+
"ref": "https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#748",
|
|
372
|
+
"parameters": [],
|
|
373
|
+
"returns": {
|
|
374
|
+
"type": "string[]",
|
|
375
|
+
"name": "sinks",
|
|
376
|
+
"description": "List of available sinks."
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"/session/:sessionId/goog/cast/set_sink_to_use": {
|
|
381
|
+
"POST": {
|
|
382
|
+
"command": "selectCastSink",
|
|
383
|
+
"description": "Selects a cast sink (Cast device) as the recipient of media router intents (connect or play).",
|
|
384
|
+
"ref": "https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#737",
|
|
385
|
+
"parameters": [{
|
|
386
|
+
"name": "sinkName",
|
|
387
|
+
"type": "string",
|
|
388
|
+
"description": "The name of the target device.",
|
|
389
|
+
"required": true
|
|
390
|
+
}]
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"/session/:sessionId/goog/cast/start_tab_mirroring": {
|
|
394
|
+
"POST": {
|
|
395
|
+
"command": "startCastTabMirroring",
|
|
396
|
+
"description": "Initiates tab mirroring for the current browser tab on the specified device.",
|
|
397
|
+
"ref": "https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#741",
|
|
398
|
+
"parameters": [{
|
|
399
|
+
"name": "sinkName",
|
|
400
|
+
"type": "string",
|
|
401
|
+
"description": "The name of the target device.",
|
|
402
|
+
"required": true
|
|
403
|
+
}]
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"/session/:sessionId/goog/cast/get_issue_message": {
|
|
407
|
+
"GET": {
|
|
408
|
+
"command": "getCastIssueMessage",
|
|
409
|
+
"description": "Returns error message if there is any issue in a Cast session.",
|
|
410
|
+
"ref": "https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#751",
|
|
411
|
+
"parameters": [],
|
|
412
|
+
"returns": {
|
|
413
|
+
"type": "String",
|
|
414
|
+
"name": "message",
|
|
415
|
+
"description": "Error message, if any."
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"/session/:sessionId/goog/cast/stop_casting": {
|
|
420
|
+
"POST": {
|
|
421
|
+
"command": "stopCasting",
|
|
422
|
+
"description": "Stops casting from media router to the specified device, if connected.",
|
|
423
|
+
"ref": "https://chromium.googlesource.com/chromium/src/+/refs/tags/73.0.3683.121/chrome/test/chromedriver/server/http_handler.cc#744",
|
|
424
|
+
"parameters": [{
|
|
425
|
+
"name": "sinkName",
|
|
426
|
+
"type": "string",
|
|
427
|
+
"description": "The name of the target device.",
|
|
428
|
+
"required": true
|
|
429
|
+
}]
|
|
430
|
+
}
|
|
431
|
+
},
|
|
367
432
|
"/shutdown": {
|
|
368
433
|
"POST": {
|
|
369
434
|
"command": "shutdown",
|
package/protocols/gecko.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
+
"/session/:sessionId/moz/screenshot/full": {
|
|
3
|
+
"GET": {
|
|
4
|
+
"command": "fullPageScreenshot",
|
|
5
|
+
"description": "Captures a screenshot of the entire page.",
|
|
6
|
+
"ref": "https://phabricator.services.mozilla.com/source/mozilla-central/browse/default/testing/geckodriver/src/command.rs$43-46",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"returns": {
|
|
9
|
+
"type": "String",
|
|
10
|
+
"name": "screenshot",
|
|
11
|
+
"description": "The base64-encoded PNG image data comprising the screenshot of the full page."
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
2
15
|
"/session/:sessionId/moz/context": {
|
|
3
16
|
"GET": {
|
|
4
17
|
"command": "getMozContext",
|
package/protocols/selenium.json
CHANGED
|
@@ -80,5 +80,43 @@
|
|
|
80
80
|
"description": "Command to call on Selenium Hub. The only implemented action is to 'shutdown' the hub."
|
|
81
81
|
}]
|
|
82
82
|
}
|
|
83
|
+
},
|
|
84
|
+
"/graphql": {
|
|
85
|
+
"POST": {
|
|
86
|
+
"isHubCommand": true,
|
|
87
|
+
"command": "queryGrid",
|
|
88
|
+
"description": "Send GraphQL queries to the Selenium (hub or node) server to fetch data. (Only supported with Selenium v4 Server)",
|
|
89
|
+
"ref": "https://www.selenium.dev/documentation/grid/advanced_features/graphql_support/",
|
|
90
|
+
"parameters": [{
|
|
91
|
+
"name": "query",
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "A GraphQL query to be send to the server.",
|
|
94
|
+
"required": true
|
|
95
|
+
}],
|
|
96
|
+
"examples": [
|
|
97
|
+
[
|
|
98
|
+
"const result = await browser.queryGrid('{ nodesInfo { nodes { status, uri } } }');",
|
|
99
|
+
"console.log(JSON.stringify(result, null, 4))",
|
|
100
|
+
"/**",
|
|
101
|
+
" * outputs:",
|
|
102
|
+
" * {",
|
|
103
|
+
" * \"data\": {",
|
|
104
|
+
" * \"nodesInfo\": {",
|
|
105
|
+
" * \"nodes\": [{",
|
|
106
|
+
" * \"status\": \"UP\",",
|
|
107
|
+
" * \"uri\": \"http://192.168.0.39:4444\"",
|
|
108
|
+
" * }]",
|
|
109
|
+
" * }",
|
|
110
|
+
" * }",
|
|
111
|
+
" * }",
|
|
112
|
+
" */"
|
|
113
|
+
]
|
|
114
|
+
],
|
|
115
|
+
"returns": {
|
|
116
|
+
"type": "Object",
|
|
117
|
+
"name": "data",
|
|
118
|
+
"description": "Result of the GraphQL query."
|
|
119
|
+
}
|
|
120
|
+
}
|
|
83
121
|
}
|
|
84
122
|
}
|
package/protocols/webdriver.json
CHANGED
|
@@ -374,8 +374,16 @@
|
|
|
374
374
|
"/session/:sessionId/element": {
|
|
375
375
|
"POST": {
|
|
376
376
|
"command": "findElement",
|
|
377
|
-
"description": "The Find Element command is used to find an element in the current browsing context that can be used for future commands.",
|
|
377
|
+
"description": "The Find Element command is used to find an element in the current browsing context that can be used for future commands. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element.",
|
|
378
378
|
"ref": "https://w3c.github.io/webdriver/#dfn-find-element",
|
|
379
|
+
"examples": [
|
|
380
|
+
[
|
|
381
|
+
"// get element",
|
|
382
|
+
"const elementRef = await browser.findElement('xpath', '//div')",
|
|
383
|
+
"const element = await $(elementRef)",
|
|
384
|
+
"await element.click()"
|
|
385
|
+
]
|
|
386
|
+
],
|
|
379
387
|
"parameters": [{
|
|
380
388
|
"name": "using",
|
|
381
389
|
"type": "string",
|
|
@@ -397,7 +405,7 @@
|
|
|
397
405
|
"/session/:sessionId/elements": {
|
|
398
406
|
"POST": {
|
|
399
407
|
"command": "findElements",
|
|
400
|
-
"description": "The Find Elements command is used to find elements in the current browsing context that can be used for future commands.",
|
|
408
|
+
"description": "The Find Elements command is used to find elements in the current browsing context that can be used for future commands. This command returns array of JSON representation of the elements that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).",
|
|
401
409
|
"ref": "https://w3c.github.io/webdriver/#dfn-find-elements",
|
|
402
410
|
"parameters": [{
|
|
403
411
|
"name": "using",
|
|
@@ -420,7 +428,7 @@
|
|
|
420
428
|
"/session/:sessionId/element/:elementId/element": {
|
|
421
429
|
"POST": {
|
|
422
430
|
"command": "findElementFromElement",
|
|
423
|
-
"description": "The Find Element From Element command is used to find an element from a web element in the current browsing context that can be used for future commands.",
|
|
431
|
+
"description": "The Find Element From Element command is used to find an element from a web element in the current browsing context that can be used for future commands. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).",
|
|
424
432
|
"ref": "https://w3c.github.io/webdriver/#dfn-find-element-from-element",
|
|
425
433
|
"variables": [{
|
|
426
434
|
"name": "elementId",
|
|
@@ -447,7 +455,7 @@
|
|
|
447
455
|
"/session/:sessionId/element/:elementId/elements": {
|
|
448
456
|
"POST": {
|
|
449
457
|
"command": "findElementsFromElement",
|
|
450
|
-
"description": "The Find Elements From Element command is used to find elements from a web element in the current browsing context that can be used for future commands.",
|
|
458
|
+
"description": "The Find Elements From Element command is used to find elements from a web element in the current browsing context that can be used for future commands. This command returns array of JSON representation of the elements that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).",
|
|
451
459
|
"ref": "https://w3c.github.io/webdriver/#dfn-find-elements-from-element",
|
|
452
460
|
"variables": [{
|
|
453
461
|
"name": "elementId",
|
|
@@ -474,7 +482,7 @@
|
|
|
474
482
|
"/session/:sessionId/element/active": {
|
|
475
483
|
"GET": {
|
|
476
484
|
"command": "getActiveElement",
|
|
477
|
-
"description": "Get Active Element returns the active element of the current browsing context’s document element.",
|
|
485
|
+
"description": "Get Active Element returns the active element of the current browsing context’s document element. This command returns JSON representation of the element that can be passed to $ command to transform the reference to an extended WebdriverIO element (See findElement).",
|
|
478
486
|
"ref": "https://w3c.github.io/webdriver/#dfn-get-active-element",
|
|
479
487
|
"parameters": [],
|
|
480
488
|
"returns": {
|