@wdio/protocols 8.10.2 → 8.14.6
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/jsonwp.d.ts +2 -2
- package/build/commands/jsonwp.d.ts.map +1 -1
- package/build/commands/webdriver.d.ts +2 -2
- package/build/commands/webdriver.d.ts.map +1 -1
- package/build/index.d.ts +2 -3
- package/build/index.d.ts.map +1 -1
- package/build/protocols/jsonwp.d.ts +6 -1
- package/build/protocols/jsonwp.d.ts.map +1 -1
- package/build/protocols/jsonwp.js +6 -1
- package/build/protocols/webdriver.d.ts +6 -1
- package/build/protocols/webdriver.d.ts.map +1 -1
- package/build/protocols/webdriver.js +6 -1
- package/build/protocols/webdriverBidi.d.ts +350 -0
- package/build/protocols/webdriverBidi.d.ts.map +1 -1
- package/build/protocols/webdriverBidi.js +428 -34
- package/build/types.d.ts +7 -0
- package/build/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/build/commands/webdriverBidi.d.ts +0 -20
- package/build/commands/webdriverBidi.d.ts.map +0 -1
- package/build/commands/webdriverBidi.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StatusReturn, SessionReturn, ProtocolCommandResponse, RectReturn, ElementReference, Cookie } from '../types.js';
|
|
1
|
+
import type { StatusReturn, SessionReturn, ProtocolCommandResponse, DeleteSessionOpts, RectReturn, ElementReference, Cookie } from '../types.js';
|
|
2
2
|
export default interface JsonwpCommands {
|
|
3
3
|
/**
|
|
4
4
|
* Jsonwp Protocol Command
|
|
@@ -39,7 +39,7 @@ export default interface JsonwpCommands {
|
|
|
39
39
|
* @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionid
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
|
-
deleteSession(): Promise<void>;
|
|
42
|
+
deleteSession(deleteSessionOpts?: DeleteSessionOpts): Promise<void>;
|
|
43
43
|
/**
|
|
44
44
|
* Jsonwp Protocol Command
|
|
45
45
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonwp.d.ts","sourceRoot":"","sources":["../../src/commands/jsonwp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"jsonwp.d.ts","sourceRoot":"","sources":["../../src/commands/jsonwp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAGhJ,MAAM,CAAC,OAAO,WAAW,cAAc;IAEnC;;;;;;OAMG;IACH,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,UAAU,CAAC,mBAAmB,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE9F;;;;;;OAMG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEjC;;;;;;OAMG;IACH,UAAU,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,aAAa,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpE;;;;;;OAMG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;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;;OAMG;IACH,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEvC;;;;;;OAMG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D;;;;;;OAMG;IACH,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;OAMG;IACH,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEpD;;;;;;OAMG;IACH,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;;;;;OAMG;IACH,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEzC;;;;;;OAMG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEzC;;;;;;OAMG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEjC;;;;;;OAMG;IACH,yBAAyB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAChD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SessionReturn, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js';
|
|
1
|
+
import type { SessionReturn, DeleteSessionOpts, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js';
|
|
2
2
|
export default interface WebdriverCommands {
|
|
3
3
|
/**
|
|
4
4
|
* Webdriver Protocol Command
|
|
@@ -15,7 +15,7 @@ export default interface WebdriverCommands {
|
|
|
15
15
|
* @ref https://w3c.github.io/webdriver/#dfn-delete-session
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
|
-
deleteSession(): Promise<void>;
|
|
18
|
+
deleteSession(deleteSessionOpts?: DeleteSessionOpts): Promise<void>;
|
|
19
19
|
/**
|
|
20
20
|
* Webdriver Protocol Command
|
|
21
21
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webdriver.d.ts","sourceRoot":"","sources":["../../src/commands/webdriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"webdriver.d.ts","sourceRoot":"","sources":["../../src/commands/webdriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAGhM,MAAM,CAAC,OAAO,WAAW,iBAAiB;IAEtC;;;;;;OAMG;IACH,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAEzD;;;;;;OAMG;IACH,aAAa,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpE;;;;;;OAMG;IACH,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,WAAW,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEjC;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElF;;;;;;OAMG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1B;;;;;;OAMG;IACH,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O,CAAC,IAAI,CAAC,CAAC;IAE7D;;;;;;OAMG;IACH,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/E;;;;;;OAMG;IACH,eAAe,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACjF"}
|
package/build/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import type MJSONWPCommands from './commands/mjsonwp.js';
|
|
|
6
6
|
import type SauceLabsCommands from './commands/saucelabs.js';
|
|
7
7
|
import type SeleniumCommands from './commands/selenium.js';
|
|
8
8
|
import type WebDriverCommands from './commands/webdriver.js';
|
|
9
|
-
import type WebDriverBidiCommands from './commands/webdriverBidi.js';
|
|
10
9
|
import WebDriverProtocol from './protocols/webdriver.js';
|
|
11
10
|
import WebDriverBidiProtocol from './protocols/webdriverBidi.js';
|
|
12
11
|
import MJsonWProtocol from './protocols/mjsonwp.js';
|
|
@@ -16,9 +15,9 @@ import ChromiumProtocol from './protocols/chromium.js';
|
|
|
16
15
|
import GeckoProtocol from './protocols/gecko.js';
|
|
17
16
|
import SauceLabsProtocol from './protocols/saucelabs.js';
|
|
18
17
|
import SeleniumProtocol from './protocols/selenium.js';
|
|
19
|
-
export interface ProtocolCommands extends WebDriverCommands, Omit<JSONWPCommands, keyof WebDriverCommands>, AppiumCommands, ChromiumCommands, Omit<MJSONWPCommands, keyof AppiumCommands | keyof ChromiumCommands>, SauceLabsCommands, SeleniumCommands, GeckoCommands
|
|
18
|
+
export interface ProtocolCommands extends WebDriverCommands, Omit<JSONWPCommands, keyof WebDriverCommands>, AppiumCommands, ChromiumCommands, Omit<MJSONWPCommands, keyof AppiumCommands | keyof ChromiumCommands>, SauceLabsCommands, SeleniumCommands, GeckoCommands {
|
|
20
19
|
}
|
|
21
20
|
export * from './types.js';
|
|
22
|
-
export { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol, GeckoProtocol, WebDriverBidiProtocol, AppiumCommands, ChromiumCommands, JSONWPCommands, MJSONWPCommands, SauceLabsCommands, SeleniumCommands, WebDriverCommands, GeckoCommands
|
|
21
|
+
export { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol, GeckoProtocol, WebDriverBidiProtocol, AppiumCommands, ChromiumCommands, JSONWPCommands, MJSONWPCommands, SauceLabsCommands, SeleniumCommands, WebDriverCommands, GeckoCommands };
|
|
23
22
|
export declare const CAPABILITY_KEYS: string[];
|
|
24
23
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAE5D,OAAO,iBAAiB,MAAM,0BAA0B,CAAA;AACxD,OAAO,qBAAqB,MAAM,8BAA8B,CAAA;AAChE,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,aAAa,MAAM,uBAAuB,CAAA;AACjD,OAAO,cAAc,MAAM,uBAAuB,CAAA;AAClD,OAAO,gBAAgB,MAAM,yBAAyB,CAAA;AACtD,OAAO,aAAa,MAAM,sBAAsB,CAAA;AAChD,OAAO,iBAAiB,MAAM,0BAA0B,CAAA;AACxD,OAAO,gBAAgB,MAAM,yBAAyB,CAAA;AAEtD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,iBAAiB,CAAC,EAAE,cAAc,EAAE,gBAAgB,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,cAAc,GAAG,MAAM,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa;CAAG;AAEzQ,cAAc,YAAY,CAAA;AAC1B,OAAO,EAEH,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAChE,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,EACpE,qBAAqB,EAErB,cAAc,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EACjE,iBAAiB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EACxE,CAAA;AAED,eAAO,MAAM,eAAe,UAI3B,CAAA"}
|
|
@@ -64,7 +64,12 @@ declare const _default: {
|
|
|
64
64
|
command: string;
|
|
65
65
|
description: string;
|
|
66
66
|
ref: string;
|
|
67
|
-
parameters:
|
|
67
|
+
parameters: {
|
|
68
|
+
name: string;
|
|
69
|
+
type: string;
|
|
70
|
+
description: string;
|
|
71
|
+
required: boolean;
|
|
72
|
+
}[];
|
|
68
73
|
};
|
|
69
74
|
};
|
|
70
75
|
'/session/:sessionId/timeouts': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonwp.d.ts","sourceRoot":"","sources":["../../src/protocols/jsonwp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jsonwp.d.ts","sourceRoot":"","sources":["../../src/protocols/jsonwp.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4iDC"}
|
|
@@ -66,7 +66,12 @@ export default {
|
|
|
66
66
|
command: 'deleteSession',
|
|
67
67
|
description: 'Delete the session.',
|
|
68
68
|
ref: 'https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionid',
|
|
69
|
-
parameters: [
|
|
69
|
+
parameters: [{
|
|
70
|
+
name: 'deleteSessionOpts',
|
|
71
|
+
type: 'object',
|
|
72
|
+
description: 'Object containing options for the deleteSession command, e.g. `{ shutdownDriver: boolean }`',
|
|
73
|
+
required: false,
|
|
74
|
+
}],
|
|
70
75
|
},
|
|
71
76
|
},
|
|
72
77
|
'/session/:sessionId/timeouts': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webdriver.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webdriver.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4qDC"}
|
|
@@ -24,7 +24,12 @@ export default {
|
|
|
24
24
|
command: 'deleteSession',
|
|
25
25
|
description: 'The Delete Session command closes any top-level browsing contexts associated with the current session, terminates the connection, and finally closes the current session.',
|
|
26
26
|
ref: 'https://w3c.github.io/webdriver/#dfn-delete-session',
|
|
27
|
-
parameters: [
|
|
27
|
+
parameters: [{
|
|
28
|
+
name: 'deleteSessionOpts',
|
|
29
|
+
type: 'object',
|
|
30
|
+
description: 'Object containing options for the deleteSession command, e.g. `{ shutdownDriver: boolean }`',
|
|
31
|
+
required: false,
|
|
32
|
+
}],
|
|
28
33
|
},
|
|
29
34
|
},
|
|
30
35
|
'/status': {
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* !!! PLEASE DO NOT EDIT THIS FILE !!!
|
|
3
|
+
*
|
|
4
|
+
* This source file, even though checked in, is auto-generated based on the
|
|
5
|
+
* current development within the WebDriver Bidi spec. Any changes to this
|
|
6
|
+
* file need to come from the specification. You can generate this file by calling
|
|
7
|
+
*
|
|
8
|
+
* ```
|
|
9
|
+
* $ npm run generate:bidi
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* from the project root. You can find the scripts that generates this file in
|
|
13
|
+
* ./scripts/bidi/**
|
|
14
|
+
*/
|
|
1
15
|
declare const _default: {
|
|
2
16
|
sendCommand: {
|
|
3
17
|
socket: {
|
|
@@ -18,6 +32,342 @@ declare const _default: {
|
|
|
18
32
|
};
|
|
19
33
|
};
|
|
20
34
|
sendAsyncCommand: {
|
|
35
|
+
socket: {
|
|
36
|
+
command: string;
|
|
37
|
+
description: string;
|
|
38
|
+
ref: string;
|
|
39
|
+
parameters: {
|
|
40
|
+
name: string;
|
|
41
|
+
type: string;
|
|
42
|
+
description: string;
|
|
43
|
+
required: boolean;
|
|
44
|
+
}[];
|
|
45
|
+
returns: {
|
|
46
|
+
type: string;
|
|
47
|
+
name: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
"session.status": {
|
|
53
|
+
socket: {
|
|
54
|
+
command: string;
|
|
55
|
+
description: string;
|
|
56
|
+
ref: string;
|
|
57
|
+
parameters: {
|
|
58
|
+
name: string;
|
|
59
|
+
type: string;
|
|
60
|
+
description: string;
|
|
61
|
+
required: boolean;
|
|
62
|
+
}[];
|
|
63
|
+
returns: {
|
|
64
|
+
type: string;
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
"session.new": {
|
|
71
|
+
socket: {
|
|
72
|
+
command: string;
|
|
73
|
+
description: string;
|
|
74
|
+
ref: string;
|
|
75
|
+
parameters: {
|
|
76
|
+
name: string;
|
|
77
|
+
type: string;
|
|
78
|
+
description: string;
|
|
79
|
+
required: boolean;
|
|
80
|
+
}[];
|
|
81
|
+
returns: {
|
|
82
|
+
type: string;
|
|
83
|
+
name: string;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
"session.end": {
|
|
89
|
+
socket: {
|
|
90
|
+
command: string;
|
|
91
|
+
description: string;
|
|
92
|
+
ref: string;
|
|
93
|
+
parameters: {
|
|
94
|
+
name: string;
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
97
|
+
required: boolean;
|
|
98
|
+
}[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
"session.subscribe": {
|
|
102
|
+
socket: {
|
|
103
|
+
command: string;
|
|
104
|
+
description: string;
|
|
105
|
+
ref: string;
|
|
106
|
+
parameters: {
|
|
107
|
+
name: string;
|
|
108
|
+
type: string;
|
|
109
|
+
description: string;
|
|
110
|
+
required: boolean;
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
"session.unsubscribe": {
|
|
115
|
+
socket: {
|
|
116
|
+
command: string;
|
|
117
|
+
description: string;
|
|
118
|
+
ref: string;
|
|
119
|
+
parameters: {
|
|
120
|
+
name: string;
|
|
121
|
+
type: string;
|
|
122
|
+
description: string;
|
|
123
|
+
required: boolean;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
"browser.close": {
|
|
128
|
+
socket: {
|
|
129
|
+
command: string;
|
|
130
|
+
description: string;
|
|
131
|
+
ref: string;
|
|
132
|
+
parameters: {
|
|
133
|
+
name: string;
|
|
134
|
+
type: string;
|
|
135
|
+
description: string;
|
|
136
|
+
required: boolean;
|
|
137
|
+
}[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
"browsingContext.captureScreenshot": {
|
|
141
|
+
socket: {
|
|
142
|
+
command: string;
|
|
143
|
+
description: string;
|
|
144
|
+
ref: string;
|
|
145
|
+
parameters: {
|
|
146
|
+
name: string;
|
|
147
|
+
type: string;
|
|
148
|
+
description: string;
|
|
149
|
+
required: boolean;
|
|
150
|
+
}[];
|
|
151
|
+
returns: {
|
|
152
|
+
type: string;
|
|
153
|
+
name: string;
|
|
154
|
+
description: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
"browsingContext.close": {
|
|
159
|
+
socket: {
|
|
160
|
+
command: string;
|
|
161
|
+
description: string;
|
|
162
|
+
ref: string;
|
|
163
|
+
parameters: {
|
|
164
|
+
name: string;
|
|
165
|
+
type: string;
|
|
166
|
+
description: string;
|
|
167
|
+
required: boolean;
|
|
168
|
+
}[];
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
"browsingContext.create": {
|
|
172
|
+
socket: {
|
|
173
|
+
command: string;
|
|
174
|
+
description: string;
|
|
175
|
+
ref: string;
|
|
176
|
+
parameters: {
|
|
177
|
+
name: string;
|
|
178
|
+
type: string;
|
|
179
|
+
description: string;
|
|
180
|
+
required: boolean;
|
|
181
|
+
}[];
|
|
182
|
+
returns: {
|
|
183
|
+
type: string;
|
|
184
|
+
name: string;
|
|
185
|
+
description: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
"browsingContext.getTree": {
|
|
190
|
+
socket: {
|
|
191
|
+
command: string;
|
|
192
|
+
description: string;
|
|
193
|
+
ref: string;
|
|
194
|
+
parameters: {
|
|
195
|
+
name: string;
|
|
196
|
+
type: string;
|
|
197
|
+
description: string;
|
|
198
|
+
required: boolean;
|
|
199
|
+
}[];
|
|
200
|
+
returns: {
|
|
201
|
+
type: string;
|
|
202
|
+
name: string;
|
|
203
|
+
description: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
"browsingContext.handleUserPrompt": {
|
|
208
|
+
socket: {
|
|
209
|
+
command: string;
|
|
210
|
+
description: string;
|
|
211
|
+
ref: string;
|
|
212
|
+
parameters: {
|
|
213
|
+
name: string;
|
|
214
|
+
type: string;
|
|
215
|
+
description: string;
|
|
216
|
+
required: boolean;
|
|
217
|
+
}[];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
"browsingContext.navigate": {
|
|
221
|
+
socket: {
|
|
222
|
+
command: string;
|
|
223
|
+
description: string;
|
|
224
|
+
ref: string;
|
|
225
|
+
parameters: {
|
|
226
|
+
name: string;
|
|
227
|
+
type: string;
|
|
228
|
+
description: string;
|
|
229
|
+
required: boolean;
|
|
230
|
+
}[];
|
|
231
|
+
returns: {
|
|
232
|
+
type: string;
|
|
233
|
+
name: string;
|
|
234
|
+
description: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
"browsingContext.print": {
|
|
239
|
+
socket: {
|
|
240
|
+
command: string;
|
|
241
|
+
description: string;
|
|
242
|
+
ref: string;
|
|
243
|
+
parameters: {
|
|
244
|
+
name: string;
|
|
245
|
+
type: string;
|
|
246
|
+
description: string;
|
|
247
|
+
required: boolean;
|
|
248
|
+
}[];
|
|
249
|
+
returns: {
|
|
250
|
+
type: string;
|
|
251
|
+
name: string;
|
|
252
|
+
description: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
"browsingContext.reload": {
|
|
257
|
+
socket: {
|
|
258
|
+
command: string;
|
|
259
|
+
description: string;
|
|
260
|
+
ref: string;
|
|
261
|
+
parameters: {
|
|
262
|
+
name: string;
|
|
263
|
+
type: string;
|
|
264
|
+
description: string;
|
|
265
|
+
required: boolean;
|
|
266
|
+
}[];
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
"script.addPreloadScript": {
|
|
270
|
+
socket: {
|
|
271
|
+
command: string;
|
|
272
|
+
description: string;
|
|
273
|
+
ref: string;
|
|
274
|
+
parameters: {
|
|
275
|
+
name: string;
|
|
276
|
+
type: string;
|
|
277
|
+
description: string;
|
|
278
|
+
required: boolean;
|
|
279
|
+
}[];
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
"script.disown": {
|
|
283
|
+
socket: {
|
|
284
|
+
command: string;
|
|
285
|
+
description: string;
|
|
286
|
+
ref: string;
|
|
287
|
+
parameters: {
|
|
288
|
+
name: string;
|
|
289
|
+
type: string;
|
|
290
|
+
description: string;
|
|
291
|
+
required: boolean;
|
|
292
|
+
}[];
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
"script.callFunction": {
|
|
296
|
+
socket: {
|
|
297
|
+
command: string;
|
|
298
|
+
description: string;
|
|
299
|
+
ref: string;
|
|
300
|
+
parameters: {
|
|
301
|
+
name: string;
|
|
302
|
+
type: string;
|
|
303
|
+
description: string;
|
|
304
|
+
required: boolean;
|
|
305
|
+
}[];
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
"script.evaluate": {
|
|
309
|
+
socket: {
|
|
310
|
+
command: string;
|
|
311
|
+
description: string;
|
|
312
|
+
ref: string;
|
|
313
|
+
parameters: {
|
|
314
|
+
name: string;
|
|
315
|
+
type: string;
|
|
316
|
+
description: string;
|
|
317
|
+
required: boolean;
|
|
318
|
+
}[];
|
|
319
|
+
returns: {
|
|
320
|
+
type: string;
|
|
321
|
+
name: string;
|
|
322
|
+
description: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
"script.getRealms": {
|
|
327
|
+
socket: {
|
|
328
|
+
command: string;
|
|
329
|
+
description: string;
|
|
330
|
+
ref: string;
|
|
331
|
+
parameters: {
|
|
332
|
+
name: string;
|
|
333
|
+
type: string;
|
|
334
|
+
description: string;
|
|
335
|
+
required: boolean;
|
|
336
|
+
}[];
|
|
337
|
+
returns: {
|
|
338
|
+
type: string;
|
|
339
|
+
name: string;
|
|
340
|
+
description: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
"script.removePreloadScript": {
|
|
345
|
+
socket: {
|
|
346
|
+
command: string;
|
|
347
|
+
description: string;
|
|
348
|
+
ref: string;
|
|
349
|
+
parameters: {
|
|
350
|
+
name: string;
|
|
351
|
+
type: string;
|
|
352
|
+
description: string;
|
|
353
|
+
required: boolean;
|
|
354
|
+
}[];
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
"input.performActions": {
|
|
358
|
+
socket: {
|
|
359
|
+
command: string;
|
|
360
|
+
description: string;
|
|
361
|
+
ref: string;
|
|
362
|
+
parameters: {
|
|
363
|
+
name: string;
|
|
364
|
+
type: string;
|
|
365
|
+
description: string;
|
|
366
|
+
required: boolean;
|
|
367
|
+
}[];
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
"input.releaseActions": {
|
|
21
371
|
socket: {
|
|
22
372
|
command: string;
|
|
23
373
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriverBidi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriverBidi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wBAgaC"}
|
|
@@ -1,37 +1,431 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* !!! PLEASE DO NOT EDIT THIS FILE !!!
|
|
3
|
+
*
|
|
4
|
+
* This source file, even though checked in, is auto-generated based on the
|
|
5
|
+
* current development within the WebDriver Bidi spec. Any changes to this
|
|
6
|
+
* file need to come from the specification. You can generate this file by calling
|
|
7
|
+
*
|
|
8
|
+
* ```
|
|
9
|
+
* $ npm run generate:bidi
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* from the project root. You can find the scripts that generates this file in
|
|
13
|
+
* ./scripts/bidi/**
|
|
14
|
+
*/
|
|
1
15
|
export default {
|
|
2
|
-
sendCommand: {
|
|
3
|
-
socket: {
|
|
4
|
-
command:
|
|
5
|
-
description:
|
|
6
|
-
ref:
|
|
7
|
-
parameters: [
|
|
8
|
-
{
|
|
9
|
-
name:
|
|
10
|
-
type:
|
|
11
|
-
description:
|
|
12
|
-
required: true
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
returns: {
|
|
16
|
-
type:
|
|
17
|
-
name:
|
|
18
|
-
description:
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
sendAsyncCommand: {
|
|
23
|
-
socket: {
|
|
24
|
-
command:
|
|
25
|
-
description:
|
|
26
|
-
ref:
|
|
27
|
-
parameters: [
|
|
28
|
-
{
|
|
29
|
-
name:
|
|
30
|
-
type:
|
|
31
|
-
description:
|
|
32
|
-
required: true
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
|
|
16
|
+
"sendCommand": {
|
|
17
|
+
"socket": {
|
|
18
|
+
"command": "send",
|
|
19
|
+
"description": "Send socket commands via WebDriver Bidi",
|
|
20
|
+
"ref": "https://github.com/w3c/webdriver-bidi",
|
|
21
|
+
"parameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "params",
|
|
24
|
+
"type": "CommandData",
|
|
25
|
+
"description": "socket payload",
|
|
26
|
+
"required": true
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"returns": {
|
|
30
|
+
"type": "Object",
|
|
31
|
+
"name": "CommandResponse",
|
|
32
|
+
"description": "WebDriver Bidi response"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"sendAsyncCommand": {
|
|
37
|
+
"socket": {
|
|
38
|
+
"command": "sendAsync",
|
|
39
|
+
"description": "Send asynchronous socket commands via WebDriver Bidi",
|
|
40
|
+
"ref": "https://github.com/w3c/webdriver-bidi",
|
|
41
|
+
"parameters": [
|
|
42
|
+
{
|
|
43
|
+
"name": "params",
|
|
44
|
+
"type": "CommandData",
|
|
45
|
+
"description": "socket payload",
|
|
46
|
+
"required": true
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"returns": {
|
|
50
|
+
"type": "Number",
|
|
51
|
+
"name": "id",
|
|
52
|
+
"description": "id of WebDriver Bidi request"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"session.status": {
|
|
57
|
+
"socket": {
|
|
58
|
+
"command": "sessionStatus",
|
|
59
|
+
"description": "WebDriver Bidi command to send command method \"session.status\" with parameters.",
|
|
60
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-session-status",
|
|
61
|
+
"parameters": [
|
|
62
|
+
{
|
|
63
|
+
"name": "params",
|
|
64
|
+
"type": "`remote.EmptyParams`",
|
|
65
|
+
"description": "<pre>{}</pre>",
|
|
66
|
+
"required": true
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"returns": {
|
|
70
|
+
"type": "Object",
|
|
71
|
+
"name": "local.SessionStatusResult",
|
|
72
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n ready: boolean;\n message: string;\n }\n ```"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"session.new": {
|
|
77
|
+
"socket": {
|
|
78
|
+
"command": "sessionNew",
|
|
79
|
+
"description": "WebDriver Bidi command to send command method \"session.new\" with parameters.",
|
|
80
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-session-new",
|
|
81
|
+
"parameters": [
|
|
82
|
+
{
|
|
83
|
+
"name": "params",
|
|
84
|
+
"type": "`remote.SessionNewParameters`",
|
|
85
|
+
"description": "<pre>{<br /> capabilities: SessionCapabilitiesRequest;<br />}</pre>",
|
|
86
|
+
"required": true
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"returns": {
|
|
90
|
+
"type": "Object",
|
|
91
|
+
"name": "local.SessionNewResult",
|
|
92
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n sessionId: string;\n capabilities: {\n acceptInsecureCerts: boolean;\n browserName: string;\n browserVersion: string;\n platformName: string;\n proxy: {\n proxyType?: \"pac\" | \"direct\" | \"autodetect\" | \"system\" | \"manual\";\n proxyAutoconfigUrl?: string;\n ftpProxy?: string;\n httpProxy?: string;\n noProxy?: string[];\n sslProxy?: string;\n socksProxy?: string;\n socksVersion?: number;\n };\n setWindowRect: boolean;\n };\n }\n ```"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"session.end": {
|
|
97
|
+
"socket": {
|
|
98
|
+
"command": "sessionEnd",
|
|
99
|
+
"description": "WebDriver Bidi command to send command method \"session.end\" with parameters.",
|
|
100
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-session-end",
|
|
101
|
+
"parameters": [
|
|
102
|
+
{
|
|
103
|
+
"name": "params",
|
|
104
|
+
"type": "`remote.EmptyParams`",
|
|
105
|
+
"description": "<pre>{}</pre>",
|
|
106
|
+
"required": true
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"session.subscribe": {
|
|
112
|
+
"socket": {
|
|
113
|
+
"command": "sessionSubscribe",
|
|
114
|
+
"description": "WebDriver Bidi command to send command method \"session.subscribe\" with parameters.",
|
|
115
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-session-subscribe",
|
|
116
|
+
"parameters": [
|
|
117
|
+
{
|
|
118
|
+
"name": "params",
|
|
119
|
+
"type": "`remote.SessionSubscriptionRequest`",
|
|
120
|
+
"description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
|
|
121
|
+
"required": true
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
36
125
|
},
|
|
126
|
+
"session.unsubscribe": {
|
|
127
|
+
"socket": {
|
|
128
|
+
"command": "sessionUnsubscribe",
|
|
129
|
+
"description": "WebDriver Bidi command to send command method \"session.unsubscribe\" with parameters.",
|
|
130
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe",
|
|
131
|
+
"parameters": [
|
|
132
|
+
{
|
|
133
|
+
"name": "params",
|
|
134
|
+
"type": "`remote.SessionSubscriptionRequest`",
|
|
135
|
+
"description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
|
|
136
|
+
"required": true
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"browser.close": {
|
|
142
|
+
"socket": {
|
|
143
|
+
"command": "browserClose",
|
|
144
|
+
"description": "WebDriver Bidi command to send command method \"browser.close\" with parameters.",
|
|
145
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browser-close",
|
|
146
|
+
"parameters": [
|
|
147
|
+
{
|
|
148
|
+
"name": "params",
|
|
149
|
+
"type": "`remote.EmptyParams`",
|
|
150
|
+
"description": "<pre>{}</pre>",
|
|
151
|
+
"required": true
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"browsingContext.captureScreenshot": {
|
|
157
|
+
"socket": {
|
|
158
|
+
"command": "browsingContextCaptureScreenshot",
|
|
159
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.captureScreenshot\" with parameters.",
|
|
160
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-captureScreenshot",
|
|
161
|
+
"parameters": [
|
|
162
|
+
{
|
|
163
|
+
"name": "params",
|
|
164
|
+
"type": "`remote.BrowsingContextCaptureScreenshotParameters`",
|
|
165
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
|
|
166
|
+
"required": true
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"returns": {
|
|
170
|
+
"type": "Object",
|
|
171
|
+
"name": "local.BrowsingContextCaptureScreenshotResult",
|
|
172
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n data: string;\n }\n ```"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"browsingContext.close": {
|
|
177
|
+
"socket": {
|
|
178
|
+
"command": "browsingContextClose",
|
|
179
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.close\" with parameters.",
|
|
180
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-close",
|
|
181
|
+
"parameters": [
|
|
182
|
+
{
|
|
183
|
+
"name": "params",
|
|
184
|
+
"type": "`remote.BrowsingContextCloseParameters`",
|
|
185
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
|
|
186
|
+
"required": true
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"browsingContext.create": {
|
|
192
|
+
"socket": {
|
|
193
|
+
"command": "browsingContextCreate",
|
|
194
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.create\" with parameters.",
|
|
195
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-create",
|
|
196
|
+
"parameters": [
|
|
197
|
+
{
|
|
198
|
+
"name": "params",
|
|
199
|
+
"type": "`remote.BrowsingContextCreateParameters`",
|
|
200
|
+
"description": "<pre>{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br />}</pre>",
|
|
201
|
+
"required": true
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"returns": {
|
|
205
|
+
"type": "Object",
|
|
206
|
+
"name": "local.BrowsingContextCreateResult",
|
|
207
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n context: BrowsingContextBrowsingContext;\n }\n ```"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"browsingContext.getTree": {
|
|
212
|
+
"socket": {
|
|
213
|
+
"command": "browsingContextGetTree",
|
|
214
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.getTree\" with parameters.",
|
|
215
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-getTree",
|
|
216
|
+
"parameters": [
|
|
217
|
+
{
|
|
218
|
+
"name": "params",
|
|
219
|
+
"type": "`remote.BrowsingContextGetTreeParameters`",
|
|
220
|
+
"description": "<pre>{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />}</pre>",
|
|
221
|
+
"required": true
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"returns": {
|
|
225
|
+
"type": "Object",
|
|
226
|
+
"name": "local.BrowsingContextGetTreeResult",
|
|
227
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n contexts: BrowsingContextInfoList;\n }\n ```"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"browsingContext.handleUserPrompt": {
|
|
232
|
+
"socket": {
|
|
233
|
+
"command": "browsingContextHandleUserPrompt",
|
|
234
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.handleUserPrompt\" with parameters.",
|
|
235
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt",
|
|
236
|
+
"parameters": [
|
|
237
|
+
{
|
|
238
|
+
"name": "params",
|
|
239
|
+
"type": "`remote.BrowsingContextHandleUserPromptParameters`",
|
|
240
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />}</pre>",
|
|
241
|
+
"required": true
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"browsingContext.navigate": {
|
|
247
|
+
"socket": {
|
|
248
|
+
"command": "browsingContextNavigate",
|
|
249
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.navigate\" with parameters.",
|
|
250
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-navigate",
|
|
251
|
+
"parameters": [
|
|
252
|
+
{
|
|
253
|
+
"name": "params",
|
|
254
|
+
"type": "`remote.BrowsingContextNavigateParameters`",
|
|
255
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
|
|
256
|
+
"required": true
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"returns": {
|
|
260
|
+
"type": "Object",
|
|
261
|
+
"name": "local.BrowsingContextNavigateResult",
|
|
262
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n navigation: BrowsingContextNavigation | null;\n url: string;\n }\n ```"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"browsingContext.print": {
|
|
267
|
+
"socket": {
|
|
268
|
+
"command": "browsingContextPrint",
|
|
269
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.print\" with parameters.",
|
|
270
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-print",
|
|
271
|
+
"parameters": [
|
|
272
|
+
{
|
|
273
|
+
"name": "params",
|
|
274
|
+
"type": "`remote.BrowsingContextPrintParameters`",
|
|
275
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" | \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint | string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />}</pre>",
|
|
276
|
+
"required": true
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"returns": {
|
|
280
|
+
"type": "Object",
|
|
281
|
+
"name": "local.BrowsingContextPrintResult",
|
|
282
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n data: string;\n }\n ```"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"browsingContext.reload": {
|
|
287
|
+
"socket": {
|
|
288
|
+
"command": "browsingContextReload",
|
|
289
|
+
"description": "WebDriver Bidi command to send command method \"browsingContext.reload\" with parameters.",
|
|
290
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload",
|
|
291
|
+
"parameters": [
|
|
292
|
+
{
|
|
293
|
+
"name": "params",
|
|
294
|
+
"type": "`remote.BrowsingContextReloadParameters`",
|
|
295
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
|
|
296
|
+
"required": true
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"script.addPreloadScript": {
|
|
302
|
+
"socket": {
|
|
303
|
+
"command": "scriptAddPreloadScriptCommand",
|
|
304
|
+
"description": "WebDriver Bidi command to send command method \"script.addPreloadScript\" with parameters.",
|
|
305
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript",
|
|
306
|
+
"parameters": [
|
|
307
|
+
{
|
|
308
|
+
"name": "params",
|
|
309
|
+
"type": "`remote.ScriptAddPreloadScriptParameters`",
|
|
310
|
+
"description": "<pre>{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> sandbox?: string;<br />}</pre>",
|
|
311
|
+
"required": true
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"script.disown": {
|
|
317
|
+
"socket": {
|
|
318
|
+
"command": "scriptDisown",
|
|
319
|
+
"description": "WebDriver Bidi command to send command method \"script.disown\" with parameters.",
|
|
320
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-disown",
|
|
321
|
+
"parameters": [
|
|
322
|
+
{
|
|
323
|
+
"name": "params",
|
|
324
|
+
"type": "`remote.ScriptDisownParameters`",
|
|
325
|
+
"description": "<pre>{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />}</pre>",
|
|
326
|
+
"required": true
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"script.callFunction": {
|
|
332
|
+
"socket": {
|
|
333
|
+
"command": "scriptCallFunction",
|
|
334
|
+
"description": "WebDriver Bidi command to send command method \"script.callFunction\" with parameters.",
|
|
335
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-callFunction",
|
|
336
|
+
"parameters": [
|
|
337
|
+
{
|
|
338
|
+
"name": "params",
|
|
339
|
+
"type": "`remote.ScriptCallFunctionParameters`",
|
|
340
|
+
"description": "<pre>{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptArgumentValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptArgumentValue;<br />}</pre>",
|
|
341
|
+
"required": true
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"script.evaluate": {
|
|
347
|
+
"socket": {
|
|
348
|
+
"command": "scriptEvaluate",
|
|
349
|
+
"description": "WebDriver Bidi command to send command method \"script.evaluate\" with parameters.",
|
|
350
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-evaluate",
|
|
351
|
+
"parameters": [
|
|
352
|
+
{
|
|
353
|
+
"name": "params",
|
|
354
|
+
"type": "`remote.ScriptEvaluateParameters`",
|
|
355
|
+
"description": "<pre>{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br />}</pre>",
|
|
356
|
+
"required": true
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"returns": {
|
|
360
|
+
"type": "Object",
|
|
361
|
+
"name": "local.ScriptEvaluateResult",
|
|
362
|
+
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"script.getRealms": {
|
|
367
|
+
"socket": {
|
|
368
|
+
"command": "scriptGetRealms",
|
|
369
|
+
"description": "WebDriver Bidi command to send command method \"script.getRealms\" with parameters.",
|
|
370
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-getRealms",
|
|
371
|
+
"parameters": [
|
|
372
|
+
{
|
|
373
|
+
"name": "params",
|
|
374
|
+
"type": "`remote.ScriptGetRealmsParameters`",
|
|
375
|
+
"description": "<pre>{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />}</pre>",
|
|
376
|
+
"required": true
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"returns": {
|
|
380
|
+
"type": "Object",
|
|
381
|
+
"name": "local.ScriptGetRealmsResult",
|
|
382
|
+
"description": "Command return value with the following interface:\n ```ts\n {\n realms: ScriptRealmInfo[];\n }\n ```"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"script.removePreloadScript": {
|
|
387
|
+
"socket": {
|
|
388
|
+
"command": "scriptRemovePreloadScriptCommand",
|
|
389
|
+
"description": "WebDriver Bidi command to send command method \"script.removePreloadScript\" with parameters.",
|
|
390
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript",
|
|
391
|
+
"parameters": [
|
|
392
|
+
{
|
|
393
|
+
"name": "params",
|
|
394
|
+
"type": "`remote.ScriptRemovePreloadScriptParameters`",
|
|
395
|
+
"description": "<pre>{<br /> script: ScriptPreloadScript;<br />}</pre>",
|
|
396
|
+
"required": true
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"input.performActions": {
|
|
402
|
+
"socket": {
|
|
403
|
+
"command": "inputPerformActions",
|
|
404
|
+
"description": "WebDriver Bidi command to send command method \"input.performActions\" with parameters.",
|
|
405
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-input-performActions",
|
|
406
|
+
"parameters": [
|
|
407
|
+
{
|
|
408
|
+
"name": "params",
|
|
409
|
+
"type": "`remote.InputPerformActionsParameters`",
|
|
410
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />}</pre>",
|
|
411
|
+
"required": true
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"input.releaseActions": {
|
|
417
|
+
"socket": {
|
|
418
|
+
"command": "inputReleaseActions",
|
|
419
|
+
"description": "WebDriver Bidi command to send command method \"input.releaseActions\" with parameters.",
|
|
420
|
+
"ref": "https://w3c.github.io/webdriver-bidi/#command-input-releaseActions",
|
|
421
|
+
"parameters": [
|
|
422
|
+
{
|
|
423
|
+
"name": "params",
|
|
424
|
+
"type": "`remote.InputReleaseActionsParameters`",
|
|
425
|
+
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
|
|
426
|
+
"required": true
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
}
|
|
37
431
|
};
|
package/build/types.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ export interface RectReturn {
|
|
|
21
21
|
width: number;
|
|
22
22
|
height: number;
|
|
23
23
|
}
|
|
24
|
+
export interface DeleteSessionOpts {
|
|
25
|
+
/**
|
|
26
|
+
* if set to `false` the driver process remains alive after calling deleteSession
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
shutdownDriver?: boolean;
|
|
30
|
+
}
|
|
24
31
|
export interface StringsReturn {
|
|
25
32
|
[key: string]: string;
|
|
26
33
|
}
|
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,uBAAuB;CAAI;AAElE,MAAM,WAAW,YAAa,SAAQ,uBAAuB;IACzD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAAG,qCAAqC,CAAA;AACtE,MAAM,MAAM,wBAAwB,GAAG,oCAAoC,CAAA;AAC3E,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAA;AACjE,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,wB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1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/protocols",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.14.6",
|
|
4
4
|
"description": "Utility package providing information about automation protocols",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-protocols",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "84472108356bc234e6765ba9ffd84867aea2df2a"
|
|
31
31
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { BidiResponse } from '../types.js';
|
|
2
|
-
export default interface WebdriverBidiCommands {
|
|
3
|
-
/**
|
|
4
|
-
* WebdriverBidi Protocol Command
|
|
5
|
-
*
|
|
6
|
-
* Send socket commands via WebDriver Bidi
|
|
7
|
-
* @ref https://github.com/w3c/webdriver-bidi
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
send(params: object): Promise<BidiResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* WebdriverBidi Protocol Command
|
|
13
|
-
*
|
|
14
|
-
* Send asynchronous socket commands via WebDriver Bidi
|
|
15
|
-
* @ref https://github.com/w3c/webdriver-bidi
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
sendAsync(params: object): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=webdriverBidi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/commands/webdriverBidi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG/C,MAAM,CAAC,OAAO,WAAW,qBAAqB;IAE1C;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAE5C;;;;;;OAMG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|