chromium-bidi 16.0.1 → 17.0.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.
Files changed (312) hide show
  1. package/.browser +1 -1
  2. package/README.md +33 -16
  3. package/package.json +41 -171
  4. package/lib/THIRD_PARTY_NOTICES +0 -56
  5. package/lib/bidiMapper/BidiMapper.d.ts +0 -29
  6. package/lib/bidiMapper/BidiMapper.js +0 -25
  7. package/lib/bidiMapper/BidiMapper.js.map +0 -1
  8. package/lib/bidiMapper/BidiNoOpParser.d.ts +0 -94
  9. package/lib/bidiMapper/BidiNoOpParser.js +0 -276
  10. package/lib/bidiMapper/BidiNoOpParser.js.map +0 -1
  11. package/lib/bidiMapper/BidiParser.d.ts +0 -93
  12. package/lib/bidiMapper/BidiParser.js +0 -18
  13. package/lib/bidiMapper/BidiParser.js.map +0 -1
  14. package/lib/bidiMapper/BidiServer.d.ts +0 -42
  15. package/lib/bidiMapper/BidiServer.js +0 -165
  16. package/lib/bidiMapper/BidiServer.js.map +0 -1
  17. package/lib/bidiMapper/BidiTransport.d.ts +0 -22
  18. package/lib/bidiMapper/BidiTransport.js +0 -18
  19. package/lib/bidiMapper/BidiTransport.js.map +0 -1
  20. package/lib/bidiMapper/CommandProcessor.d.ts +0 -48
  21. package/lib/bidiMapper/CommandProcessor.js +0 -327
  22. package/lib/bidiMapper/CommandProcessor.js.map +0 -1
  23. package/lib/bidiMapper/MapperOptions.d.ts +0 -7
  24. package/lib/bidiMapper/MapperOptions.js +0 -19
  25. package/lib/bidiMapper/MapperOptions.js.map +0 -1
  26. package/lib/bidiMapper/OutgoingMessage.d.ts +0 -27
  27. package/lib/bidiMapper/OutgoingMessage.js +0 -48
  28. package/lib/bidiMapper/OutgoingMessage.js.map +0 -1
  29. package/lib/bidiMapper/modules/bluetooth/BluetoothProcessor.d.ts +0 -37
  30. package/lib/bidiMapper/modules/bluetooth/BluetoothProcessor.js +0 -407
  31. package/lib/bidiMapper/modules/bluetooth/BluetoothProcessor.js.map +0 -1
  32. package/lib/bidiMapper/modules/browser/BrowserProcessor.d.ts +0 -37
  33. package/lib/bidiMapper/modules/browser/BrowserProcessor.js +0 -289
  34. package/lib/bidiMapper/modules/browser/BrowserProcessor.js.map +0 -1
  35. package/lib/bidiMapper/modules/browser/ContextConfig.d.ts +0 -51
  36. package/lib/bidiMapper/modules/browser/ContextConfig.js +0 -71
  37. package/lib/bidiMapper/modules/browser/ContextConfig.js.map +0 -1
  38. package/lib/bidiMapper/modules/browser/ContextConfigStorage.d.ts +0 -42
  39. package/lib/bidiMapper/modules/browser/ContextConfigStorage.js +0 -92
  40. package/lib/bidiMapper/modules/browser/ContextConfigStorage.js.map +0 -1
  41. package/lib/bidiMapper/modules/browser/UserContextStorage.d.ts +0 -27
  42. package/lib/bidiMapper/modules/browser/UserContextStorage.js +0 -52
  43. package/lib/bidiMapper/modules/browser/UserContextStorage.js.map +0 -1
  44. package/lib/bidiMapper/modules/cdp/CdpProcessor.d.ts +0 -27
  45. package/lib/bidiMapper/modules/cdp/CdpProcessor.js +0 -56
  46. package/lib/bidiMapper/modules/cdp/CdpProcessor.js.map +0 -1
  47. package/lib/bidiMapper/modules/cdp/CdpTarget.d.ts +0 -57
  48. package/lib/bidiMapper/modules/cdp/CdpTarget.js +0 -693
  49. package/lib/bidiMapper/modules/cdp/CdpTarget.js.map +0 -1
  50. package/lib/bidiMapper/modules/cdp/CdpTargetManager.d.ts +0 -16
  51. package/lib/bidiMapper/modules/cdp/CdpTargetManager.js +0 -248
  52. package/lib/bidiMapper/modules/cdp/CdpTargetManager.js.map +0 -1
  53. package/lib/bidiMapper/modules/context/BrowsingContextImpl.d.ts +0 -92
  54. package/lib/bidiMapper/modules/context/BrowsingContextImpl.js +0 -1447
  55. package/lib/bidiMapper/modules/context/BrowsingContextImpl.js.map +0 -1
  56. package/lib/bidiMapper/modules/context/BrowsingContextProcessor.d.ts +0 -22
  57. package/lib/bidiMapper/modules/context/BrowsingContextProcessor.js +0 -263
  58. package/lib/bidiMapper/modules/context/BrowsingContextProcessor.js.map +0 -1
  59. package/lib/bidiMapper/modules/context/BrowsingContextStorage.d.ts +0 -47
  60. package/lib/bidiMapper/modules/context/BrowsingContextStorage.js +0 -130
  61. package/lib/bidiMapper/modules/context/BrowsingContextStorage.js.map +0 -1
  62. package/lib/bidiMapper/modules/context/NavigationTracker.d.ts +0 -87
  63. package/lib/bidiMapper/modules/context/NavigationTracker.js +0 -325
  64. package/lib/bidiMapper/modules/context/NavigationTracker.js.map +0 -1
  65. package/lib/bidiMapper/modules/emulation/EmulationProcessor.d.ts +0 -38
  66. package/lib/bidiMapper/modules/emulation/EmulationProcessor.js +0 -397
  67. package/lib/bidiMapper/modules/emulation/EmulationProcessor.js.map +0 -1
  68. package/lib/bidiMapper/modules/input/ActionDispatcher.d.ts +0 -27
  69. package/lib/bidiMapper/modules/input/ActionDispatcher.js +0 -740
  70. package/lib/bidiMapper/modules/input/ActionDispatcher.js.map +0 -1
  71. package/lib/bidiMapper/modules/input/ActionOption.d.ts +0 -22
  72. package/lib/bidiMapper/modules/input/ActionOption.js +0 -18
  73. package/lib/bidiMapper/modules/input/ActionOption.js.map +0 -1
  74. package/lib/bidiMapper/modules/input/InputProcessor.d.ts +0 -9
  75. package/lib/bidiMapper/modules/input/InputProcessor.js +0 -190
  76. package/lib/bidiMapper/modules/input/InputProcessor.js.map +0 -1
  77. package/lib/bidiMapper/modules/input/InputSource.d.ts +0 -78
  78. package/lib/bidiMapper/modules/input/InputSource.js +0 -154
  79. package/lib/bidiMapper/modules/input/InputSource.js.map +0 -1
  80. package/lib/bidiMapper/modules/input/InputState.d.ts +0 -29
  81. package/lib/bidiMapper/modules/input/InputState.js +0 -89
  82. package/lib/bidiMapper/modules/input/InputState.js.map +0 -1
  83. package/lib/bidiMapper/modules/input/InputStateManager.d.ts +0 -21
  84. package/lib/bidiMapper/modules/input/InputStateManager.js +0 -30
  85. package/lib/bidiMapper/modules/input/InputStateManager.js.map +0 -1
  86. package/lib/bidiMapper/modules/input/USKeyboardLayout.d.ts +0 -17
  87. package/lib/bidiMapper/modules/input/USKeyboardLayout.js +0 -271
  88. package/lib/bidiMapper/modules/input/USKeyboardLayout.js.map +0 -1
  89. package/lib/bidiMapper/modules/input/keyUtils.d.ts +0 -31
  90. package/lib/bidiMapper/modules/input/keyUtils.js +0 -492
  91. package/lib/bidiMapper/modules/input/keyUtils.js.map +0 -1
  92. package/lib/bidiMapper/modules/log/LogManager.d.ts +0 -9
  93. package/lib/bidiMapper/modules/log/LogManager.js +0 -183
  94. package/lib/bidiMapper/modules/log/LogManager.js.map +0 -1
  95. package/lib/bidiMapper/modules/log/logHelper.d.ts +0 -23
  96. package/lib/bidiMapper/modules/log/logHelper.js +0 -168
  97. package/lib/bidiMapper/modules/log/logHelper.js.map +0 -1
  98. package/lib/bidiMapper/modules/network/CollectorsStorage.d.ts +0 -13
  99. package/lib/bidiMapper/modules/network/CollectorsStorage.js +0 -149
  100. package/lib/bidiMapper/modules/network/CollectorsStorage.js.map +0 -1
  101. package/lib/bidiMapper/modules/network/NetworkProcessor.d.ts +0 -54
  102. package/lib/bidiMapper/modules/network/NetworkProcessor.js +0 -541
  103. package/lib/bidiMapper/modules/network/NetworkProcessor.js.map +0 -1
  104. package/lib/bidiMapper/modules/network/NetworkRequest.d.ts +0 -55
  105. package/lib/bidiMapper/modules/network/NetworkRequest.js +0 -890
  106. package/lib/bidiMapper/modules/network/NetworkRequest.js.map +0 -1
  107. package/lib/bidiMapper/modules/network/NetworkStorage.d.ts +0 -57
  108. package/lib/bidiMapper/modules/network/NetworkStorage.js +0 -349
  109. package/lib/bidiMapper/modules/network/NetworkStorage.js.map +0 -1
  110. package/lib/bidiMapper/modules/network/NetworkUtils.d.ts +0 -59
  111. package/lib/bidiMapper/modules/network/NetworkUtils.js +0 -303
  112. package/lib/bidiMapper/modules/network/NetworkUtils.js.map +0 -1
  113. package/lib/bidiMapper/modules/permissions/PermissionsProcessor.d.ts +0 -23
  114. package/lib/bidiMapper/modules/permissions/PermissionsProcessor.js +0 -51
  115. package/lib/bidiMapper/modules/permissions/PermissionsProcessor.js.map +0 -1
  116. package/lib/bidiMapper/modules/script/ChannelProxy.d.ts +0 -30
  117. package/lib/bidiMapper/modules/script/ChannelProxy.js +0 -231
  118. package/lib/bidiMapper/modules/script/ChannelProxy.js.map +0 -1
  119. package/lib/bidiMapper/modules/script/PreloadScript.d.ts +0 -43
  120. package/lib/bidiMapper/modules/script/PreloadScript.js +0 -129
  121. package/lib/bidiMapper/modules/script/PreloadScript.js.map +0 -1
  122. package/lib/bidiMapper/modules/script/PreloadScriptStorage.d.ts +0 -23
  123. package/lib/bidiMapper/modules/script/PreloadScriptStorage.js +0 -75
  124. package/lib/bidiMapper/modules/script/PreloadScriptStorage.js.map +0 -1
  125. package/lib/bidiMapper/modules/script/Realm.d.ts +0 -67
  126. package/lib/bidiMapper/modules/script/Realm.js +0 -481
  127. package/lib/bidiMapper/modules/script/Realm.js.map +0 -1
  128. package/lib/bidiMapper/modules/script/RealmStorage.d.ts +0 -45
  129. package/lib/bidiMapper/modules/script/RealmStorage.js +0 -78
  130. package/lib/bidiMapper/modules/script/RealmStorage.js.map +0 -1
  131. package/lib/bidiMapper/modules/script/ScriptProcessor.d.ts +0 -33
  132. package/lib/bidiMapper/modules/script/ScriptProcessor.js +0 -132
  133. package/lib/bidiMapper/modules/script/ScriptProcessor.js.map +0 -1
  134. package/lib/bidiMapper/modules/script/SharedId.d.ts +0 -6
  135. package/lib/bidiMapper/modules/script/SharedId.js +0 -70
  136. package/lib/bidiMapper/modules/script/SharedId.js.map +0 -1
  137. package/lib/bidiMapper/modules/script/WindowRealm.d.ts +0 -43
  138. package/lib/bidiMapper/modules/script/WindowRealm.js +0 -142
  139. package/lib/bidiMapper/modules/script/WindowRealm.js.map +0 -1
  140. package/lib/bidiMapper/modules/script/WorkerRealm.d.ts +0 -33
  141. package/lib/bidiMapper/modules/script/WorkerRealm.js +0 -66
  142. package/lib/bidiMapper/modules/script/WorkerRealm.js.map +0 -1
  143. package/lib/bidiMapper/modules/session/EventManager.d.ts +0 -56
  144. package/lib/bidiMapper/modules/session/EventManager.js +0 -265
  145. package/lib/bidiMapper/modules/session/EventManager.js.map +0 -1
  146. package/lib/bidiMapper/modules/session/SessionProcessor.d.ts +0 -29
  147. package/lib/bidiMapper/modules/session/SessionProcessor.js +0 -127
  148. package/lib/bidiMapper/modules/session/SessionProcessor.js.map +0 -1
  149. package/lib/bidiMapper/modules/session/SubscriptionManager.d.ts +0 -64
  150. package/lib/bidiMapper/modules/session/SubscriptionManager.js +0 -266
  151. package/lib/bidiMapper/modules/session/SubscriptionManager.js.map +0 -1
  152. package/lib/bidiMapper/modules/session/events.d.ts +0 -26
  153. package/lib/bidiMapper/modules/session/events.js +0 -33
  154. package/lib/bidiMapper/modules/session/events.js.map +0 -1
  155. package/lib/bidiMapper/modules/speculation/SpeculationProcessor.d.ts +0 -24
  156. package/lib/bidiMapper/modules/speculation/SpeculationProcessor.js +0 -58
  157. package/lib/bidiMapper/modules/speculation/SpeculationProcessor.js.map +0 -1
  158. package/lib/bidiMapper/modules/storage/StorageProcessor.d.ts +0 -14
  159. package/lib/bidiMapper/modules/storage/StorageProcessor.js +0 -191
  160. package/lib/bidiMapper/modules/storage/StorageProcessor.js.map +0 -1
  161. package/lib/bidiMapper/modules/webExtension/WebExtensionProcessor.d.ts +0 -27
  162. package/lib/bidiMapper/modules/webExtension/WebExtensionProcessor.js +0 -65
  163. package/lib/bidiMapper/modules/webExtension/WebExtensionProcessor.js.map +0 -1
  164. package/lib/bidiServer/BrowserInstance.d.ts +0 -23
  165. package/lib/bidiServer/BrowserInstance.js +0 -107
  166. package/lib/bidiServer/BrowserInstance.js.map +0 -1
  167. package/lib/bidiServer/MapperCdpConnection.d.ts +0 -25
  168. package/lib/bidiServer/MapperCdpConnection.js +0 -138
  169. package/lib/bidiServer/MapperCdpConnection.js.map +0 -1
  170. package/lib/bidiServer/PipeTransport.d.ts +0 -8
  171. package/lib/bidiServer/PipeTransport.js +0 -77
  172. package/lib/bidiServer/PipeTransport.js.map +0 -1
  173. package/lib/bidiServer/SimpleTransport.d.ts +0 -13
  174. package/lib/bidiServer/SimpleTransport.js +0 -35
  175. package/lib/bidiServer/SimpleTransport.js.map +0 -1
  176. package/lib/bidiServer/WebSocketServer.d.ts +0 -6
  177. package/lib/bidiServer/WebSocketServer.js +0 -374
  178. package/lib/bidiServer/WebSocketServer.js.map +0 -1
  179. package/lib/bidiServer/index.d.ts +0 -23
  180. package/lib/bidiServer/index.js +0 -49
  181. package/lib/bidiServer/index.js.map +0 -1
  182. package/lib/bidiServer/reader.d.ts +0 -17
  183. package/lib/bidiServer/reader.js +0 -22
  184. package/lib/bidiServer/reader.js.map +0 -1
  185. package/lib/bidiTab/BidiParser.d.ts +0 -94
  186. package/lib/bidiTab/BidiParser.js +0 -263
  187. package/lib/bidiTab/BidiParser.js.map +0 -1
  188. package/lib/bidiTab/Transport.d.ts +0 -37
  189. package/lib/bidiTab/Transport.js +0 -145
  190. package/lib/bidiTab/Transport.js.map +0 -1
  191. package/lib/bidiTab/bidiTab.d.ts +0 -32
  192. package/lib/bidiTab/bidiTab.js +0 -56
  193. package/lib/bidiTab/bidiTab.js.map +0 -1
  194. package/lib/bidiTab/mapperTabPage.d.ts +0 -19
  195. package/lib/bidiTab/mapperTabPage.js +0 -59
  196. package/lib/bidiTab/mapperTabPage.js.map +0 -1
  197. package/lib/cdp/CdpClient.d.ts +0 -54
  198. package/lib/cdp/CdpClient.js +0 -40
  199. package/lib/cdp/CdpClient.js.map +0 -1
  200. package/lib/cdp/CdpConnection.d.ts +0 -45
  201. package/lib/cdp/CdpConnection.js +0 -130
  202. package/lib/cdp/CdpConnection.js.map +0 -1
  203. package/lib/cdp/cdp.d.ts +0 -19
  204. package/lib/cdp/cdp.js +0 -20
  205. package/lib/cdp/cdp.js.map +0 -1
  206. package/lib/cdp/cdpMessage.d.ts +0 -30
  207. package/lib/cdp/cdpMessage.js +0 -2
  208. package/lib/cdp/cdpMessage.js.map +0 -1
  209. package/lib/iife/mapperTab.js +0 -19967
  210. package/lib/iife/mapperTab.js.map +0 -1
  211. package/lib/index.d.ts +0 -18
  212. package/lib/index.js +0 -19
  213. package/lib/index.js.map +0 -1
  214. package/lib/protocol/ErrorResponse.d.ts +0 -112
  215. package/lib/protocol/ErrorResponse.js +0 -166
  216. package/lib/protocol/ErrorResponse.js.map +0 -1
  217. package/lib/protocol/cdp.d.ts +0 -77
  218. package/lib/protocol/cdp.js +0 -2
  219. package/lib/protocol/cdp.js.map +0 -1
  220. package/lib/protocol/chromium-bidi.d.ts +0 -112
  221. package/lib/protocol/chromium-bidi.js +0 -124
  222. package/lib/protocol/chromium-bidi.js.map +0 -1
  223. package/lib/protocol/generated/webdriver-bidi-bluetooth.d.ts +0 -309
  224. package/lib/protocol/generated/webdriver-bidi-bluetooth.js +0 -18
  225. package/lib/protocol/generated/webdriver-bidi-bluetooth.js.map +0 -1
  226. package/lib/protocol/generated/webdriver-bidi-nav-speculation.d.ts +0 -43
  227. package/lib/protocol/generated/webdriver-bidi-nav-speculation.js +0 -18
  228. package/lib/protocol/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  229. package/lib/protocol/generated/webdriver-bidi-permissions.d.ts +0 -49
  230. package/lib/protocol/generated/webdriver-bidi-permissions.js +0 -18
  231. package/lib/protocol/generated/webdriver-bidi-permissions.js.map +0 -1
  232. package/lib/protocol/generated/webdriver-bidi-ua-client-hints.d.ts +0 -55
  233. package/lib/protocol/generated/webdriver-bidi-ua-client-hints.js +0 -18
  234. package/lib/protocol/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  235. package/lib/protocol/generated/webdriver-bidi.d.ts +0 -2767
  236. package/lib/protocol/generated/webdriver-bidi.js +0 -18
  237. package/lib/protocol/generated/webdriver-bidi.js.map +0 -1
  238. package/lib/protocol/protocol.d.ts +0 -24
  239. package/lib/protocol/protocol.js +0 -26
  240. package/lib/protocol/protocol.js.map +0 -1
  241. package/lib/protocol-parser/generated/webdriver-bidi-bluetooth.d.ts +0 -2216
  242. package/lib/protocol-parser/generated/webdriver-bidi-bluetooth.js +0 -348
  243. package/lib/protocol-parser/generated/webdriver-bidi-bluetooth.js.map +0 -1
  244. package/lib/protocol-parser/generated/webdriver-bidi-nav-speculation.d.ts +0 -102
  245. package/lib/protocol-parser/generated/webdriver-bidi-nav-speculation.js +0 -43
  246. package/lib/protocol-parser/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  247. package/lib/protocol-parser/generated/webdriver-bidi-permissions.d.ts +0 -175
  248. package/lib/protocol-parser/generated/webdriver-bidi-permissions.js +0 -50
  249. package/lib/protocol-parser/generated/webdriver-bidi-permissions.js.map +0 -1
  250. package/lib/protocol-parser/generated/webdriver-bidi-ua-client-hints.d.ts +0 -427
  251. package/lib/protocol-parser/generated/webdriver-bidi-ua-client-hints.js +0 -65
  252. package/lib/protocol-parser/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  253. package/lib/protocol-parser/generated/webdriver-bidi.d.ts +0 -65923
  254. package/lib/protocol-parser/generated/webdriver-bidi.js +0 -2993
  255. package/lib/protocol-parser/generated/webdriver-bidi.js.map +0 -1
  256. package/lib/protocol-parser/protocol-parser.d.ts +0 -177
  257. package/lib/protocol-parser/protocol-parser.js +0 -465
  258. package/lib/protocol-parser/protocol-parser.js.map +0 -1
  259. package/lib/utils/Buffer.d.ts +0 -27
  260. package/lib/utils/Buffer.js +0 -43
  261. package/lib/utils/Buffer.js.map +0 -1
  262. package/lib/utils/DefaultMap.d.ts +0 -26
  263. package/lib/utils/DefaultMap.js +0 -36
  264. package/lib/utils/DefaultMap.js.map +0 -1
  265. package/lib/utils/Deferred.d.ts +0 -28
  266. package/lib/utils/Deferred.js +0 -67
  267. package/lib/utils/Deferred.js.map +0 -1
  268. package/lib/utils/EventEmitter.d.ts +0 -58
  269. package/lib/utils/EventEmitter.js +0 -67
  270. package/lib/utils/EventEmitter.js.map +0 -1
  271. package/lib/utils/IdWrapper.d.ts +0 -24
  272. package/lib/utils/IdWrapper.js +0 -30
  273. package/lib/utils/IdWrapper.js.map +0 -1
  274. package/lib/utils/Mutex.d.ts +0 -29
  275. package/lib/utils/Mutex.js +0 -64
  276. package/lib/utils/Mutex.js.map +0 -1
  277. package/lib/utils/ProcessingQueue.d.ts +0 -24
  278. package/lib/utils/ProcessingQueue.js +0 -63
  279. package/lib/utils/ProcessingQueue.js.map +0 -1
  280. package/lib/utils/assert.d.ts +0 -17
  281. package/lib/utils/assert.js +0 -22
  282. package/lib/utils/assert.js.map +0 -1
  283. package/lib/utils/base64.d.ts +0 -24
  284. package/lib/utils/base64.js +0 -32
  285. package/lib/utils/base64.js.map +0 -1
  286. package/lib/utils/cdpErrorConstants.d.ts +0 -22
  287. package/lib/utils/cdpErrorConstants.js +0 -18
  288. package/lib/utils/cdpErrorConstants.js.map +0 -1
  289. package/lib/utils/graphemeTools.d.ts +0 -9
  290. package/lib/utils/graphemeTools.js +0 -34
  291. package/lib/utils/graphemeTools.js.map +0 -1
  292. package/lib/utils/log.d.ts +0 -26
  293. package/lib/utils/log.js +0 -28
  294. package/lib/utils/log.js.map +0 -1
  295. package/lib/utils/result.d.ts +0 -23
  296. package/lib/utils/result.js +0 -18
  297. package/lib/utils/result.js.map +0 -1
  298. package/lib/utils/time.d.ts +0 -17
  299. package/lib/utils/time.js +0 -24
  300. package/lib/utils/time.js.map +0 -1
  301. package/lib/utils/transport.d.ts +0 -25
  302. package/lib/utils/transport.js +0 -18
  303. package/lib/utils/transport.js.map +0 -1
  304. package/lib/utils/unitConversions.d.ts +0 -18
  305. package/lib/utils/unitConversions.js +0 -21
  306. package/lib/utils/unitConversions.js.map +0 -1
  307. package/lib/utils/urlHelpers.d.ts +0 -8
  308. package/lib/utils/urlHelpers.js +0 -49
  309. package/lib/utils/urlHelpers.js.map +0 -1
  310. package/lib/utils/uuid.d.ts +0 -25
  311. package/lib/utils/uuid.js +0 -61
  312. package/lib/utils/uuid.js.map +0 -1
