webdriver-bidi-protocol 0.2.11 → 0.3.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/.github/dependabot.yml +1 -1
- package/.github/workflows/ci.yml +5 -0
- package/.github/workflows/publish.yml +1 -1
- package/.github/workflows/regenerate.yml +6 -0
- package/.nvmrc +1 -0
- package/.prettierrc.cjs +6 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +21 -0
- package/out/gen/main.d.ts +30 -5
- package/out/gen/mapping.d.ts +289 -0
- package/out/gen/mapping.js +2 -0
- package/out/index.d.ts +6 -260
- package/package.json +3 -3
- package/src/gen/main.ts +30 -5
- package/src/gen/mapping.ts +290 -0
- package/src/index.ts +9 -273
- package/test-d/webdriver-bidi-protocol.test-d.ts +4 -4
- package/tools/build.sh +4 -1
- package/tools/generateCommandMap.ts +162 -0
- package/tools/utils.ts +62 -0
- package/tsconfig.json +10 -105
package/out/index.d.ts
CHANGED
|
@@ -9,273 +9,19 @@ import * as BidiBluetooth from './gen/web-bluetooth.js';
|
|
|
9
9
|
export * from './gen/main.js';
|
|
10
10
|
export * from './gen/permissions.js';
|
|
11
11
|
export * from './gen/web-bluetooth.js';
|
|
12
|
+
export type {CommandMapping} from './gen/mapping.d.ts';
|
|
12
13
|
type ExternalSpecCommand<T> = {
|
|
13
14
|
id: Bidi.JsUint;
|
|
14
15
|
} & T;
|
|
15
|
-
type
|
|
16
|
-
type: 'event';
|
|
17
|
-
} & T &
|
|
18
|
-
Bidi.Extensible;
|
|
16
|
+
export type Result = Bidi.ResultData;
|
|
19
17
|
export type Command =
|
|
20
18
|
| Bidi.Command
|
|
21
19
|
| ExternalSpecCommand<BidiPermissions.PermissionsCommand>
|
|
22
20
|
| ExternalSpecCommand<BidiBluetooth.BluetoothCommand>;
|
|
21
|
+
type ExternalSpecEvent<T> = {
|
|
22
|
+
type: 'event';
|
|
23
|
+
} & T &
|
|
24
|
+
Bidi.Extensible;
|
|
23
25
|
export type Event =
|
|
24
26
|
| Bidi.Event
|
|
25
27
|
| ExternalSpecEvent<BidiBluetooth.BluetoothEvent>;
|
|
26
|
-
export interface Commands {
|
|
27
|
-
'bluetooth.handleRequestDevicePrompt': {
|
|
28
|
-
params: BidiBluetooth.Bluetooth.HandleRequestDevicePromptParameters;
|
|
29
|
-
returnType: Bidi.EmptyResult;
|
|
30
|
-
};
|
|
31
|
-
'bluetooth.disableSimulation': {
|
|
32
|
-
params: BidiBluetooth.Bluetooth.DisableSimulationParameters;
|
|
33
|
-
returnType: Bidi.EmptyResult;
|
|
34
|
-
};
|
|
35
|
-
'bluetooth.simulateAdapter': {
|
|
36
|
-
params: BidiBluetooth.Bluetooth.SimulateAdapterParameters;
|
|
37
|
-
returnType: Bidi.EmptyResult;
|
|
38
|
-
};
|
|
39
|
-
'bluetooth.simulateAdvertisement': {
|
|
40
|
-
params: BidiBluetooth.Bluetooth.SimulateAdvertisementParameters;
|
|
41
|
-
returnType: Bidi.EmptyResult;
|
|
42
|
-
};
|
|
43
|
-
'bluetooth.simulatePreconnectedPeripheral': {
|
|
44
|
-
params: BidiBluetooth.Bluetooth.SimulatePreconnectedPeripheralParameters;
|
|
45
|
-
returnType: Bidi.EmptyResult;
|
|
46
|
-
};
|
|
47
|
-
'bluetooth.simulateGattDisconnection': {
|
|
48
|
-
params: BidiBluetooth.Bluetooth.SimulateGattDisconnectionParameters;
|
|
49
|
-
returnType: Bidi.EmptyResult;
|
|
50
|
-
};
|
|
51
|
-
'bluetooth.simulateDescriptor': {
|
|
52
|
-
params: BidiBluetooth.Bluetooth.SimulateDescriptorParameters;
|
|
53
|
-
returnType: Bidi.EmptyResult;
|
|
54
|
-
};
|
|
55
|
-
'bluetooth.simulateDescriptorResponse': {
|
|
56
|
-
params: BidiBluetooth.Bluetooth.SimulateDescriptorResponseParameters;
|
|
57
|
-
returnType: Bidi.EmptyResult;
|
|
58
|
-
};
|
|
59
|
-
'browser.close': {
|
|
60
|
-
params: Bidi.EmptyParams;
|
|
61
|
-
returnType: Bidi.EmptyResult;
|
|
62
|
-
};
|
|
63
|
-
'browser.getgetClientWindows': {
|
|
64
|
-
params: Bidi.EmptyParams;
|
|
65
|
-
returnType: Bidi.Browser.GetClientWindowsResult;
|
|
66
|
-
};
|
|
67
|
-
'browser.createUserContext': {
|
|
68
|
-
params: Bidi.EmptyParams;
|
|
69
|
-
returnType: Bidi.Browser.CreateUserContextResult;
|
|
70
|
-
};
|
|
71
|
-
'browser.getUserContexts': {
|
|
72
|
-
params: Bidi.EmptyParams;
|
|
73
|
-
returnType: Bidi.Browser.GetUserContextsResult;
|
|
74
|
-
};
|
|
75
|
-
'browser.removeUserContext': {
|
|
76
|
-
params: {
|
|
77
|
-
userContext: Bidi.Browser.UserContext;
|
|
78
|
-
};
|
|
79
|
-
returnType: Bidi.Browser.RemoveUserContext;
|
|
80
|
-
};
|
|
81
|
-
'browser.setClientWindowState': {
|
|
82
|
-
params: Bidi.Browser.SetClientWindowStateParameters;
|
|
83
|
-
returnType: Bidi.Browser.ClientWindowInfo;
|
|
84
|
-
};
|
|
85
|
-
'browsingContext.activate': {
|
|
86
|
-
params: Bidi.BrowsingContext.ActivateParameters;
|
|
87
|
-
returnType: Bidi.EmptyResult;
|
|
88
|
-
};
|
|
89
|
-
'browsingContext.create': {
|
|
90
|
-
params: Bidi.BrowsingContext.CreateParameters;
|
|
91
|
-
returnType: Bidi.BrowsingContext.CreateResult;
|
|
92
|
-
};
|
|
93
|
-
'browsingContext.close': {
|
|
94
|
-
params: Bidi.BrowsingContext.CloseParameters;
|
|
95
|
-
returnType: Bidi.EmptyResult;
|
|
96
|
-
};
|
|
97
|
-
'browsingContext.getTree': {
|
|
98
|
-
params: Bidi.BrowsingContext.GetTreeParameters;
|
|
99
|
-
returnType: Bidi.BrowsingContext.GetTreeResult;
|
|
100
|
-
};
|
|
101
|
-
'browsingContext.locateNodes': {
|
|
102
|
-
params: Bidi.BrowsingContext.LocateNodesParameters;
|
|
103
|
-
returnType: Bidi.BrowsingContext.LocateNodesResult;
|
|
104
|
-
};
|
|
105
|
-
'browsingContext.navigate': {
|
|
106
|
-
params: Bidi.BrowsingContext.NavigateParameters;
|
|
107
|
-
returnType: Bidi.BrowsingContext.NavigateResult;
|
|
108
|
-
};
|
|
109
|
-
'browsingContext.reload': {
|
|
110
|
-
params: Bidi.BrowsingContext.ReloadParameters;
|
|
111
|
-
returnType: Bidi.BrowsingContext.NavigateResult;
|
|
112
|
-
};
|
|
113
|
-
'browsingContext.print': {
|
|
114
|
-
params: Bidi.BrowsingContext.PrintParameters;
|
|
115
|
-
returnType: Bidi.BrowsingContext.PrintResult;
|
|
116
|
-
};
|
|
117
|
-
'browsingContext.captureScreenshot': {
|
|
118
|
-
params: Bidi.BrowsingContext.CaptureScreenshotParameters;
|
|
119
|
-
returnType: Bidi.BrowsingContext.CaptureScreenshotResult;
|
|
120
|
-
};
|
|
121
|
-
'browsingContext.handleUserPrompt': {
|
|
122
|
-
params: Bidi.BrowsingContext.HandleUserPromptParameters;
|
|
123
|
-
returnType: Bidi.EmptyResult;
|
|
124
|
-
};
|
|
125
|
-
'browsingContext.setViewport': {
|
|
126
|
-
params: Bidi.BrowsingContext.SetViewportParameters;
|
|
127
|
-
returnType: Bidi.EmptyResult;
|
|
128
|
-
};
|
|
129
|
-
'browsingContext.traverseHistory': {
|
|
130
|
-
params: Bidi.BrowsingContext.TraverseHistoryParameters;
|
|
131
|
-
returnType: Bidi.EmptyResult;
|
|
132
|
-
};
|
|
133
|
-
'emulation.setForcedColorsModeThemeOverride': {
|
|
134
|
-
params: Bidi.Emulation.SetForcedColorsModeThemeOverrideParameters;
|
|
135
|
-
returnType: Bidi.EmptyResult;
|
|
136
|
-
};
|
|
137
|
-
'emulation.setGeolocationOverride': {
|
|
138
|
-
params: Bidi.Emulation.SetGeolocationOverrideParameters;
|
|
139
|
-
returnType: Bidi.EmptyResult;
|
|
140
|
-
};
|
|
141
|
-
'emulation.setLocaleOverride': {
|
|
142
|
-
params: Bidi.Emulation.SetLocaleOverrideParameters;
|
|
143
|
-
returnType: Bidi.EmptyResult;
|
|
144
|
-
};
|
|
145
|
-
'emulation.setScreenOrientationOverride': {
|
|
146
|
-
params: Bidi.Emulation.SetScreenOrientationOverrideParameters;
|
|
147
|
-
returnType: Bidi.EmptyResult;
|
|
148
|
-
};
|
|
149
|
-
'emulation.setTimezoneOverride': {
|
|
150
|
-
params: Bidi.Emulation.SetTimezoneOverrideParameters;
|
|
151
|
-
returnType: Bidi.EmptyResult;
|
|
152
|
-
};
|
|
153
|
-
'emulation.setScriptingEnabled': {
|
|
154
|
-
params: Bidi.Emulation.SetScriptingEnabledParameters;
|
|
155
|
-
returnType: Bidi.EmptyResult;
|
|
156
|
-
};
|
|
157
|
-
'emulation.setUserAgentOverride': {
|
|
158
|
-
params: Bidi.Emulation.SetUserAgentOverrideParameters;
|
|
159
|
-
returnType: Bidi.EmptyResult;
|
|
160
|
-
};
|
|
161
|
-
'input.performActions': {
|
|
162
|
-
params: Bidi.Input.PerformActionsParameters;
|
|
163
|
-
returnType: Bidi.EmptyResult;
|
|
164
|
-
};
|
|
165
|
-
'input.releaseActions': {
|
|
166
|
-
params: Bidi.Input.ReleaseActionsParameters;
|
|
167
|
-
returnType: Bidi.EmptyResult;
|
|
168
|
-
};
|
|
169
|
-
'input.setFiles': {
|
|
170
|
-
params: Bidi.Input.SetFilesParameters;
|
|
171
|
-
returnType: Bidi.EmptyResult;
|
|
172
|
-
};
|
|
173
|
-
'permissions.setPermission': {
|
|
174
|
-
params: BidiPermissions.Permissions.SetPermissionParameters;
|
|
175
|
-
returnType: Bidi.EmptyResult;
|
|
176
|
-
};
|
|
177
|
-
'script.evaluate': {
|
|
178
|
-
params: Bidi.Script.EvaluateParameters;
|
|
179
|
-
returnType: Bidi.Script.EvaluateResult;
|
|
180
|
-
};
|
|
181
|
-
'script.callFunction': {
|
|
182
|
-
params: Bidi.Script.CallFunctionParameters;
|
|
183
|
-
returnType: Bidi.Script.EvaluateResult;
|
|
184
|
-
};
|
|
185
|
-
'script.disown': {
|
|
186
|
-
params: Bidi.Script.DisownParameters;
|
|
187
|
-
returnType: Bidi.EmptyResult;
|
|
188
|
-
};
|
|
189
|
-
'script.addPreloadScript': {
|
|
190
|
-
params: Bidi.Script.AddPreloadScriptParameters;
|
|
191
|
-
returnType: Bidi.Script.AddPreloadScriptResult;
|
|
192
|
-
};
|
|
193
|
-
'script.removePreloadScript': {
|
|
194
|
-
params: Bidi.Script.RemovePreloadScriptParameters;
|
|
195
|
-
returnType: Bidi.EmptyResult;
|
|
196
|
-
};
|
|
197
|
-
'session.end': {
|
|
198
|
-
params: Bidi.EmptyParams;
|
|
199
|
-
returnType: Bidi.EmptyResult;
|
|
200
|
-
};
|
|
201
|
-
'session.new': {
|
|
202
|
-
params: Bidi.Session.NewParameters;
|
|
203
|
-
returnType: Bidi.Session.NewResult;
|
|
204
|
-
};
|
|
205
|
-
'session.status': {
|
|
206
|
-
params: object;
|
|
207
|
-
returnType: Bidi.Session.StatusResult;
|
|
208
|
-
};
|
|
209
|
-
'session.subscribe': {
|
|
210
|
-
params: Bidi.Session.SubscriptionRequest;
|
|
211
|
-
returnType: Bidi.EmptyResult;
|
|
212
|
-
};
|
|
213
|
-
'session.unsubscribe': {
|
|
214
|
-
params: Bidi.Session.SubscriptionRequest;
|
|
215
|
-
returnType: Bidi.EmptyResult;
|
|
216
|
-
};
|
|
217
|
-
'storage.deleteCookies': {
|
|
218
|
-
params: Bidi.Storage.DeleteCookiesParameters;
|
|
219
|
-
returnType: Bidi.Storage.DeleteCookiesResult;
|
|
220
|
-
};
|
|
221
|
-
'storage.getCookies': {
|
|
222
|
-
params: Bidi.Storage.GetCookiesParameters;
|
|
223
|
-
returnType: Bidi.Storage.GetCookiesResult;
|
|
224
|
-
};
|
|
225
|
-
'storage.setCookie': {
|
|
226
|
-
params: Bidi.Storage.SetCookieParameters;
|
|
227
|
-
returnType: Bidi.Storage.SetCookieParameters;
|
|
228
|
-
};
|
|
229
|
-
'network.addDataCollector': {
|
|
230
|
-
params: Bidi.Network.AddDataCollectorParameters;
|
|
231
|
-
returnType: Bidi.Network.AddDataCollectorResult;
|
|
232
|
-
};
|
|
233
|
-
'network.addIntercept': {
|
|
234
|
-
params: Bidi.Network.AddInterceptParameters;
|
|
235
|
-
returnType: Bidi.Network.AddInterceptResult;
|
|
236
|
-
};
|
|
237
|
-
'network.removeIntercept': {
|
|
238
|
-
params: Bidi.Network.RemoveInterceptParameters;
|
|
239
|
-
returnType: Bidi.EmptyResult;
|
|
240
|
-
};
|
|
241
|
-
'network.continueRequest': {
|
|
242
|
-
params: Bidi.Network.ContinueRequestParameters;
|
|
243
|
-
returnType: Bidi.EmptyResult;
|
|
244
|
-
};
|
|
245
|
-
'network.continueWithAuth': {
|
|
246
|
-
params: Bidi.Network.ContinueWithAuthParameters;
|
|
247
|
-
returnType: Bidi.EmptyResult;
|
|
248
|
-
};
|
|
249
|
-
'network.failRequest': {
|
|
250
|
-
params: Bidi.Network.FailRequestParameters;
|
|
251
|
-
returnType: Bidi.EmptyResult;
|
|
252
|
-
};
|
|
253
|
-
'network.provideResponse': {
|
|
254
|
-
params: Bidi.Network.ProvideResponseParameters;
|
|
255
|
-
returnType: Bidi.EmptyResult;
|
|
256
|
-
};
|
|
257
|
-
'network.disownData': {
|
|
258
|
-
params: Bidi.Network.DisownDataParameters;
|
|
259
|
-
returnType: Bidi.EmptyResult;
|
|
260
|
-
};
|
|
261
|
-
'network.getData': {
|
|
262
|
-
params: Bidi.Network.GetDataParameters;
|
|
263
|
-
returnType: Bidi.Network.GetDataResult;
|
|
264
|
-
};
|
|
265
|
-
'network.setCacheBehavior': {
|
|
266
|
-
params: Bidi.Network.SetCacheBehaviorParameters;
|
|
267
|
-
returnType: Bidi.EmptyResult;
|
|
268
|
-
};
|
|
269
|
-
'network.setExtraHeaders': {
|
|
270
|
-
params: Bidi.Network.SetExtraHeadersParameters;
|
|
271
|
-
returnType: Bidi.EmptyResult;
|
|
272
|
-
};
|
|
273
|
-
'webExtension.install': {
|
|
274
|
-
params: Bidi.WebExtension.InstallParameters;
|
|
275
|
-
returnType: Bidi.WebExtension.InstallResult;
|
|
276
|
-
};
|
|
277
|
-
'webExtension.uninstall': {
|
|
278
|
-
params: Bidi.WebExtension.UninstallParameters;
|
|
279
|
-
returnType: Bidi.EmptyResult;
|
|
280
|
-
};
|
|
281
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriver-bidi-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^24.0.4",
|
|
24
|
-
"gts": "^6.0.2",
|
|
25
24
|
"parse5": "^8.0.0",
|
|
26
25
|
"prettier": "3.6.2",
|
|
27
26
|
"tsd": "0.33.0",
|
|
28
|
-
"typescript": "5.9.2"
|
|
27
|
+
"typescript": "5.9.2",
|
|
28
|
+
"ts-morph": "27.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/gen/main.ts
CHANGED
|
@@ -200,10 +200,6 @@ export namespace Session {
|
|
|
200
200
|
export namespace Session {
|
|
201
201
|
export type UnsubscribeByAttributesRequest = {
|
|
202
202
|
events: [string, ...string[]];
|
|
203
|
-
contexts?: [
|
|
204
|
-
BrowsingContext.BrowsingContext,
|
|
205
|
-
...BrowsingContext.BrowsingContext[],
|
|
206
|
-
];
|
|
207
203
|
};
|
|
208
204
|
}
|
|
209
205
|
export namespace Session {
|
|
@@ -279,7 +275,8 @@ export type BrowserCommand =
|
|
|
279
275
|
| Browser.GetClientWindows
|
|
280
276
|
| Browser.GetUserContexts
|
|
281
277
|
| Browser.RemoveUserContext
|
|
282
|
-
| Browser.SetClientWindowState
|
|
278
|
+
| Browser.SetClientWindowState
|
|
279
|
+
| Browser.SetDownloadBehavior;
|
|
283
280
|
export type BrowserResult =
|
|
284
281
|
| Browser.CreateUserContextResult
|
|
285
282
|
| Browser.GetUserContextsResult;
|
|
@@ -385,6 +382,34 @@ export namespace Browser {
|
|
|
385
382
|
y?: JsInt;
|
|
386
383
|
};
|
|
387
384
|
}
|
|
385
|
+
export namespace Browser {
|
|
386
|
+
export type SetDownloadBehavior = {
|
|
387
|
+
method: 'browser.setDownloadBehavior';
|
|
388
|
+
params: Browser.SetDownloadBehaviorParameters;
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
export namespace Browser {
|
|
392
|
+
export type SetDownloadBehaviorParameters = {
|
|
393
|
+
downloadBehavior: Browser.DownloadBehavior | null;
|
|
394
|
+
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
export namespace Browser {
|
|
398
|
+
export type DownloadBehavior =
|
|
399
|
+
| Browser.DownloadBehaviorAllowed
|
|
400
|
+
| Browser.DownloadBehaviorDenied;
|
|
401
|
+
}
|
|
402
|
+
export namespace Browser {
|
|
403
|
+
export type DownloadBehaviorAllowed = {
|
|
404
|
+
type: 'allowed';
|
|
405
|
+
destinationFolder?: string;
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
export namespace Browser {
|
|
409
|
+
export type DownloadBehaviorDenied = {
|
|
410
|
+
type: 'denied';
|
|
411
|
+
};
|
|
412
|
+
}
|
|
388
413
|
export type BrowsingContextCommand =
|
|
389
414
|
| BrowsingContext.Activate
|
|
390
415
|
| BrowsingContext.CaptureScreenshot
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import type * as Bidi from './main.ts';
|
|
2
|
+
import type * as BidiPermissions from './permissions.ts';
|
|
3
|
+
import type * as BidiBluetooth from './web-bluetooth.ts';
|
|
4
|
+
|
|
5
|
+
export interface CommandMapping {
|
|
6
|
+
'bluetooth.disableSimulation': {
|
|
7
|
+
params: BidiBluetooth.Bluetooth.DisableSimulationParameters;
|
|
8
|
+
returnType: Bidi.EmptyResult;
|
|
9
|
+
};
|
|
10
|
+
'bluetooth.handleRequestDevicePrompt': {
|
|
11
|
+
params: BidiBluetooth.Bluetooth.HandleRequestDevicePromptParameters;
|
|
12
|
+
returnType: Bidi.EmptyResult;
|
|
13
|
+
};
|
|
14
|
+
'bluetooth.simulateAdapter': {
|
|
15
|
+
params: BidiBluetooth.Bluetooth.SimulateAdapterParameters;
|
|
16
|
+
returnType: Bidi.EmptyResult;
|
|
17
|
+
};
|
|
18
|
+
'bluetooth.simulateAdvertisement': {
|
|
19
|
+
params: BidiBluetooth.Bluetooth.SimulateAdvertisementParameters;
|
|
20
|
+
returnType: Bidi.EmptyResult;
|
|
21
|
+
};
|
|
22
|
+
'bluetooth.simulateCharacteristic': {
|
|
23
|
+
params: BidiBluetooth.Bluetooth.SimulateCharacteristicParameters;
|
|
24
|
+
returnType: Bidi.EmptyResult;
|
|
25
|
+
};
|
|
26
|
+
'bluetooth.simulateCharacteristicResponse': {
|
|
27
|
+
params: BidiBluetooth.Bluetooth.SimulateCharacteristicResponseParameters;
|
|
28
|
+
returnType: Bidi.EmptyResult;
|
|
29
|
+
};
|
|
30
|
+
'bluetooth.simulateDescriptor': {
|
|
31
|
+
params: BidiBluetooth.Bluetooth.SimulateDescriptorParameters;
|
|
32
|
+
returnType: Bidi.EmptyResult;
|
|
33
|
+
};
|
|
34
|
+
'bluetooth.simulateDescriptorResponse': {
|
|
35
|
+
params: BidiBluetooth.Bluetooth.SimulateDescriptorResponseParameters;
|
|
36
|
+
returnType: Bidi.EmptyResult;
|
|
37
|
+
};
|
|
38
|
+
'bluetooth.simulateGattConnectionResponse': {
|
|
39
|
+
params: BidiBluetooth.Bluetooth.SimulateGattConnectionResponseParameters;
|
|
40
|
+
returnType: Bidi.EmptyResult;
|
|
41
|
+
};
|
|
42
|
+
'bluetooth.simulateGattDisconnection': {
|
|
43
|
+
params: BidiBluetooth.Bluetooth.SimulateGattDisconnectionParameters;
|
|
44
|
+
returnType: Bidi.EmptyResult;
|
|
45
|
+
};
|
|
46
|
+
'bluetooth.simulatePreconnectedPeripheral': {
|
|
47
|
+
params: BidiBluetooth.Bluetooth.SimulatePreconnectedPeripheralParameters;
|
|
48
|
+
returnType: Bidi.EmptyResult;
|
|
49
|
+
};
|
|
50
|
+
'bluetooth.simulateService': {
|
|
51
|
+
params: BidiBluetooth.Bluetooth.SimulateServiceParameters;
|
|
52
|
+
returnType: Bidi.EmptyResult;
|
|
53
|
+
};
|
|
54
|
+
'browser.close': {
|
|
55
|
+
params: Bidi.Extensible;
|
|
56
|
+
returnType: Bidi.EmptyResult;
|
|
57
|
+
};
|
|
58
|
+
'browser.createUserContext': {
|
|
59
|
+
params: Bidi.Browser.CreateUserContextParameters;
|
|
60
|
+
returnType: Bidi.Browser.CreateUserContextResult;
|
|
61
|
+
};
|
|
62
|
+
'browser.getClientWindows': {
|
|
63
|
+
params: Bidi.Extensible;
|
|
64
|
+
returnType: Bidi.Browser.GetClientWindowsResult;
|
|
65
|
+
};
|
|
66
|
+
'browser.getUserContexts': {
|
|
67
|
+
params: Bidi.Extensible;
|
|
68
|
+
returnType: Bidi.Browser.GetUserContextsResult;
|
|
69
|
+
};
|
|
70
|
+
'browser.removeUserContext': {
|
|
71
|
+
params: Bidi.Browser.RemoveUserContextParameters;
|
|
72
|
+
returnType: Bidi.EmptyResult;
|
|
73
|
+
};
|
|
74
|
+
'browser.setClientWindowState': {
|
|
75
|
+
params: Bidi.Browser.SetClientWindowStateParameters;
|
|
76
|
+
returnType: Bidi.EmptyResult;
|
|
77
|
+
};
|
|
78
|
+
'browser.setDownloadBehavior': {
|
|
79
|
+
params: Bidi.Browser.SetDownloadBehaviorParameters;
|
|
80
|
+
returnType: Bidi.EmptyResult;
|
|
81
|
+
};
|
|
82
|
+
'browsingContext.activate': {
|
|
83
|
+
params: Bidi.BrowsingContext.ActivateParameters;
|
|
84
|
+
returnType: Bidi.EmptyResult;
|
|
85
|
+
};
|
|
86
|
+
'browsingContext.captureScreenshot': {
|
|
87
|
+
params: Bidi.BrowsingContext.CaptureScreenshotParameters;
|
|
88
|
+
returnType: Bidi.BrowsingContext.CaptureScreenshotResult;
|
|
89
|
+
};
|
|
90
|
+
'browsingContext.close': {
|
|
91
|
+
params: Bidi.BrowsingContext.CloseParameters;
|
|
92
|
+
returnType: Bidi.EmptyResult;
|
|
93
|
+
};
|
|
94
|
+
'browsingContext.create': {
|
|
95
|
+
params: Bidi.BrowsingContext.CreateParameters;
|
|
96
|
+
returnType: Bidi.BrowsingContext.CreateResult;
|
|
97
|
+
};
|
|
98
|
+
'browsingContext.getTree': {
|
|
99
|
+
params: Bidi.BrowsingContext.GetTreeParameters;
|
|
100
|
+
returnType: Bidi.BrowsingContext.GetTreeResult;
|
|
101
|
+
};
|
|
102
|
+
'browsingContext.handleUserPrompt': {
|
|
103
|
+
params: Bidi.BrowsingContext.HandleUserPromptParameters;
|
|
104
|
+
returnType: Bidi.EmptyResult;
|
|
105
|
+
};
|
|
106
|
+
'browsingContext.locateNodes': {
|
|
107
|
+
params: Bidi.BrowsingContext.LocateNodesParameters;
|
|
108
|
+
returnType: Bidi.BrowsingContext.LocateNodesResult;
|
|
109
|
+
};
|
|
110
|
+
'browsingContext.navigate': {
|
|
111
|
+
params: Bidi.BrowsingContext.NavigateParameters;
|
|
112
|
+
returnType: Bidi.BrowsingContext.NavigateResult;
|
|
113
|
+
};
|
|
114
|
+
'browsingContext.print': {
|
|
115
|
+
params: Bidi.BrowsingContext.PrintParameters;
|
|
116
|
+
returnType: Bidi.BrowsingContext.PrintResult;
|
|
117
|
+
};
|
|
118
|
+
'browsingContext.reload': {
|
|
119
|
+
params: Bidi.BrowsingContext.ReloadParameters;
|
|
120
|
+
returnType: Bidi.EmptyResult;
|
|
121
|
+
};
|
|
122
|
+
'browsingContext.setViewport': {
|
|
123
|
+
params: Bidi.BrowsingContext.SetViewportParameters;
|
|
124
|
+
returnType: Bidi.EmptyResult;
|
|
125
|
+
};
|
|
126
|
+
'browsingContext.traverseHistory': {
|
|
127
|
+
params: Bidi.BrowsingContext.TraverseHistoryParameters;
|
|
128
|
+
returnType: Bidi.BrowsingContext.TraverseHistoryResult;
|
|
129
|
+
};
|
|
130
|
+
'emulation.setForcedColorsModeThemeOverride': {
|
|
131
|
+
params: Bidi.Emulation.SetForcedColorsModeThemeOverrideParameters;
|
|
132
|
+
returnType: Bidi.EmptyResult;
|
|
133
|
+
};
|
|
134
|
+
'emulation.setGeolocationOverride': {
|
|
135
|
+
params: Bidi.Emulation.SetGeolocationOverrideParameters;
|
|
136
|
+
returnType: Bidi.EmptyResult;
|
|
137
|
+
};
|
|
138
|
+
'emulation.setLocaleOverride': {
|
|
139
|
+
params: Bidi.Emulation.SetLocaleOverrideParameters;
|
|
140
|
+
returnType: Bidi.EmptyResult;
|
|
141
|
+
};
|
|
142
|
+
'emulation.setScreenOrientationOverride': {
|
|
143
|
+
params: Bidi.Emulation.SetScreenOrientationOverrideParameters;
|
|
144
|
+
returnType: Bidi.EmptyResult;
|
|
145
|
+
};
|
|
146
|
+
'emulation.setScriptingEnabled': {
|
|
147
|
+
params: Bidi.Emulation.SetScriptingEnabledParameters;
|
|
148
|
+
returnType: Bidi.EmptyResult;
|
|
149
|
+
};
|
|
150
|
+
'emulation.setTimezoneOverride': {
|
|
151
|
+
params: Bidi.Emulation.SetTimezoneOverrideParameters;
|
|
152
|
+
returnType: Bidi.EmptyResult;
|
|
153
|
+
};
|
|
154
|
+
'emulation.setUserAgentOverride': {
|
|
155
|
+
params: Bidi.Emulation.SetUserAgentOverrideParameters;
|
|
156
|
+
returnType: Bidi.EmptyResult;
|
|
157
|
+
};
|
|
158
|
+
'input.performActions': {
|
|
159
|
+
params: Bidi.Input.PerformActionsParameters;
|
|
160
|
+
returnType: Bidi.EmptyResult;
|
|
161
|
+
};
|
|
162
|
+
'input.releaseActions': {
|
|
163
|
+
params: Bidi.Input.ReleaseActionsParameters;
|
|
164
|
+
returnType: Bidi.EmptyResult;
|
|
165
|
+
};
|
|
166
|
+
'input.setFiles': {
|
|
167
|
+
params: Bidi.Input.SetFilesParameters;
|
|
168
|
+
returnType: Bidi.EmptyResult;
|
|
169
|
+
};
|
|
170
|
+
'network.addDataCollector': {
|
|
171
|
+
params: Bidi.Network.AddDataCollectorParameters;
|
|
172
|
+
returnType: Bidi.Network.AddDataCollectorResult;
|
|
173
|
+
};
|
|
174
|
+
'network.addIntercept': {
|
|
175
|
+
params: Bidi.Network.AddInterceptParameters;
|
|
176
|
+
returnType: Bidi.Network.AddInterceptResult;
|
|
177
|
+
};
|
|
178
|
+
'network.continueRequest': {
|
|
179
|
+
params: Bidi.Network.ContinueRequestParameters;
|
|
180
|
+
returnType: Bidi.EmptyResult;
|
|
181
|
+
};
|
|
182
|
+
'network.continueResponse': {
|
|
183
|
+
params: Bidi.Network.ContinueResponseParameters;
|
|
184
|
+
returnType: Bidi.EmptyResult;
|
|
185
|
+
};
|
|
186
|
+
'network.continueWithAuth': {
|
|
187
|
+
params: Bidi.Network.ContinueWithAuthParameters;
|
|
188
|
+
returnType: Bidi.EmptyResult;
|
|
189
|
+
};
|
|
190
|
+
'network.disownData': {
|
|
191
|
+
params: Bidi.Network.DisownDataParameters;
|
|
192
|
+
returnType: Bidi.EmptyResult;
|
|
193
|
+
};
|
|
194
|
+
'network.failRequest': {
|
|
195
|
+
params: Bidi.Network.FailRequestParameters;
|
|
196
|
+
returnType: Bidi.EmptyResult;
|
|
197
|
+
};
|
|
198
|
+
'network.getData': {
|
|
199
|
+
params: Bidi.Network.GetDataParameters;
|
|
200
|
+
returnType: Bidi.Network.GetDataResult;
|
|
201
|
+
};
|
|
202
|
+
'network.provideResponse': {
|
|
203
|
+
params: Bidi.Network.ProvideResponseParameters;
|
|
204
|
+
returnType: Bidi.EmptyResult;
|
|
205
|
+
};
|
|
206
|
+
'network.removeDataCollector': {
|
|
207
|
+
params: Bidi.Network.RemoveDataCollectorParameters;
|
|
208
|
+
returnType: Bidi.EmptyResult;
|
|
209
|
+
};
|
|
210
|
+
'network.removeIntercept': {
|
|
211
|
+
params: Bidi.Network.RemoveInterceptParameters;
|
|
212
|
+
returnType: Bidi.EmptyResult;
|
|
213
|
+
};
|
|
214
|
+
'network.setCacheBehavior': {
|
|
215
|
+
params: Bidi.Network.SetCacheBehaviorParameters;
|
|
216
|
+
returnType: Bidi.EmptyResult;
|
|
217
|
+
};
|
|
218
|
+
'network.setExtraHeaders': {
|
|
219
|
+
params: Bidi.Network.SetExtraHeadersParameters;
|
|
220
|
+
returnType: Bidi.EmptyResult;
|
|
221
|
+
};
|
|
222
|
+
'permissions.setPermission': {
|
|
223
|
+
params: BidiPermissions.Permissions.SetPermissionParameters;
|
|
224
|
+
returnType: Bidi.EmptyResult;
|
|
225
|
+
};
|
|
226
|
+
'script.addPreloadScript': {
|
|
227
|
+
params: Bidi.Script.AddPreloadScriptParameters;
|
|
228
|
+
returnType: Bidi.Script.AddPreloadScriptResult;
|
|
229
|
+
};
|
|
230
|
+
'script.callFunction': {
|
|
231
|
+
params: Bidi.Script.CallFunctionParameters;
|
|
232
|
+
returnType: Bidi.EmptyResult;
|
|
233
|
+
};
|
|
234
|
+
'script.disown': {
|
|
235
|
+
params: Bidi.Script.DisownParameters;
|
|
236
|
+
returnType: Bidi.EmptyResult;
|
|
237
|
+
};
|
|
238
|
+
'script.evaluate': {
|
|
239
|
+
params: Bidi.Script.EvaluateParameters;
|
|
240
|
+
returnType: Bidi.Script.EvaluateResult;
|
|
241
|
+
};
|
|
242
|
+
'script.getRealms': {
|
|
243
|
+
params: Bidi.Script.GetRealmsParameters;
|
|
244
|
+
returnType: Bidi.Script.GetRealmsResult;
|
|
245
|
+
};
|
|
246
|
+
'script.removePreloadScript': {
|
|
247
|
+
params: Bidi.Script.RemovePreloadScriptParameters;
|
|
248
|
+
returnType: Bidi.EmptyResult;
|
|
249
|
+
};
|
|
250
|
+
'session.end': {
|
|
251
|
+
params: Bidi.Extensible;
|
|
252
|
+
returnType: Bidi.EmptyResult;
|
|
253
|
+
};
|
|
254
|
+
'session.new': {
|
|
255
|
+
params: Bidi.Session.NewParameters;
|
|
256
|
+
returnType: Bidi.Session.NewResult;
|
|
257
|
+
};
|
|
258
|
+
'session.status': {
|
|
259
|
+
params: Bidi.Extensible;
|
|
260
|
+
returnType: Bidi.Session.StatusResult;
|
|
261
|
+
};
|
|
262
|
+
'session.subscribe': {
|
|
263
|
+
params: Bidi.Session.SubscriptionRequest;
|
|
264
|
+
returnType: Bidi.Session.SubscriptionRequest;
|
|
265
|
+
};
|
|
266
|
+
'session.unsubscribe': {
|
|
267
|
+
params: Bidi.Session.UnsubscribeParameters;
|
|
268
|
+
returnType: Bidi.EmptyResult;
|
|
269
|
+
};
|
|
270
|
+
'storage.deleteCookies': {
|
|
271
|
+
params: Bidi.Storage.DeleteCookiesParameters;
|
|
272
|
+
returnType: Bidi.Storage.DeleteCookiesResult;
|
|
273
|
+
};
|
|
274
|
+
'storage.getCookies': {
|
|
275
|
+
params: Bidi.Storage.GetCookiesParameters;
|
|
276
|
+
returnType: Bidi.Storage.GetCookiesResult;
|
|
277
|
+
};
|
|
278
|
+
'storage.setCookie': {
|
|
279
|
+
params: Bidi.Storage.SetCookieParameters;
|
|
280
|
+
returnType: Bidi.Storage.SetCookieResult;
|
|
281
|
+
};
|
|
282
|
+
'webExtension.install': {
|
|
283
|
+
params: Bidi.WebExtension.InstallParameters;
|
|
284
|
+
returnType: Bidi.WebExtension.InstallResult;
|
|
285
|
+
};
|
|
286
|
+
'webExtension.uninstall': {
|
|
287
|
+
params: Bidi.WebExtension.UninstallParameters;
|
|
288
|
+
returnType: Bidi.EmptyResult;
|
|
289
|
+
};
|
|
290
|
+
}
|