package/.browser CHANGED
@@ -1 +1 @@
1
- chrome@149.0.7826.0
1
+ chrome@152.0.7927.0
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  ![Unit Tests](https://github.com/GoogleChromeLabs/chromium-bidi/actions/workflows/unit.yml/badge.svg)
7
7
  ![WPT Tests](https://github.com/GoogleChromeLabs/chromium-bidi/actions/workflows/wpt.yml/badge.svg)
8
8
 
9
- ![Pre-commit](https://github.com/GoogleChromeLabs/chromium-bidi/actions/workflows/pre-commit.yml/badge.svg)
9
+ ![Lint and Format Checks](https://github.com/GoogleChromeLabs/chromium-bidi/actions/workflows/pre-commit.yml/badge.svg)
10
10
 
11
11
  This is an implementation of the
12
12
  [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) protocol with some
@@ -166,6 +166,23 @@ This is a Node.js project, so install dependencies as usual:
166
166
  npm install
167
167
  ```
168
168
 
169
+ ### Build Setup
170
+
171
+ The project uses Chromium build toolchains (`gn` and `ninja`) for compiling TypeScript and bundling.
172
+
173
+ 1. Fetch the toolchains using `gclient` (requires `depot_tools` installed and in your PATH):
174
+ ```sh
175
+ gclient sync
176
+ ```
177
+ 2. Generate the Ninja build configuration:
178
+ ```sh
179
+ npm run gn:gen
180
+ ```
181
+ 3. Build the project:
182
+ ```sh
183
+ npm run build
184
+ ```
185
+
169
186
  ### `cargo`
170
187
 
171
188
  <!-- TODO(jrandolf): Remove after binaries get published -->
@@ -175,19 +192,27 @@ We use [cddlconv](https://github.com/google/cddlconv) to generate our WebDriverB
175
192
  1. Install [Rust](https://rustup.rs/).
176
193
  2. Run `cargo install --git https://github.com/google/cddlconv.git cddlconv`
177
194
 
178
- ### pre-commit.com integration
195
+ ### Code Formatting & Linting
179
196
 
180
- Refer to the documentation at [.pre-commit-config.yaml](.pre-commit-config.yaml).
197
+ We use a suite of tools to format and lint the codebase:
198
+
199
+ - [keep-sorted](https://github.com/google/keep-sorted) to automatically sort lists, imports, and keys.
200
+ - [ESLint](https://eslint.org/) to lint JavaScript and TypeScript files.
201
+ - [Prettier](https://prettier.io/) to format JavaScript, TypeScript, JSON, and Markdown files.
202
+ - [Ruff](https://docs.astral.sh/ruff/) to lint and format Python files.
203
+
204
+ To check and auto-format the entire codebase, run:
181
205
 
182
206
  ```sh
183
- pre-commit install --hook-type pre-push
207
+ npm run format
184
208
  ```
185
209
 
186
- Re-installing pre-commit locally:
210
+ This command sequentially executes the following steps:
187
211
 
188
- ```
189
- pre-commit clean && pip install pre-commit
190
- ```
212
+ 1. `keep-sorted --mode=fix`
213
+ 2. `eslint --cache --fix`
214
+ 3. `prettier --cache --write`
215
+ 4. `ruff check --fix` and `ruff format`
191
216
 
192
217
  ### Starting WebDriver BiDi Server
193
218
 
@@ -428,18 +453,10 @@ https://www.google.com/chrome/dev/
428
453
 
429
454
  #### 2. Build Chromedriver BiDi
430
455
 
431
- Oneshot:
432
-
433
456
  ```sh
434
457
  npm run build
435
458
  ```
436
459
 
437
- Continuously:
438
-
439
- ```sh
440
- npm run build --watch
441
- ```
442
-
443
460
  #### 3. Run
444
461
 
445
462
  ```sh
package/package.json CHANGED
@@ -1,139 +1,41 @@
1
1
  {
2
2
  "name": "chromium-bidi",
3
- "version": "16.0.1",
3
+ "version": "17.0.1",
4
4
  "description": "An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.",
5
5
  "engines": {
6
6
  "node": ">=20.19.0 <22.0.0 || >=22.12.0"
7
7
  },
8
8
  "scripts": {
9
- "build": "wireit",
10
- "clean": "node tools/clean.mjs",
9
+ "build": "third_party/ninja/ninja -C out/Default",
10
+ "clean": "third_party/ninja/ninja -C out/Default -t clean",
11
+ "gn:gen": "gn gen out/Default",
11
12
  "e2e:headful": "HEADLESS=false npm run e2e --",
12
13
  "e2e:headless": "npm run e2e:new-headless --",
13
14
  "e2e:new-headless": "HEADLESS=new npm run e2e --",
14
15
  "e2e:old-headless": "HEADLESS=old npm run e2e --",
15
- "e2e": "wireit",
16
+ "e2e": "npm run build && ./tools/node.py tools/run-e2e.mjs",
16
17
  "flake8": "flake8 examples/ tests/",
17
- "format": "npm run pre-commit --",
18
+ "format": "npm run format:eslint && npm run format:prettier && npm run format:py && npm run format:keep-sorted",
18
19
  "format:eslint": "eslint --cache --fix .",
20
+ "format:keep-sorted": "keep-sorted --mode=fix $(git ls-files | grep -v '^wpt$')",
19
21
  "format:prettier": "prettier --cache --write .",
20
- "pre-commit": "pre-commit run --hook-stage manual --all-files",
21
- "prepare": "wireit",
22
- "rollup": "wireit",
23
- "server": "wireit",
24
- "test": "wireit",
25
- "tsc": "wireit",
26
- "unit": "wireit",
27
- "wpt": "wireit",
28
- "wpt:all": "wireit",
22
+ "format:py": "(command -v ruff >/dev/null && ruff check --fix . && ruff format .) || (pipenv run ruff check --fix . && pipenv run ruff format .)",
23
+ "prepare": "npm run build",
24
+ "rdb-e2e": "rdb stream -new -realm chromium:public -- npm run e2e",
25
+ "rdb-unit": "rdb stream -new -realm chromium:public -- npm run unit",
26
+ "server": "npm run build && ./tools/node.py tools/run-bidi-server.mjs",
27
+ "test": "npm run unit && npm run e2e && npm run wpt",
28
+ "unit": "npm run build && ./tools/node.py --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/unit-resultsink-reporter.mjs --test-reporter-destination=stdout 'out/Default/gen/src/**/*.test.js'",
29
+ "wpt": "npm run build && ./tools/node.py tools/run-wpt.mjs",
30
+ "wpt:all": "npm run build && ./tools/node.py tools/run-wpt-all.mjs",
29
31
  "yapf": "yapf -i --parallel --recursive --exclude=wpt examples/ tests/"
30
32
  },
31
33
  "type": "module",
32
- "main": "./lib/index.js",
33
- "wireit": {
34
- "build": {
35
- "dependencies": [
36
- "rollup",
37
- "tsc"
38
- ]
39
- },
40
- "e2e": {
41
- "command": "tools/run-e2e.mjs",
42
- "files": [
43
- "tools/run-e2e.mjs ",
44
- "pytest.ini",
45
- "tests/**/*.py"
46
- ],
47
- "dependencies": [
48
- "build"
49
- ]
50
- },
51
- "prepare": {
52
- "dependencies": [
53
- "build"
54
- ]
55
- },
56
- "rollup": {
57
- "command": "rollup -c",
58
- "dependencies": [
59
- "tsc"
60
- ],
61
- "files": [
62
- "lib/bidiMapper/",
63
- "rollup.config.mjs"
64
- ],
65
- "output": [
66
- "lib/iife/mapperTab.js"
67
- ]
68
- },
69
- "server": {
70
- "command": "tools/run-bidi-server.mjs",
71
- "files": [
72
- "tools/run-bidi-server.mjs"
73
- ],
74
- "service": {
75
- "readyWhen": {
76
- "lineMatches": "(BiDi server|ChromeDriver) was started successfully"
77
- }
78
- },
79
- "dependencies": [
80
- "rollup"
81
- ]
82
- },
83
- "test": {
84
- "dependencies": [
85
- "unit",
86
- "e2e",
87
- "wpt"
88
- ]
89
- },
90
- "tsc": {
91
- "command": "tsc --build src/tsconfig.json --pretty",
92
- "clean": "if-file-deleted",
93
- "files": [
94
- "tsconfig.base.json",
95
- "src/**/tsconfig*.json",
96
- "src/**/*.ts"
97
- ],
98
- "output": [
99
- "lib/**"
100
- ]
101
- },
102
- "unit": {
103
- "command": "mocha",
104
- "dependencies": [
105
- "tsc"
106
- ]
107
- },
108
- "wpt": {
109
- "command": "tools/run-wpt.mjs",
110
- "files": [
111
- "tools/run-wpt.mjs",
112
- "wpt/tools/webdriver/**/*.py",
113
- "wpt/webdriver/tests/**/*.py",
114
- "wpt-metadata/**/*.ini"
115
- ],
116
- "dependencies": [
117
- "rollup"
118
- ]
119
- },
120
- "wpt:all": {
121
- "command": "tools/run-wpt-all.mjs",
122
- "files": [
123
- "tools/run-wpt.mjs",
124
- "tools/run-wpt-all.mjs",
125
- "wpt/tools/webdriver/**/*.py",
126
- "wpt/webdriver/tests/**/*.py",
127
- "wpt-metadata/**/*.ini"
128
- ],
129
- "dependencies": [
130
- "rollup"
131
- ]
132
- }
133
- },
34
+ "main": "./out/Default/gen/src/index.js",
134
35
  "files": [
135
- "lib",
136
- "!lib/**/*.spec.*",
36
+ "out/Default/gen/src",
37
+ "!out/Default/gen/src/**/*.test.*",
38
+ "out/Default/lib",
137
39
  "!*.tsbuildinfo",
138
40
  ".browser"
139
41
  ],
@@ -147,69 +49,37 @@
147
49
  "devtools-protocol": "*"
148
50
  },
149
51
  "devDependencies": {
150
- "@actions/core": "3.0.0",
52
+ "@actions/core": "3.0.1",
151
53
  "@eslint/js": "10.0.1",
152
- "@puppeteer/browsers": "2.13.0",
54
+ "@puppeteer/browsers": "3.0.5",
153
55
  "@rollup/plugin-node-resolve": "16.0.3",
154
- "@rollup/wasm-node": "4.59.0",
155
- "@types/chai": "4.3.17",
156
- "@types/chai-as-promised": "7.1.8",
157
- "@types/debug": "4.1.12",
158
- "@types/mocha": "10.0.10",
159
- "@types/node": "20.19.35",
160
- "@types/sinon": "21.0.0",
56
+ "@rollup/wasm-node": "4.62.2",
57
+ "@types/chai": "5.2.3",
58
+ "@types/node": "20.19.43",
59
+ "@types/sinon": "21.0.1",
161
60
  "@types/websocket": "1.0.10",
162
- "@types/ws": "8.18.1",
163
- "@types/yargs": "17.0.35",
164
- "chai": "4.5.0",
165
- "chai-as-promised": "7.1.2",
166
- "debug": "4.4.3",
167
- "devtools-protocol": "0.0.1624250",
168
- "eslint": "10.0.2",
61
+ "chai": "6.2.2",
62
+ "devtools-protocol": "0.0.1655900",
63
+ "eslint": "10.5.0",
169
64
  "eslint-config-prettier": "10.1.8",
170
- "eslint-import-resolver-typescript": "4.4.4",
65
+ "eslint-import-resolver-typescript": "4.4.5",
171
66
  "eslint-plugin-import": "2.32.0",
172
- "eslint-plugin-mocha": "11.2.0",
173
- "eslint-plugin-prettier": "5.5.5",
174
- "eslint-plugin-promise": "7.2.1",
175
- "globals": "17.3.0",
176
- "mocha": "11.7.5",
177
- "package-directory": "8.2.0",
178
- "prettier": "3.8.1",
179
- "rimraf": "6.1.3",
180
- "rollup": "4.59.0",
67
+ "eslint-plugin-prettier": "5.5.6",
68
+ "eslint-plugin-promise": "7.3.0",
69
+ "globals": "17.7.0",
70
+ "prettier": "3.8.4",
71
+ "rollup": "4.62.2",
181
72
  "rollup-plugin-cleanup": "3.2.1",
182
- "rollup-plugin-license": "3.7.0",
183
- "selenium-webdriver": "4.41.0",
184
- "semver": "7.7.4",
185
- "sinon": "21.0.1",
186
- "source-map-support": "0.5.21",
187
- "tslib": "2.8.1",
188
- "typescript": "5.9.3",
189
- "typescript-eslint": "8.56.1",
190
- "webdriverio": "9.24.0",
191
- "websocket": "1.0.35",
192
- "wireit": "0.14.12",
193
- "yargs": "18.0.0"
73
+ "rollup-plugin-license": "3.7.1",
74
+ "semver": "7.8.5",
75
+ "sinon": "22.0.0",
76
+ "typescript": "6.0.3",
77
+ "typescript-eslint": "8.62.0",
78
+ "websocket": "1.0.35"
194
79
  },
195
80
  "overrides": {
196
81
  "eslint-plugin-import": {
197
82
  "eslint": "$eslint"
198
- },
199
- "eslint-plugin-promise": {
200
- "eslint": "$eslint"
201
- },
202
- "typescript-eslint": {
203
- "eslint": "$eslint"
204
- },
205
- "@typescript-eslint/eslint-plugin": {
206
- "eslint": "$eslint"
207
- },
208
- "@typescript-eslint/parser": {
209
- "eslint": "$eslint"
210
- },
211
- "@typescript-eslint/utils": {
212
- "eslint": "$eslint"
213
83
  }
214
84
  },
215
85
  "dependencies": {
@@ -1,56 +0,0 @@
1
- Name: mitt
2
- URL: https://github.com/developit/mitt
3
- Version: 3.0.1
4
- License: MIT
5
-
6
- MIT License
7
-
8
- Copyright (c) 2021 Jason Miller
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
-
29
- -------------------- DEPENDENCY DIVIDER --------------------
30
-
31
- Name: zod
32
- URL: https://zod.dev
33
- Version: 3.25.76
34
- License: MIT
35
-
36
- MIT License
37
-
38
- Copyright (c) 2025 Colin McDonnell
39
-
40
- Permission is hereby granted, free of charge, to any person obtaining a copy
41
- of this software and associated documentation files (the "Software"), to deal
42
- in the Software without restriction, including without limitation the rights
43
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
44
- copies of the Software, and to permit persons to whom the Software is
45
- furnished to do so, subject to the following conditions:
46
-
47
- The above copyright notice and this permission notice shall be included in all
48
- copies or substantial portions of the Software.
49
-
50
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
51
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
52
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
53
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
54
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
55
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
56
- SOFTWARE.
@@ -1,29 +0,0 @@
1
- /**
2
- * Copyright 2022 Google LLC.
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- /**
18
- * @fileoverview The entry point to the BiDi Mapper namespace.
19
- * Other modules should only access exports defined in this file.
20
- * XXX: Add ESlint rule for this (https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-restricted-paths.md)
21
- */
22
- export { BidiServer } from './BidiServer.js';
23
- export { MapperOptions } from './MapperOptions.js';
24
- export type { CdpConnection } from '../cdp/CdpConnection.js';
25
- export type { CdpClient } from '../cdp/CdpClient.js';
26
- export { EventEmitter } from '../utils/EventEmitter.js';
27
- export type { BidiTransport } from './BidiTransport.js';
28
- export { OutgoingMessage } from './OutgoingMessage.js';
29
- export type { BidiCommandParameterParser } from './BidiParser.js';
@@ -1,25 +0,0 @@
1
- /**
2
- * Copyright 2022 Google LLC.
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- /**
18
- * @fileoverview The entry point to the BiDi Mapper namespace.
19
- * Other modules should only access exports defined in this file.
20
- * XXX: Add ESlint rule for this (https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-restricted-paths.md)
21
- */
22
- export { BidiServer } from './BidiServer.js';
23
- export { EventEmitter } from '../utils/EventEmitter.js';
24
- export { OutgoingMessage } from './OutgoingMessage.js';
25
- //# sourceMappingURL=BidiMapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BidiMapper.js","sourceRoot":"","sources":["../../src/bidiMapper/BidiMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AACH,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAI3C,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC"}
@@ -1,94 +0,0 @@
1
- /**
2
- * Copyright 2023 Google LLC.
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import type { Browser, BrowsingContext, Cdp, Emulation, Input, Network, Script, Session, Storage, Permissions, Bluetooth, WebExtension, UAClientHints } from '../protocol/protocol.js';
18
- import type { BidiCommandParameterParser } from './BidiParser.js';
19
- export declare class BidiNoOpParser implements BidiCommandParameterParser {
20
- parseDisableSimulationParameters(params: unknown): Bluetooth.DisableSimulationParameters;
21
- parseHandleRequestDevicePromptParams(params: unknown): Bluetooth.HandleRequestDevicePromptParameters;
22
- parseSimulateAdapterParameters(params: unknown): Bluetooth.SimulateAdapterParameters;
23
- parseSimulateAdvertisementParameters(params: unknown): Bluetooth.SimulateAdvertisementParameters;
24
- parseSimulateCharacteristicParameters(params: unknown): Bluetooth.SimulateCharacteristicParameters;
25
- parseSimulateCharacteristicResponseParameters(params: unknown): Bluetooth.SimulateCharacteristicResponseParameters;
26
- parseSimulateDescriptorParameters(params: unknown): Bluetooth.SimulateDescriptorParameters;
27
- parseSimulateDescriptorResponseParameters(params: unknown): Bluetooth.SimulateDescriptorResponseParameters;
28
- parseSimulateGattConnectionResponseParameters(params: unknown): Bluetooth.SimulateGattConnectionResponseParameters;
29
- parseSimulateGattDisconnectionParameters(params: unknown): Bluetooth.SimulateGattDisconnectionParameters;
30
- parseSimulatePreconnectedPeripheralParameters(params: unknown): Bluetooth.SimulatePreconnectedPeripheralParameters;
31
- parseSimulateServiceParameters(params: unknown): Bluetooth.SimulateServiceParameters;
32
- parseCreateUserContextParameters(params: unknown): Browser.CreateUserContextParameters;
33
- parseRemoveUserContextParameters(params: unknown): Browser.RemoveUserContextParameters;
34
- parseSetClientWindowStateParameters(params: unknown): Browser.SetClientWindowStateParameters;
35
- parseSetDownloadBehaviorParameters(params: unknown): Browser.SetDownloadBehaviorParameters;
36
- parseActivateParams(params: unknown): BrowsingContext.ActivateParameters;
37
- parseCaptureScreenshotParams(params: unknown): BrowsingContext.CaptureScreenshotParameters;
38
- parseCloseParams(params: unknown): BrowsingContext.CloseParameters;
39
- parseCreateParams(params: unknown): BrowsingContext.CreateParameters;
40
- parseGetTreeParams(params: unknown): BrowsingContext.GetTreeParameters;
41
- parseHandleUserPromptParams(params: unknown): BrowsingContext.HandleUserPromptParameters;
42
- parseLocateNodesParams(params: unknown): BrowsingContext.LocateNodesParameters;
43
- parseNavigateParams(params: unknown): BrowsingContext.NavigateParameters;
44
- parsePrintParams(params: unknown): BrowsingContext.PrintParameters;
45
- parseReloadParams(params: unknown): BrowsingContext.ReloadParameters;
46
- parseSetBypassCspParams(params: unknown): BrowsingContext.SetBypassCspParameters;
47
- parseSetViewportParams(params: unknown): BrowsingContext.SetViewportParameters;
48
- parseTraverseHistoryParams(params: unknown): BrowsingContext.TraverseHistoryParameters;
49
- parseGetSessionParams(params: unknown): Cdp.GetSessionParameters;
50
- parseResolveRealmParams(params: unknown): Cdp.ResolveRealmParameters;
51
- parseSendCommandParams(params: unknown): Cdp.SendCommandParameters;
52
- parseSetClientHintsOverrideParams(params: unknown): UAClientHints.UserAgentClientHints.SetClientHintsOverrideCommand['params'];
53
- parseSetForcedColorsModeThemeOverrideParams(params: unknown): Emulation.SetForcedColorsModeThemeOverrideParameters;
54
- parseSetGeolocationOverrideParams(params: unknown): Emulation.SetGeolocationOverrideParameters;
55
- parseSetLocaleOverrideParams(params: unknown): Emulation.SetLocaleOverrideParameters;
56
- parseSetNetworkConditionsParams(params: unknown): Emulation.SetNetworkConditionsParameters;
57
- parseSetScreenOrientationOverrideParams(params: unknown): Emulation.SetScreenOrientationOverrideParameters;
58
- parseSetScreenSettingsOverrideParams(params: unknown): Emulation.SetScreenSettingsOverrideParameters;
59
- parseSetScriptingEnabledParams(params: unknown): Emulation.SetScriptingEnabledParameters;
60
- parseSetScrollbarTypeOverrideParams(params: unknown): Emulation.SetScrollbarTypeOverrideParameters;
61
- parseSetTimezoneOverrideParams(params: unknown): Emulation.SetTimezoneOverrideParameters;
62
- parseSetTouchOverrideParams(params: unknown): Emulation.SetTouchOverrideParameters;
63
- parseSetUserAgentOverrideParams(params: unknown): Emulation.SetUserAgentOverrideParameters;
64
- parseAddPreloadScriptParams(params: unknown): Script.AddPreloadScriptParameters;
65
- parseCallFunctionParams(params: unknown): Script.CallFunctionParameters;
66
- parseDisownParams(params: unknown): Script.DisownParameters;
67
- parseEvaluateParams(params: unknown): Script.EvaluateParameters;
68
- parseGetRealmsParams(params: unknown): Script.GetRealmsParameters;
69
- parseRemovePreloadScriptParams(params: unknown): Script.RemovePreloadScriptParameters;
70
- parsePerformActionsParams(params: unknown): Input.PerformActionsParameters;
71
- parseReleaseActionsParams(params: unknown): Input.ReleaseActionsParameters;
72
- parseSetFilesParams(params: unknown): Input.SetFilesParameters;
73
- parseAddDataCollectorParams(params: unknown): Network.AddDataCollectorParameters;
74
- parseAddInterceptParams(params: unknown): Network.AddInterceptParameters;
75
- parseContinueRequestParams(params: unknown): Network.ContinueRequestParameters;
76
- parseContinueResponseParams(params: unknown): Network.ContinueResponseParameters;
77
- parseContinueWithAuthParams(params: unknown): Network.ContinueWithAuthParameters;
78
- parseDisownDataParams(params: unknown): Network.DisownDataParameters;
79
- parseFailRequestParams(params: unknown): Network.FailRequestParameters;
80
- parseGetDataParams(params: unknown): Network.GetDataParameters;
81
- parseProvideResponseParams(params: unknown): Network.ProvideResponseParameters;
82
- parseRemoveDataCollectorParams(params: unknown): Network.RemoveDataCollectorParameters;
83
- parseRemoveInterceptParams(params: unknown): Network.RemoveInterceptParameters;
84
- parseSetCacheBehaviorParams(params: unknown): Network.SetCacheBehaviorParameters;
85
- parseSetExtraHeadersParams(params: unknown): Network.SetExtraHeadersParameters;
86
- parseSetPermissionsParams(params: unknown): Permissions.SetPermissionParameters;
87
- parseSubscribeParams(params: unknown): Session.SubscribeParameters;
88
- parseUnsubscribeParams(params: unknown): Session.UnsubscribeByAttributesRequest | Session.UnsubscribeByIdRequest;
89
- parseDeleteCookiesParams(params: unknown): Storage.DeleteCookiesParameters;
90
- parseGetCookiesParams(params: unknown): Storage.GetCookiesParameters;
91
- parseSetCookieParams(params: unknown): Storage.SetCookieParameters;
92
- parseInstallParams(params: unknown): WebExtension.InstallParameters;
93
- parseUninstallParams(params: unknown): WebExtension.UninstallParameters;
94
- }