chromium-bidi 15.0.0 → 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 (598) hide show
  1. package/.browser +1 -1
  2. package/README.md +33 -16
  3. package/package.json +45 -208
  4. package/lib/THIRD_PARTY_NOTICES +0 -56
  5. package/lib/cjs/bidiMapper/BidiMapper.d.ts +0 -29
  6. package/lib/cjs/bidiMapper/BidiMapper.js +0 -31
  7. package/lib/cjs/bidiMapper/BidiMapper.js.map +0 -1
  8. package/lib/cjs/bidiMapper/BidiNoOpParser.d.ts +0 -92
  9. package/lib/cjs/bidiMapper/BidiNoOpParser.js +0 -274
  10. package/lib/cjs/bidiMapper/BidiNoOpParser.js.map +0 -1
  11. package/lib/cjs/bidiMapper/BidiParser.d.ts +0 -91
  12. package/lib/cjs/bidiMapper/BidiParser.js +0 -19
  13. package/lib/cjs/bidiMapper/BidiParser.js.map +0 -1
  14. package/lib/cjs/bidiMapper/BidiServer.d.ts +0 -42
  15. package/lib/cjs/bidiMapper/BidiServer.js +0 -169
  16. package/lib/cjs/bidiMapper/BidiServer.js.map +0 -1
  17. package/lib/cjs/bidiMapper/BidiTransport.d.ts +0 -22
  18. package/lib/cjs/bidiMapper/BidiTransport.js +0 -19
  19. package/lib/cjs/bidiMapper/BidiTransport.js.map +0 -1
  20. package/lib/cjs/bidiMapper/CommandProcessor.d.ts +0 -48
  21. package/lib/cjs/bidiMapper/CommandProcessor.js +0 -326
  22. package/lib/cjs/bidiMapper/CommandProcessor.js.map +0 -1
  23. package/lib/cjs/bidiMapper/MapperOptions.d.ts +0 -7
  24. package/lib/cjs/bidiMapper/MapperOptions.js +0 -20
  25. package/lib/cjs/bidiMapper/MapperOptions.js.map +0 -1
  26. package/lib/cjs/bidiMapper/OutgoingMessage.d.ts +0 -27
  27. package/lib/cjs/bidiMapper/OutgoingMessage.js +0 -52
  28. package/lib/cjs/bidiMapper/OutgoingMessage.js.map +0 -1
  29. package/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.d.ts +0 -37
  30. package/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js +0 -411
  31. package/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js.map +0 -1
  32. package/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.d.ts +0 -37
  33. package/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js +0 -294
  34. package/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js.map +0 -1
  35. package/lib/cjs/bidiMapper/modules/browser/ContextConfig.d.ts +0 -50
  36. package/lib/cjs/bidiMapper/modules/browser/ContextConfig.js +0 -74
  37. package/lib/cjs/bidiMapper/modules/browser/ContextConfig.js.map +0 -1
  38. package/lib/cjs/bidiMapper/modules/browser/ContextConfigStorage.d.ts +0 -42
  39. package/lib/cjs/bidiMapper/modules/browser/ContextConfigStorage.js +0 -96
  40. package/lib/cjs/bidiMapper/modules/browser/ContextConfigStorage.js.map +0 -1
  41. package/lib/cjs/bidiMapper/modules/browser/UserContextStorage.d.ts +0 -27
  42. package/lib/cjs/bidiMapper/modules/browser/UserContextStorage.js +0 -56
  43. package/lib/cjs/bidiMapper/modules/browser/UserContextStorage.js.map +0 -1
  44. package/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.d.ts +0 -27
  45. package/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js +0 -60
  46. package/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js.map +0 -1
  47. package/lib/cjs/bidiMapper/modules/cdp/CdpTarget.d.ts +0 -57
  48. package/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js +0 -695
  49. package/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js.map +0 -1
  50. package/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.d.ts +0 -16
  51. package/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js +0 -252
  52. package/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js.map +0 -1
  53. package/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.d.ts +0 -91
  54. package/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js +0 -1448
  55. package/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js.map +0 -1
  56. package/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.d.ts +0 -22
  57. package/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js +0 -267
  58. package/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js.map +0 -1
  59. package/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.d.ts +0 -47
  60. package/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js +0 -134
  61. package/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js.map +0 -1
  62. package/lib/cjs/bidiMapper/modules/context/NavigationTracker.d.ts +0 -87
  63. package/lib/cjs/bidiMapper/modules/context/NavigationTracker.js +0 -331
  64. package/lib/cjs/bidiMapper/modules/context/NavigationTracker.js.map +0 -1
  65. package/lib/cjs/bidiMapper/modules/emulation/EmulationProcessor.d.ts +0 -37
  66. package/lib/cjs/bidiMapper/modules/emulation/EmulationProcessor.js +0 -384
  67. package/lib/cjs/bidiMapper/modules/emulation/EmulationProcessor.js.map +0 -1
  68. package/lib/cjs/bidiMapper/modules/input/ActionDispatcher.d.ts +0 -27
  69. package/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js +0 -744
  70. package/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js.map +0 -1
  71. package/lib/cjs/bidiMapper/modules/input/ActionOption.d.ts +0 -22
  72. package/lib/cjs/bidiMapper/modules/input/ActionOption.js +0 -19
  73. package/lib/cjs/bidiMapper/modules/input/ActionOption.js.map +0 -1
  74. package/lib/cjs/bidiMapper/modules/input/InputProcessor.d.ts +0 -9
  75. package/lib/cjs/bidiMapper/modules/input/InputProcessor.js +0 -194
  76. package/lib/cjs/bidiMapper/modules/input/InputProcessor.js.map +0 -1
  77. package/lib/cjs/bidiMapper/modules/input/InputSource.d.ts +0 -78
  78. package/lib/cjs/bidiMapper/modules/input/InputSource.js +0 -161
  79. package/lib/cjs/bidiMapper/modules/input/InputSource.js.map +0 -1
  80. package/lib/cjs/bidiMapper/modules/input/InputState.d.ts +0 -29
  81. package/lib/cjs/bidiMapper/modules/input/InputState.js +0 -93
  82. package/lib/cjs/bidiMapper/modules/input/InputState.js.map +0 -1
  83. package/lib/cjs/bidiMapper/modules/input/InputStateManager.d.ts +0 -21
  84. package/lib/cjs/bidiMapper/modules/input/InputStateManager.js +0 -34
  85. package/lib/cjs/bidiMapper/modules/input/InputStateManager.js.map +0 -1
  86. package/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.d.ts +0 -17
  87. package/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js +0 -274
  88. package/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js.map +0 -1
  89. package/lib/cjs/bidiMapper/modules/input/keyUtils.d.ts +0 -31
  90. package/lib/cjs/bidiMapper/modules/input/keyUtils.js +0 -497
  91. package/lib/cjs/bidiMapper/modules/input/keyUtils.js.map +0 -1
  92. package/lib/cjs/bidiMapper/modules/log/LogManager.d.ts +0 -9
  93. package/lib/cjs/bidiMapper/modules/log/LogManager.js +0 -187
  94. package/lib/cjs/bidiMapper/modules/log/LogManager.js.map +0 -1
  95. package/lib/cjs/bidiMapper/modules/log/logHelper.d.ts +0 -23
  96. package/lib/cjs/bidiMapper/modules/log/logHelper.js +0 -172
  97. package/lib/cjs/bidiMapper/modules/log/logHelper.js.map +0 -1
  98. package/lib/cjs/bidiMapper/modules/network/CollectorsStorage.d.ts +0 -13
  99. package/lib/cjs/bidiMapper/modules/network/CollectorsStorage.js +0 -153
  100. package/lib/cjs/bidiMapper/modules/network/CollectorsStorage.js.map +0 -1
  101. package/lib/cjs/bidiMapper/modules/network/NetworkProcessor.d.ts +0 -54
  102. package/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js +0 -546
  103. package/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js.map +0 -1
  104. package/lib/cjs/bidiMapper/modules/network/NetworkRequest.d.ts +0 -55
  105. package/lib/cjs/bidiMapper/modules/network/NetworkRequest.js +0 -894
  106. package/lib/cjs/bidiMapper/modules/network/NetworkRequest.js.map +0 -1
  107. package/lib/cjs/bidiMapper/modules/network/NetworkStorage.d.ts +0 -57
  108. package/lib/cjs/bidiMapper/modules/network/NetworkStorage.js +0 -353
  109. package/lib/cjs/bidiMapper/modules/network/NetworkStorage.js.map +0 -1
  110. package/lib/cjs/bidiMapper/modules/network/NetworkUtils.d.ts +0 -59
  111. package/lib/cjs/bidiMapper/modules/network/NetworkUtils.js +0 -322
  112. package/lib/cjs/bidiMapper/modules/network/NetworkUtils.js.map +0 -1
  113. package/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.d.ts +0 -23
  114. package/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js +0 -55
  115. package/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js.map +0 -1
  116. package/lib/cjs/bidiMapper/modules/script/ChannelProxy.d.ts +0 -30
  117. package/lib/cjs/bidiMapper/modules/script/ChannelProxy.js +0 -235
  118. package/lib/cjs/bidiMapper/modules/script/ChannelProxy.js.map +0 -1
  119. package/lib/cjs/bidiMapper/modules/script/PreloadScript.d.ts +0 -43
  120. package/lib/cjs/bidiMapper/modules/script/PreloadScript.js +0 -133
  121. package/lib/cjs/bidiMapper/modules/script/PreloadScript.js.map +0 -1
  122. package/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.d.ts +0 -23
  123. package/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js +0 -79
  124. package/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js.map +0 -1
  125. package/lib/cjs/bidiMapper/modules/script/Realm.d.ts +0 -67
  126. package/lib/cjs/bidiMapper/modules/script/Realm.js +0 -485
  127. package/lib/cjs/bidiMapper/modules/script/Realm.js.map +0 -1
  128. package/lib/cjs/bidiMapper/modules/script/RealmStorage.d.ts +0 -45
  129. package/lib/cjs/bidiMapper/modules/script/RealmStorage.js +0 -82
  130. package/lib/cjs/bidiMapper/modules/script/RealmStorage.js.map +0 -1
  131. package/lib/cjs/bidiMapper/modules/script/ScriptProcessor.d.ts +0 -33
  132. package/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js +0 -136
  133. package/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js.map +0 -1
  134. package/lib/cjs/bidiMapper/modules/script/SharedId.d.ts +0 -6
  135. package/lib/cjs/bidiMapper/modules/script/SharedId.js +0 -74
  136. package/lib/cjs/bidiMapper/modules/script/SharedId.js.map +0 -1
  137. package/lib/cjs/bidiMapper/modules/script/WindowRealm.d.ts +0 -43
  138. package/lib/cjs/bidiMapper/modules/script/WindowRealm.js +0 -146
  139. package/lib/cjs/bidiMapper/modules/script/WindowRealm.js.map +0 -1
  140. package/lib/cjs/bidiMapper/modules/script/WorkerRealm.d.ts +0 -33
  141. package/lib/cjs/bidiMapper/modules/script/WorkerRealm.js +0 -70
  142. package/lib/cjs/bidiMapper/modules/script/WorkerRealm.js.map +0 -1
  143. package/lib/cjs/bidiMapper/modules/session/EventManager.d.ts +0 -56
  144. package/lib/cjs/bidiMapper/modules/session/EventManager.js +0 -269
  145. package/lib/cjs/bidiMapper/modules/session/EventManager.js.map +0 -1
  146. package/lib/cjs/bidiMapper/modules/session/SessionProcessor.d.ts +0 -29
  147. package/lib/cjs/bidiMapper/modules/session/SessionProcessor.js +0 -131
  148. package/lib/cjs/bidiMapper/modules/session/SessionProcessor.js.map +0 -1
  149. package/lib/cjs/bidiMapper/modules/session/SubscriptionManager.d.ts +0 -64
  150. package/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js +0 -273
  151. package/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js.map +0 -1
  152. package/lib/cjs/bidiMapper/modules/session/events.d.ts +0 -26
  153. package/lib/cjs/bidiMapper/modules/session/events.js +0 -37
  154. package/lib/cjs/bidiMapper/modules/session/events.js.map +0 -1
  155. package/lib/cjs/bidiMapper/modules/speculation/SpeculationProcessor.d.ts +0 -24
  156. package/lib/cjs/bidiMapper/modules/speculation/SpeculationProcessor.js +0 -62
  157. package/lib/cjs/bidiMapper/modules/speculation/SpeculationProcessor.js.map +0 -1
  158. package/lib/cjs/bidiMapper/modules/storage/StorageProcessor.d.ts +0 -14
  159. package/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js +0 -195
  160. package/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js.map +0 -1
  161. package/lib/cjs/bidiMapper/modules/webExtension/WebExtensionProcessor.d.ts +0 -27
  162. package/lib/cjs/bidiMapper/modules/webExtension/WebExtensionProcessor.js +0 -69
  163. package/lib/cjs/bidiMapper/modules/webExtension/WebExtensionProcessor.js.map +0 -1
  164. package/lib/cjs/bidiTab/BidiParser.d.ts +0 -92
  165. package/lib/cjs/bidiTab/BidiParser.js +0 -294
  166. package/lib/cjs/bidiTab/BidiParser.js.map +0 -1
  167. package/lib/cjs/bidiTab/Transport.d.ts +0 -37
  168. package/lib/cjs/bidiTab/Transport.js +0 -150
  169. package/lib/cjs/bidiTab/Transport.js.map +0 -1
  170. package/lib/cjs/bidiTab/bidiTab.d.ts +0 -32
  171. package/lib/cjs/bidiTab/bidiTab.js +0 -58
  172. package/lib/cjs/bidiTab/bidiTab.js.map +0 -1
  173. package/lib/cjs/bidiTab/mapperTabPage.d.ts +0 -19
  174. package/lib/cjs/bidiTab/mapperTabPage.js +0 -63
  175. package/lib/cjs/bidiTab/mapperTabPage.js.map +0 -1
  176. package/lib/cjs/cdp/CdpClient.d.ts +0 -54
  177. package/lib/cjs/cdp/CdpClient.js +0 -45
  178. package/lib/cjs/cdp/CdpClient.js.map +0 -1
  179. package/lib/cjs/cdp/CdpConnection.d.ts +0 -45
  180. package/lib/cjs/cdp/CdpConnection.js +0 -134
  181. package/lib/cjs/cdp/CdpConnection.js.map +0 -1
  182. package/lib/cjs/cdp/cdp.d.ts +0 -19
  183. package/lib/cjs/cdp/cdp.js +0 -36
  184. package/lib/cjs/cdp/cdp.js.map +0 -1
  185. package/lib/cjs/cdp/cdpMessage.d.ts +0 -30
  186. package/lib/cjs/cdp/cdpMessage.js +0 -3
  187. package/lib/cjs/cdp/cdpMessage.js.map +0 -1
  188. package/lib/cjs/index.d.ts +0 -18
  189. package/lib/cjs/index.js +0 -55
  190. package/lib/cjs/index.js.map +0 -1
  191. package/lib/cjs/protocol/ErrorResponse.d.ts +0 -112
  192. package/lib/cjs/protocol/ErrorResponse.js +0 -199
  193. package/lib/cjs/protocol/ErrorResponse.js.map +0 -1
  194. package/lib/cjs/protocol/cdp.d.ts +0 -77
  195. package/lib/cjs/protocol/cdp.js +0 -3
  196. package/lib/cjs/protocol/cdp.js.map +0 -1
  197. package/lib/cjs/protocol/chromium-bidi.d.ts +0 -112
  198. package/lib/cjs/protocol/chromium-bidi.js +0 -127
  199. package/lib/cjs/protocol/chromium-bidi.js.map +0 -1
  200. package/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.d.ts +0 -309
  201. package/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js +0 -19
  202. package/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js.map +0 -1
  203. package/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.d.ts +0 -43
  204. package/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js +0 -19
  205. package/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  206. package/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts +0 -49
  207. package/lib/cjs/protocol/generated/webdriver-bidi-permissions.js +0 -19
  208. package/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map +0 -1
  209. package/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.d.ts +0 -55
  210. package/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js +0 -19
  211. package/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  212. package/lib/cjs/protocol/generated/webdriver-bidi.d.ts +0 -2732
  213. package/lib/cjs/protocol/generated/webdriver-bidi.js +0 -19
  214. package/lib/cjs/protocol/generated/webdriver-bidi.js.map +0 -1
  215. package/lib/cjs/protocol/protocol.d.ts +0 -24
  216. package/lib/cjs/protocol/protocol.js +0 -65
  217. package/lib/cjs/protocol/protocol.js.map +0 -1
  218. package/lib/cjs/protocol-parser/generated/webdriver-bidi-bluetooth.d.ts +0 -2216
  219. package/lib/cjs/protocol-parser/generated/webdriver-bidi-bluetooth.js +0 -354
  220. package/lib/cjs/protocol-parser/generated/webdriver-bidi-bluetooth.js.map +0 -1
  221. package/lib/cjs/protocol-parser/generated/webdriver-bidi-nav-speculation.d.ts +0 -102
  222. package/lib/cjs/protocol-parser/generated/webdriver-bidi-nav-speculation.js +0 -49
  223. package/lib/cjs/protocol-parser/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  224. package/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.d.ts +0 -175
  225. package/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js +0 -56
  226. package/lib/cjs/protocol-parser/generated/webdriver-bidi-permissions.js.map +0 -1
  227. package/lib/cjs/protocol-parser/generated/webdriver-bidi-ua-client-hints.d.ts +0 -427
  228. package/lib/cjs/protocol-parser/generated/webdriver-bidi-ua-client-hints.js +0 -71
  229. package/lib/cjs/protocol-parser/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  230. package/lib/cjs/protocol-parser/generated/webdriver-bidi.d.ts +0 -64861
  231. package/lib/cjs/protocol-parser/generated/webdriver-bidi.js +0 -2961
  232. package/lib/cjs/protocol-parser/generated/webdriver-bidi.js.map +0 -1
  233. package/lib/cjs/protocol-parser/protocol-parser.d.ts +0 -175
  234. package/lib/cjs/protocol-parser/protocol-parser.js +0 -494
  235. package/lib/cjs/protocol-parser/protocol-parser.js.map +0 -1
  236. package/lib/cjs/utils/Buffer.d.ts +0 -27
  237. package/lib/cjs/utils/Buffer.js +0 -47
  238. package/lib/cjs/utils/Buffer.js.map +0 -1
  239. package/lib/cjs/utils/DefaultMap.d.ts +0 -26
  240. package/lib/cjs/utils/DefaultMap.js +0 -40
  241. package/lib/cjs/utils/DefaultMap.js.map +0 -1
  242. package/lib/cjs/utils/Deferred.d.ts +0 -28
  243. package/lib/cjs/utils/Deferred.js +0 -71
  244. package/lib/cjs/utils/Deferred.js.map +0 -1
  245. package/lib/cjs/utils/EventEmitter.d.ts +0 -58
  246. package/lib/cjs/utils/EventEmitter.js +0 -74
  247. package/lib/cjs/utils/EventEmitter.js.map +0 -1
  248. package/lib/cjs/utils/IdWrapper.d.ts +0 -24
  249. package/lib/cjs/utils/IdWrapper.js +0 -34
  250. package/lib/cjs/utils/IdWrapper.js.map +0 -1
  251. package/lib/cjs/utils/Mutex.d.ts +0 -29
  252. package/lib/cjs/utils/Mutex.js +0 -68
  253. package/lib/cjs/utils/Mutex.js.map +0 -1
  254. package/lib/cjs/utils/ProcessingQueue.d.ts +0 -24
  255. package/lib/cjs/utils/ProcessingQueue.js +0 -67
  256. package/lib/cjs/utils/ProcessingQueue.js.map +0 -1
  257. package/lib/cjs/utils/assert.d.ts +0 -17
  258. package/lib/cjs/utils/assert.js +0 -25
  259. package/lib/cjs/utils/assert.js.map +0 -1
  260. package/lib/cjs/utils/base64.d.ts +0 -24
  261. package/lib/cjs/utils/base64.js +0 -35
  262. package/lib/cjs/utils/base64.js.map +0 -1
  263. package/lib/cjs/utils/cdpErrorConstants.d.ts +0 -22
  264. package/lib/cjs/utils/cdpErrorConstants.js +0 -19
  265. package/lib/cjs/utils/cdpErrorConstants.js.map +0 -1
  266. package/lib/cjs/utils/graphemeTools.d.ts +0 -9
  267. package/lib/cjs/utils/graphemeTools.js +0 -38
  268. package/lib/cjs/utils/graphemeTools.js.map +0 -1
  269. package/lib/cjs/utils/log.d.ts +0 -26
  270. package/lib/cjs/utils/log.js +0 -31
  271. package/lib/cjs/utils/log.js.map +0 -1
  272. package/lib/cjs/utils/result.d.ts +0 -23
  273. package/lib/cjs/utils/result.js +0 -19
  274. package/lib/cjs/utils/result.js.map +0 -1
  275. package/lib/cjs/utils/time.d.ts +0 -17
  276. package/lib/cjs/utils/time.js +0 -27
  277. package/lib/cjs/utils/time.js.map +0 -1
  278. package/lib/cjs/utils/transport.d.ts +0 -25
  279. package/lib/cjs/utils/transport.js +0 -19
  280. package/lib/cjs/utils/transport.js.map +0 -1
  281. package/lib/cjs/utils/unitConversions.d.ts +0 -18
  282. package/lib/cjs/utils/unitConversions.js +0 -24
  283. package/lib/cjs/utils/unitConversions.js.map +0 -1
  284. package/lib/cjs/utils/urlHelpers.d.ts +0 -8
  285. package/lib/cjs/utils/urlHelpers.js +0 -52
  286. package/lib/cjs/utils/urlHelpers.js.map +0 -1
  287. package/lib/cjs/utils/uuid.d.ts +0 -25
  288. package/lib/cjs/utils/uuid.js +0 -64
  289. package/lib/cjs/utils/uuid.js.map +0 -1
  290. package/lib/esm/bidiMapper/BidiMapper.d.ts +0 -29
  291. package/lib/esm/bidiMapper/BidiMapper.js +0 -25
  292. package/lib/esm/bidiMapper/BidiMapper.js.map +0 -1
  293. package/lib/esm/bidiMapper/BidiNoOpParser.d.ts +0 -92
  294. package/lib/esm/bidiMapper/BidiNoOpParser.js +0 -270
  295. package/lib/esm/bidiMapper/BidiNoOpParser.js.map +0 -1
  296. package/lib/esm/bidiMapper/BidiParser.d.ts +0 -91
  297. package/lib/esm/bidiMapper/BidiParser.js +0 -18
  298. package/lib/esm/bidiMapper/BidiParser.js.map +0 -1
  299. package/lib/esm/bidiMapper/BidiServer.d.ts +0 -42
  300. package/lib/esm/bidiMapper/BidiServer.js +0 -165
  301. package/lib/esm/bidiMapper/BidiServer.js.map +0 -1
  302. package/lib/esm/bidiMapper/BidiTransport.d.ts +0 -22
  303. package/lib/esm/bidiMapper/BidiTransport.js +0 -18
  304. package/lib/esm/bidiMapper/BidiTransport.js.map +0 -1
  305. package/lib/esm/bidiMapper/CommandProcessor.d.ts +0 -48
  306. package/lib/esm/bidiMapper/CommandProcessor.js +0 -322
  307. package/lib/esm/bidiMapper/CommandProcessor.js.map +0 -1
  308. package/lib/esm/bidiMapper/MapperOptions.d.ts +0 -7
  309. package/lib/esm/bidiMapper/MapperOptions.js +0 -19
  310. package/lib/esm/bidiMapper/MapperOptions.js.map +0 -1
  311. package/lib/esm/bidiMapper/OutgoingMessage.d.ts +0 -27
  312. package/lib/esm/bidiMapper/OutgoingMessage.js +0 -48
  313. package/lib/esm/bidiMapper/OutgoingMessage.js.map +0 -1
  314. package/lib/esm/bidiMapper/modules/bluetooth/BluetoothProcessor.d.ts +0 -37
  315. package/lib/esm/bidiMapper/modules/bluetooth/BluetoothProcessor.js +0 -407
  316. package/lib/esm/bidiMapper/modules/bluetooth/BluetoothProcessor.js.map +0 -1
  317. package/lib/esm/bidiMapper/modules/browser/BrowserProcessor.d.ts +0 -37
  318. package/lib/esm/bidiMapper/modules/browser/BrowserProcessor.js +0 -289
  319. package/lib/esm/bidiMapper/modules/browser/BrowserProcessor.js.map +0 -1
  320. package/lib/esm/bidiMapper/modules/browser/ContextConfig.d.ts +0 -50
  321. package/lib/esm/bidiMapper/modules/browser/ContextConfig.js +0 -70
  322. package/lib/esm/bidiMapper/modules/browser/ContextConfig.js.map +0 -1
  323. package/lib/esm/bidiMapper/modules/browser/ContextConfigStorage.d.ts +0 -42
  324. package/lib/esm/bidiMapper/modules/browser/ContextConfigStorage.js +0 -92
  325. package/lib/esm/bidiMapper/modules/browser/ContextConfigStorage.js.map +0 -1
  326. package/lib/esm/bidiMapper/modules/browser/UserContextStorage.d.ts +0 -27
  327. package/lib/esm/bidiMapper/modules/browser/UserContextStorage.js +0 -52
  328. package/lib/esm/bidiMapper/modules/browser/UserContextStorage.js.map +0 -1
  329. package/lib/esm/bidiMapper/modules/cdp/CdpProcessor.d.ts +0 -27
  330. package/lib/esm/bidiMapper/modules/cdp/CdpProcessor.js +0 -56
  331. package/lib/esm/bidiMapper/modules/cdp/CdpProcessor.js.map +0 -1
  332. package/lib/esm/bidiMapper/modules/cdp/CdpTarget.d.ts +0 -57
  333. package/lib/esm/bidiMapper/modules/cdp/CdpTarget.js +0 -691
  334. package/lib/esm/bidiMapper/modules/cdp/CdpTarget.js.map +0 -1
  335. package/lib/esm/bidiMapper/modules/cdp/CdpTargetManager.d.ts +0 -16
  336. package/lib/esm/bidiMapper/modules/cdp/CdpTargetManager.js +0 -248
  337. package/lib/esm/bidiMapper/modules/cdp/CdpTargetManager.js.map +0 -1
  338. package/lib/esm/bidiMapper/modules/context/BrowsingContextImpl.d.ts +0 -91
  339. package/lib/esm/bidiMapper/modules/context/BrowsingContextImpl.js +0 -1443
  340. package/lib/esm/bidiMapper/modules/context/BrowsingContextImpl.js.map +0 -1
  341. package/lib/esm/bidiMapper/modules/context/BrowsingContextProcessor.d.ts +0 -22
  342. package/lib/esm/bidiMapper/modules/context/BrowsingContextProcessor.js +0 -263
  343. package/lib/esm/bidiMapper/modules/context/BrowsingContextProcessor.js.map +0 -1
  344. package/lib/esm/bidiMapper/modules/context/BrowsingContextStorage.d.ts +0 -47
  345. package/lib/esm/bidiMapper/modules/context/BrowsingContextStorage.js +0 -130
  346. package/lib/esm/bidiMapper/modules/context/BrowsingContextStorage.js.map +0 -1
  347. package/lib/esm/bidiMapper/modules/context/NavigationTracker.d.ts +0 -87
  348. package/lib/esm/bidiMapper/modules/context/NavigationTracker.js +0 -325
  349. package/lib/esm/bidiMapper/modules/context/NavigationTracker.js.map +0 -1
  350. package/lib/esm/bidiMapper/modules/emulation/EmulationProcessor.d.ts +0 -37
  351. package/lib/esm/bidiMapper/modules/emulation/EmulationProcessor.js +0 -377
  352. package/lib/esm/bidiMapper/modules/emulation/EmulationProcessor.js.map +0 -1
  353. package/lib/esm/bidiMapper/modules/input/ActionDispatcher.d.ts +0 -27
  354. package/lib/esm/bidiMapper/modules/input/ActionDispatcher.js +0 -740
  355. package/lib/esm/bidiMapper/modules/input/ActionDispatcher.js.map +0 -1
  356. package/lib/esm/bidiMapper/modules/input/ActionOption.d.ts +0 -22
  357. package/lib/esm/bidiMapper/modules/input/ActionOption.js +0 -18
  358. package/lib/esm/bidiMapper/modules/input/ActionOption.js.map +0 -1
  359. package/lib/esm/bidiMapper/modules/input/InputProcessor.d.ts +0 -9
  360. package/lib/esm/bidiMapper/modules/input/InputProcessor.js +0 -190
  361. package/lib/esm/bidiMapper/modules/input/InputProcessor.js.map +0 -1
  362. package/lib/esm/bidiMapper/modules/input/InputSource.d.ts +0 -78
  363. package/lib/esm/bidiMapper/modules/input/InputSource.js +0 -154
  364. package/lib/esm/bidiMapper/modules/input/InputSource.js.map +0 -1
  365. package/lib/esm/bidiMapper/modules/input/InputState.d.ts +0 -29
  366. package/lib/esm/bidiMapper/modules/input/InputState.js +0 -89
  367. package/lib/esm/bidiMapper/modules/input/InputState.js.map +0 -1
  368. package/lib/esm/bidiMapper/modules/input/InputStateManager.d.ts +0 -21
  369. package/lib/esm/bidiMapper/modules/input/InputStateManager.js +0 -30
  370. package/lib/esm/bidiMapper/modules/input/InputStateManager.js.map +0 -1
  371. package/lib/esm/bidiMapper/modules/input/USKeyboardLayout.d.ts +0 -17
  372. package/lib/esm/bidiMapper/modules/input/USKeyboardLayout.js +0 -271
  373. package/lib/esm/bidiMapper/modules/input/USKeyboardLayout.js.map +0 -1
  374. package/lib/esm/bidiMapper/modules/input/keyUtils.d.ts +0 -31
  375. package/lib/esm/bidiMapper/modules/input/keyUtils.js +0 -492
  376. package/lib/esm/bidiMapper/modules/input/keyUtils.js.map +0 -1
  377. package/lib/esm/bidiMapper/modules/log/LogManager.d.ts +0 -9
  378. package/lib/esm/bidiMapper/modules/log/LogManager.js +0 -183
  379. package/lib/esm/bidiMapper/modules/log/LogManager.js.map +0 -1
  380. package/lib/esm/bidiMapper/modules/log/logHelper.d.ts +0 -23
  381. package/lib/esm/bidiMapper/modules/log/logHelper.js +0 -168
  382. package/lib/esm/bidiMapper/modules/log/logHelper.js.map +0 -1
  383. package/lib/esm/bidiMapper/modules/network/CollectorsStorage.d.ts +0 -13
  384. package/lib/esm/bidiMapper/modules/network/CollectorsStorage.js +0 -149
  385. package/lib/esm/bidiMapper/modules/network/CollectorsStorage.js.map +0 -1
  386. package/lib/esm/bidiMapper/modules/network/NetworkProcessor.d.ts +0 -54
  387. package/lib/esm/bidiMapper/modules/network/NetworkProcessor.js +0 -541
  388. package/lib/esm/bidiMapper/modules/network/NetworkProcessor.js.map +0 -1
  389. package/lib/esm/bidiMapper/modules/network/NetworkRequest.d.ts +0 -55
  390. package/lib/esm/bidiMapper/modules/network/NetworkRequest.js +0 -890
  391. package/lib/esm/bidiMapper/modules/network/NetworkRequest.js.map +0 -1
  392. package/lib/esm/bidiMapper/modules/network/NetworkStorage.d.ts +0 -57
  393. package/lib/esm/bidiMapper/modules/network/NetworkStorage.js +0 -349
  394. package/lib/esm/bidiMapper/modules/network/NetworkStorage.js.map +0 -1
  395. package/lib/esm/bidiMapper/modules/network/NetworkUtils.d.ts +0 -59
  396. package/lib/esm/bidiMapper/modules/network/NetworkUtils.js +0 -303
  397. package/lib/esm/bidiMapper/modules/network/NetworkUtils.js.map +0 -1
  398. package/lib/esm/bidiMapper/modules/permissions/PermissionsProcessor.d.ts +0 -23
  399. package/lib/esm/bidiMapper/modules/permissions/PermissionsProcessor.js +0 -51
  400. package/lib/esm/bidiMapper/modules/permissions/PermissionsProcessor.js.map +0 -1
  401. package/lib/esm/bidiMapper/modules/script/ChannelProxy.d.ts +0 -30
  402. package/lib/esm/bidiMapper/modules/script/ChannelProxy.js +0 -231
  403. package/lib/esm/bidiMapper/modules/script/ChannelProxy.js.map +0 -1
  404. package/lib/esm/bidiMapper/modules/script/PreloadScript.d.ts +0 -43
  405. package/lib/esm/bidiMapper/modules/script/PreloadScript.js +0 -129
  406. package/lib/esm/bidiMapper/modules/script/PreloadScript.js.map +0 -1
  407. package/lib/esm/bidiMapper/modules/script/PreloadScriptStorage.d.ts +0 -23
  408. package/lib/esm/bidiMapper/modules/script/PreloadScriptStorage.js +0 -75
  409. package/lib/esm/bidiMapper/modules/script/PreloadScriptStorage.js.map +0 -1
  410. package/lib/esm/bidiMapper/modules/script/Realm.d.ts +0 -67
  411. package/lib/esm/bidiMapper/modules/script/Realm.js +0 -481
  412. package/lib/esm/bidiMapper/modules/script/Realm.js.map +0 -1
  413. package/lib/esm/bidiMapper/modules/script/RealmStorage.d.ts +0 -45
  414. package/lib/esm/bidiMapper/modules/script/RealmStorage.js +0 -78
  415. package/lib/esm/bidiMapper/modules/script/RealmStorage.js.map +0 -1
  416. package/lib/esm/bidiMapper/modules/script/ScriptProcessor.d.ts +0 -33
  417. package/lib/esm/bidiMapper/modules/script/ScriptProcessor.js +0 -132
  418. package/lib/esm/bidiMapper/modules/script/ScriptProcessor.js.map +0 -1
  419. package/lib/esm/bidiMapper/modules/script/SharedId.d.ts +0 -6
  420. package/lib/esm/bidiMapper/modules/script/SharedId.js +0 -70
  421. package/lib/esm/bidiMapper/modules/script/SharedId.js.map +0 -1
  422. package/lib/esm/bidiMapper/modules/script/WindowRealm.d.ts +0 -43
  423. package/lib/esm/bidiMapper/modules/script/WindowRealm.js +0 -142
  424. package/lib/esm/bidiMapper/modules/script/WindowRealm.js.map +0 -1
  425. package/lib/esm/bidiMapper/modules/script/WorkerRealm.d.ts +0 -33
  426. package/lib/esm/bidiMapper/modules/script/WorkerRealm.js +0 -66
  427. package/lib/esm/bidiMapper/modules/script/WorkerRealm.js.map +0 -1
  428. package/lib/esm/bidiMapper/modules/session/EventManager.d.ts +0 -56
  429. package/lib/esm/bidiMapper/modules/session/EventManager.js +0 -265
  430. package/lib/esm/bidiMapper/modules/session/EventManager.js.map +0 -1
  431. package/lib/esm/bidiMapper/modules/session/SessionProcessor.d.ts +0 -29
  432. package/lib/esm/bidiMapper/modules/session/SessionProcessor.js +0 -127
  433. package/lib/esm/bidiMapper/modules/session/SessionProcessor.js.map +0 -1
  434. package/lib/esm/bidiMapper/modules/session/SubscriptionManager.d.ts +0 -64
  435. package/lib/esm/bidiMapper/modules/session/SubscriptionManager.js +0 -266
  436. package/lib/esm/bidiMapper/modules/session/SubscriptionManager.js.map +0 -1
  437. package/lib/esm/bidiMapper/modules/session/events.d.ts +0 -26
  438. package/lib/esm/bidiMapper/modules/session/events.js +0 -33
  439. package/lib/esm/bidiMapper/modules/session/events.js.map +0 -1
  440. package/lib/esm/bidiMapper/modules/speculation/SpeculationProcessor.d.ts +0 -24
  441. package/lib/esm/bidiMapper/modules/speculation/SpeculationProcessor.js +0 -58
  442. package/lib/esm/bidiMapper/modules/speculation/SpeculationProcessor.js.map +0 -1
  443. package/lib/esm/bidiMapper/modules/storage/StorageProcessor.d.ts +0 -14
  444. package/lib/esm/bidiMapper/modules/storage/StorageProcessor.js +0 -191
  445. package/lib/esm/bidiMapper/modules/storage/StorageProcessor.js.map +0 -1
  446. package/lib/esm/bidiMapper/modules/webExtension/WebExtensionProcessor.d.ts +0 -27
  447. package/lib/esm/bidiMapper/modules/webExtension/WebExtensionProcessor.js +0 -65
  448. package/lib/esm/bidiMapper/modules/webExtension/WebExtensionProcessor.js.map +0 -1
  449. package/lib/esm/bidiServer/BrowserInstance.d.ts +0 -23
  450. package/lib/esm/bidiServer/BrowserInstance.js +0 -107
  451. package/lib/esm/bidiServer/BrowserInstance.js.map +0 -1
  452. package/lib/esm/bidiServer/MapperCdpConnection.d.ts +0 -25
  453. package/lib/esm/bidiServer/MapperCdpConnection.js +0 -138
  454. package/lib/esm/bidiServer/MapperCdpConnection.js.map +0 -1
  455. package/lib/esm/bidiServer/PipeTransport.d.ts +0 -8
  456. package/lib/esm/bidiServer/PipeTransport.js +0 -77
  457. package/lib/esm/bidiServer/PipeTransport.js.map +0 -1
  458. package/lib/esm/bidiServer/SimpleTransport.d.ts +0 -13
  459. package/lib/esm/bidiServer/SimpleTransport.js +0 -35
  460. package/lib/esm/bidiServer/SimpleTransport.js.map +0 -1
  461. package/lib/esm/bidiServer/WebSocketServer.d.ts +0 -6
  462. package/lib/esm/bidiServer/WebSocketServer.js +0 -374
  463. package/lib/esm/bidiServer/WebSocketServer.js.map +0 -1
  464. package/lib/esm/bidiServer/index.d.ts +0 -23
  465. package/lib/esm/bidiServer/index.js +0 -49
  466. package/lib/esm/bidiServer/index.js.map +0 -1
  467. package/lib/esm/bidiServer/reader.d.ts +0 -17
  468. package/lib/esm/bidiServer/reader.js +0 -25
  469. package/lib/esm/bidiServer/reader.js.map +0 -1
  470. package/lib/esm/bidiTab/BidiParser.d.ts +0 -92
  471. package/lib/esm/bidiTab/BidiParser.js +0 -257
  472. package/lib/esm/bidiTab/BidiParser.js.map +0 -1
  473. package/lib/esm/bidiTab/Transport.d.ts +0 -37
  474. package/lib/esm/bidiTab/Transport.js +0 -145
  475. package/lib/esm/bidiTab/Transport.js.map +0 -1
  476. package/lib/esm/bidiTab/bidiTab.d.ts +0 -32
  477. package/lib/esm/bidiTab/bidiTab.js +0 -56
  478. package/lib/esm/bidiTab/bidiTab.js.map +0 -1
  479. package/lib/esm/bidiTab/mapperTabPage.d.ts +0 -19
  480. package/lib/esm/bidiTab/mapperTabPage.js +0 -59
  481. package/lib/esm/bidiTab/mapperTabPage.js.map +0 -1
  482. package/lib/esm/cdp/CdpClient.d.ts +0 -54
  483. package/lib/esm/cdp/CdpClient.js +0 -40
  484. package/lib/esm/cdp/CdpClient.js.map +0 -1
  485. package/lib/esm/cdp/CdpConnection.d.ts +0 -45
  486. package/lib/esm/cdp/CdpConnection.js +0 -130
  487. package/lib/esm/cdp/CdpConnection.js.map +0 -1
  488. package/lib/esm/cdp/cdp.d.ts +0 -19
  489. package/lib/esm/cdp/cdp.js +0 -20
  490. package/lib/esm/cdp/cdp.js.map +0 -1
  491. package/lib/esm/cdp/cdpMessage.d.ts +0 -30
  492. package/lib/esm/cdp/cdpMessage.js +0 -2
  493. package/lib/esm/cdp/cdpMessage.js.map +0 -1
  494. package/lib/esm/index.d.ts +0 -18
  495. package/lib/esm/index.js +0 -19
  496. package/lib/esm/index.js.map +0 -1
  497. package/lib/esm/package.json +0 -1
  498. package/lib/esm/protocol/ErrorResponse.d.ts +0 -112
  499. package/lib/esm/protocol/ErrorResponse.js +0 -166
  500. package/lib/esm/protocol/ErrorResponse.js.map +0 -1
  501. package/lib/esm/protocol/cdp.d.ts +0 -77
  502. package/lib/esm/protocol/cdp.js +0 -2
  503. package/lib/esm/protocol/cdp.js.map +0 -1
  504. package/lib/esm/protocol/chromium-bidi.d.ts +0 -112
  505. package/lib/esm/protocol/chromium-bidi.js +0 -124
  506. package/lib/esm/protocol/chromium-bidi.js.map +0 -1
  507. package/lib/esm/protocol/generated/webdriver-bidi-bluetooth.d.ts +0 -309
  508. package/lib/esm/protocol/generated/webdriver-bidi-bluetooth.js +0 -18
  509. package/lib/esm/protocol/generated/webdriver-bidi-bluetooth.js.map +0 -1
  510. package/lib/esm/protocol/generated/webdriver-bidi-nav-speculation.d.ts +0 -43
  511. package/lib/esm/protocol/generated/webdriver-bidi-nav-speculation.js +0 -18
  512. package/lib/esm/protocol/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  513. package/lib/esm/protocol/generated/webdriver-bidi-permissions.d.ts +0 -49
  514. package/lib/esm/protocol/generated/webdriver-bidi-permissions.js +0 -18
  515. package/lib/esm/protocol/generated/webdriver-bidi-permissions.js.map +0 -1
  516. package/lib/esm/protocol/generated/webdriver-bidi-ua-client-hints.d.ts +0 -55
  517. package/lib/esm/protocol/generated/webdriver-bidi-ua-client-hints.js +0 -18
  518. package/lib/esm/protocol/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  519. package/lib/esm/protocol/generated/webdriver-bidi.d.ts +0 -2732
  520. package/lib/esm/protocol/generated/webdriver-bidi.js +0 -18
  521. package/lib/esm/protocol/generated/webdriver-bidi.js.map +0 -1
  522. package/lib/esm/protocol/protocol.d.ts +0 -24
  523. package/lib/esm/protocol/protocol.js +0 -26
  524. package/lib/esm/protocol/protocol.js.map +0 -1
  525. package/lib/esm/protocol-parser/generated/webdriver-bidi-bluetooth.d.ts +0 -2216
  526. package/lib/esm/protocol-parser/generated/webdriver-bidi-bluetooth.js +0 -348
  527. package/lib/esm/protocol-parser/generated/webdriver-bidi-bluetooth.js.map +0 -1
  528. package/lib/esm/protocol-parser/generated/webdriver-bidi-nav-speculation.d.ts +0 -102
  529. package/lib/esm/protocol-parser/generated/webdriver-bidi-nav-speculation.js +0 -43
  530. package/lib/esm/protocol-parser/generated/webdriver-bidi-nav-speculation.js.map +0 -1
  531. package/lib/esm/protocol-parser/generated/webdriver-bidi-permissions.d.ts +0 -175
  532. package/lib/esm/protocol-parser/generated/webdriver-bidi-permissions.js +0 -50
  533. package/lib/esm/protocol-parser/generated/webdriver-bidi-permissions.js.map +0 -1
  534. package/lib/esm/protocol-parser/generated/webdriver-bidi-ua-client-hints.d.ts +0 -427
  535. package/lib/esm/protocol-parser/generated/webdriver-bidi-ua-client-hints.js +0 -65
  536. package/lib/esm/protocol-parser/generated/webdriver-bidi-ua-client-hints.js.map +0 -1
  537. package/lib/esm/protocol-parser/generated/webdriver-bidi.d.ts +0 -64861
  538. package/lib/esm/protocol-parser/generated/webdriver-bidi.js +0 -2955
  539. package/lib/esm/protocol-parser/generated/webdriver-bidi.js.map +0 -1
  540. package/lib/esm/protocol-parser/protocol-parser.d.ts +0 -175
  541. package/lib/esm/protocol-parser/protocol-parser.js +0 -457
  542. package/lib/esm/protocol-parser/protocol-parser.js.map +0 -1
  543. package/lib/esm/utils/Buffer.d.ts +0 -27
  544. package/lib/esm/utils/Buffer.js +0 -43
  545. package/lib/esm/utils/Buffer.js.map +0 -1
  546. package/lib/esm/utils/DefaultMap.d.ts +0 -26
  547. package/lib/esm/utils/DefaultMap.js +0 -36
  548. package/lib/esm/utils/DefaultMap.js.map +0 -1
  549. package/lib/esm/utils/Deferred.d.ts +0 -28
  550. package/lib/esm/utils/Deferred.js +0 -67
  551. package/lib/esm/utils/Deferred.js.map +0 -1
  552. package/lib/esm/utils/EventEmitter.d.ts +0 -58
  553. package/lib/esm/utils/EventEmitter.js +0 -67
  554. package/lib/esm/utils/EventEmitter.js.map +0 -1
  555. package/lib/esm/utils/IdWrapper.d.ts +0 -24
  556. package/lib/esm/utils/IdWrapper.js +0 -30
  557. package/lib/esm/utils/IdWrapper.js.map +0 -1
  558. package/lib/esm/utils/Mutex.d.ts +0 -29
  559. package/lib/esm/utils/Mutex.js +0 -64
  560. package/lib/esm/utils/Mutex.js.map +0 -1
  561. package/lib/esm/utils/ProcessingQueue.d.ts +0 -24
  562. package/lib/esm/utils/ProcessingQueue.js +0 -63
  563. package/lib/esm/utils/ProcessingQueue.js.map +0 -1
  564. package/lib/esm/utils/assert.d.ts +0 -17
  565. package/lib/esm/utils/assert.js +0 -22
  566. package/lib/esm/utils/assert.js.map +0 -1
  567. package/lib/esm/utils/base64.d.ts +0 -24
  568. package/lib/esm/utils/base64.js +0 -32
  569. package/lib/esm/utils/base64.js.map +0 -1
  570. package/lib/esm/utils/cdpErrorConstants.d.ts +0 -22
  571. package/lib/esm/utils/cdpErrorConstants.js +0 -18
  572. package/lib/esm/utils/cdpErrorConstants.js.map +0 -1
  573. package/lib/esm/utils/graphemeTools.d.ts +0 -9
  574. package/lib/esm/utils/graphemeTools.js +0 -34
  575. package/lib/esm/utils/graphemeTools.js.map +0 -1
  576. package/lib/esm/utils/log.d.ts +0 -26
  577. package/lib/esm/utils/log.js +0 -28
  578. package/lib/esm/utils/log.js.map +0 -1
  579. package/lib/esm/utils/result.d.ts +0 -23
  580. package/lib/esm/utils/result.js +0 -18
  581. package/lib/esm/utils/result.js.map +0 -1
  582. package/lib/esm/utils/time.d.ts +0 -17
  583. package/lib/esm/utils/time.js +0 -24
  584. package/lib/esm/utils/time.js.map +0 -1
  585. package/lib/esm/utils/transport.d.ts +0 -25
  586. package/lib/esm/utils/transport.js +0 -18
  587. package/lib/esm/utils/transport.js.map +0 -1
  588. package/lib/esm/utils/unitConversions.d.ts +0 -18
  589. package/lib/esm/utils/unitConversions.js +0 -21
  590. package/lib/esm/utils/unitConversions.js.map +0 -1
  591. package/lib/esm/utils/urlHelpers.d.ts +0 -8
  592. package/lib/esm/utils/urlHelpers.js +0 -49
  593. package/lib/esm/utils/urlHelpers.js.map +0 -1
  594. package/lib/esm/utils/uuid.d.ts +0 -25
  595. package/lib/esm/utils/uuid.js +0 -61
  596. package/lib/esm/utils/uuid.js.map +0 -1
  597. package/lib/iife/mapperTab.js +0 -19879
  598. package/lib/iife/mapperTab.js.map +0 -1
package/.browser CHANGED
@@ -1 +1 @@
1
- chrome@147.0.7681.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,172 +1,41 @@
1
1
  {
2
2
  "name": "chromium-bidi",
3
- "version": "15.0.0",
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
+ "engines": {
6
+ "node": ">=20.19.0 <22.0.0 || >=22.12.0"
7
+ },
5
8
  "scripts": {
6
- "build": "wireit",
7
- "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",
8
12
  "e2e:headful": "HEADLESS=false npm run e2e --",
9
13
  "e2e:headless": "npm run e2e:new-headless --",
10
14
  "e2e:new-headless": "HEADLESS=new npm run e2e --",
11
15
  "e2e:old-headless": "HEADLESS=old npm run e2e --",
12
- "e2e": "wireit",
16
+ "e2e": "npm run build && ./tools/node.py tools/run-e2e.mjs",
13
17
  "flake8": "flake8 examples/ tests/",
14
- "format": "npm run pre-commit --",
18
+ "format": "npm run format:eslint && npm run format:prettier && npm run format:py && npm run format:keep-sorted",
15
19
  "format:eslint": "eslint --cache --fix .",
20
+ "format:keep-sorted": "keep-sorted --mode=fix $(git ls-files | grep -v '^wpt$')",
16
21
  "format:prettier": "prettier --cache --write .",
17
- "pre-commit": "pre-commit run --hook-stage manual --all-files",
18
- "prepare": "wireit",
19
- "rollup": "wireit",
20
- "server": "wireit",
21
- "test": "wireit",
22
- "tsc": "wireit",
23
- "unit": "wireit",
24
- "wpt": "wireit",
25
- "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",
26
31
  "yapf": "yapf -i --parallel --recursive --exclude=wpt examples/ tests/"
27
32
  },
28
- "type": "commonjs",
29
- "main": "./lib/cjs/index.js",
30
- "exports": {
31
- ".": {
32
- "import": "./lib/esm/index.js",
33
- "require": "./lib/cjs/index.js"
34
- },
35
- "./*": {
36
- "import": "./lib/esm/*",
37
- "require": "./lib/cjs/*"
38
- },
39
- "./lib/cjs/*.js": {
40
- "import": "./lib/cjs/*.js",
41
- "require": "./lib/cjs/*.js"
42
- },
43
- "./lib/cjs/*": {
44
- "import": "./lib/cjs/*.js",
45
- "require": "./lib/cjs/*.js"
46
- }
47
- },
48
- "wireit": {
49
- "build": {
50
- "dependencies": [
51
- "rollup",
52
- "tsc"
53
- ]
54
- },
55
- "e2e": {
56
- "command": "tools/run-e2e.mjs",
57
- "files": [
58
- "tools/run-e2e.mjs ",
59
- "pytest.ini",
60
- "tests/**/*.py"
61
- ],
62
- "dependencies": [
63
- "build"
64
- ]
65
- },
66
- "prepare": {
67
- "dependencies": [
68
- "build"
69
- ]
70
- },
71
- "rollup": {
72
- "command": "rollup -c",
73
- "dependencies": [
74
- "tsc"
75
- ],
76
- "files": [
77
- "lib/esm/bidiMapper/",
78
- "rollup.config.mjs"
79
- ],
80
- "output": [
81
- "lib/iife/mapperTab.js"
82
- ]
83
- },
84
- "server": {
85
- "command": "tools/run-bidi-server.mjs",
86
- "files": [
87
- "tools/run-bidi-server.mjs"
88
- ],
89
- "service": {
90
- "readyWhen": {
91
- "lineMatches": "(BiDi server|ChromeDriver) was started successfully"
92
- }
93
- },
94
- "dependencies": [
95
- "rollup"
96
- ]
97
- },
98
- "test": {
99
- "dependencies": [
100
- "unit",
101
- "e2e",
102
- "wpt"
103
- ]
104
- },
105
- "tsc": {
106
- "dependencies": [
107
- "tsc:esm",
108
- "tsc:cjs"
109
- ]
110
- },
111
- "tsc:esm": {
112
- "command": "tsc --build src/tsconfig.json --pretty && node ./tools/generate-module-package-json.mjs lib/esm/package.json",
113
- "clean": "if-file-deleted",
114
- "files": [
115
- "tsconfig.base.json",
116
- "src/**/tsconfig*.json",
117
- "src/**/*.ts"
118
- ],
119
- "output": [
120
- "lib/esm/**"
121
- ]
122
- },
123
- "tsc:cjs": {
124
- "command": "tsc --build src/tsconfig.cjs.json --pretty",
125
- "clean": "if-file-deleted",
126
- "files": [
127
- "tsconfig.base.json",
128
- "src/**/tsconfig*.cjs.json",
129
- "src/**/*.ts"
130
- ],
131
- "output": [
132
- "lib/cjs/**"
133
- ]
134
- },
135
- "unit": {
136
- "command": "mocha",
137
- "dependencies": [
138
- "tsc"
139
- ]
140
- },
141
- "wpt": {
142
- "command": "tools/run-wpt.mjs",
143
- "files": [
144
- "tools/run-wpt.mjs",
145
- "wpt/tools/webdriver/**/*.py",
146
- "wpt/webdriver/tests/**/*.py",
147
- "wpt-metadata/**/*.ini"
148
- ],
149
- "dependencies": [
150
- "rollup"
151
- ]
152
- },
153
- "wpt:all": {
154
- "command": "tools/run-wpt-all.mjs",
155
- "files": [
156
- "tools/run-wpt.mjs",
157
- "tools/run-wpt-all.mjs",
158
- "wpt/tools/webdriver/**/*.py",
159
- "wpt/webdriver/tests/**/*.py",
160
- "wpt-metadata/**/*.ini"
161
- ],
162
- "dependencies": [
163
- "rollup"
164
- ]
165
- }
166
- },
33
+ "type": "module",
34
+ "main": "./out/Default/gen/src/index.js",
167
35
  "files": [
168
- "lib",
169
- "!lib/**/*.spec.*",
36
+ "out/Default/gen/src",
37
+ "!out/Default/gen/src/**/*.test.*",
38
+ "out/Default/lib",
170
39
  "!*.tsbuildinfo",
171
40
  ".browser"
172
41
  ],
@@ -180,69 +49,37 @@
180
49
  "devtools-protocol": "*"
181
50
  },
182
51
  "devDependencies": {
183
- "@actions/core": "3.0.0",
52
+ "@actions/core": "3.0.1",
184
53
  "@eslint/js": "10.0.1",
185
- "@puppeteer/browsers": "2.12.0",
54
+ "@puppeteer/browsers": "3.0.5",
186
55
  "@rollup/plugin-node-resolve": "16.0.3",
187
- "@rollup/wasm-node": "4.57.1",
188
- "@types/chai": "4.3.17",
189
- "@types/chai-as-promised": "7.1.8",
190
- "@types/debug": "4.1.12",
191
- "@types/mocha": "10.0.10",
192
- "@types/node": "20.19.33",
193
- "@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",
194
60
  "@types/websocket": "1.0.10",
195
- "@types/ws": "8.18.1",
196
- "@types/yargs": "17.0.35",
197
- "chai": "4.5.0",
198
- "chai-as-promised": "7.1.2",
199
- "debug": "4.4.3",
200
- "devtools-protocol": "0.0.1581282",
201
- "eslint": "10.0.0",
61
+ "chai": "6.2.2",
62
+ "devtools-protocol": "0.0.1655900",
63
+ "eslint": "10.5.0",
202
64
  "eslint-config-prettier": "10.1.8",
203
- "eslint-import-resolver-typescript": "4.4.4",
65
+ "eslint-import-resolver-typescript": "4.4.5",
204
66
  "eslint-plugin-import": "2.32.0",
205
- "eslint-plugin-mocha": "11.2.0",
206
- "eslint-plugin-prettier": "5.5.5",
207
- "eslint-plugin-promise": "7.2.1",
208
- "globals": "17.3.0",
209
- "mocha": "11.7.5",
210
- "package-directory": "8.2.0",
211
- "prettier": "3.8.1",
212
- "rimraf": "6.1.2",
213
- "rollup": "4.57.1",
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",
214
72
  "rollup-plugin-cleanup": "3.2.1",
215
- "rollup-plugin-license": "3.6.0",
216
- "selenium-webdriver": "4.40.0",
217
- "semver": "7.7.4",
218
- "sinon": "21.0.1",
219
- "source-map-support": "0.5.21",
220
- "tslib": "2.8.1",
221
- "typescript": "5.9.3",
222
- "typescript-eslint": "8.54.0",
223
- "webdriverio": "9.23.3",
224
- "websocket": "1.0.35",
225
- "wireit": "0.14.12",
226
- "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"
227
79
  },
228
80
  "overrides": {
229
81
  "eslint-plugin-import": {
230
82
  "eslint": "$eslint"
231
- },
232
- "eslint-plugin-promise": {
233
- "eslint": "$eslint"
234
- },
235
- "typescript-eslint": {
236
- "eslint": "$eslint"
237
- },
238
- "@typescript-eslint/eslint-plugin": {
239
- "eslint": "$eslint"
240
- },
241
- "@typescript-eslint/parser": {
242
- "eslint": "$eslint"
243
- },
244
- "@typescript-eslint/utils": {
245
- "eslint": "$eslint"
246
83
  }
247
84
  },
248
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,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright 2022 Google LLC.
4
- * Copyright (c) Microsoft Corporation.
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.OutgoingMessage = exports.EventEmitter = exports.BidiServer = void 0;
20
- /**
21
- * @fileoverview The entry point to the BiDi Mapper namespace.
22
- * Other modules should only access exports defined in this file.
23
- * XXX: Add ESlint rule for this (https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-restricted-paths.md)
24
- */
25
- var BidiServer_js_1 = require("./BidiServer.js");
26
- Object.defineProperty(exports, "BidiServer", { enumerable: true, get: function () { return BidiServer_js_1.BidiServer; } });
27
- var EventEmitter_js_1 = require("../utils/EventEmitter.js");
28
- Object.defineProperty(exports, "EventEmitter", { enumerable: true, get: function () { return EventEmitter_js_1.EventEmitter; } });
29
- var OutgoingMessage_js_1 = require("./OutgoingMessage.js");
30
- Object.defineProperty(exports, "OutgoingMessage", { enumerable: true, get: function () { return OutgoingMessage_js_1.OutgoingMessage; } });
31
- //# 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,iDAA2C;AAAnC,2GAAA,UAAU,OAAA;AAIlB,4DAAsD;AAA9C,+GAAA,YAAY,OAAA;AAEpB,2DAAqD;AAA7C,qHAAA,eAAe,OAAA"}
@@ -1,92 +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
- parseSetViewportParams(params: unknown): BrowsingContext.SetViewportParameters;
47
- parseTraverseHistoryParams(params: unknown): BrowsingContext.TraverseHistoryParameters;
48
- parseGetSessionParams(params: unknown): Cdp.GetSessionParameters;
49
- parseResolveRealmParams(params: unknown): Cdp.ResolveRealmParameters;
50
- parseSendCommandParams(params: unknown): Cdp.SendCommandParameters;
51
- parseSetClientHintsOverrideParams(params: unknown): UAClientHints.UserAgentClientHints.SetClientHintsOverrideCommand['params'];
52
- parseSetForcedColorsModeThemeOverrideParams(params: unknown): Emulation.SetForcedColorsModeThemeOverrideParameters;
53
- parseSetGeolocationOverrideParams(params: unknown): Emulation.SetGeolocationOverrideParameters;
54
- parseSetLocaleOverrideParams(params: unknown): Emulation.SetLocaleOverrideParameters;
55
- parseSetNetworkConditionsParams(params: unknown): Emulation.SetNetworkConditionsParameters;
56
- parseSetScreenOrientationOverrideParams(params: unknown): Emulation.SetScreenOrientationOverrideParameters;
57
- parseSetScreenSettingsOverrideParams(params: unknown): Emulation.SetScreenSettingsOverrideParameters;
58
- parseSetScriptingEnabledParams(params: unknown): Emulation.SetScriptingEnabledParameters;
59
- parseSetTimezoneOverrideParams(params: unknown): Emulation.SetTimezoneOverrideParameters;
60
- parseSetTouchOverrideParams(params: unknown): Emulation.SetTouchOverrideParameters;
61
- parseSetUserAgentOverrideParams(params: unknown): Emulation.SetUserAgentOverrideParameters;
62
- parseAddPreloadScriptParams(params: unknown): Script.AddPreloadScriptParameters;
63
- parseCallFunctionParams(params: unknown): Script.CallFunctionParameters;
64
- parseDisownParams(params: unknown): Script.DisownParameters;
65
- parseEvaluateParams(params: unknown): Script.EvaluateParameters;
66
- parseGetRealmsParams(params: unknown): Script.GetRealmsParameters;
67
- parseRemovePreloadScriptParams(params: unknown): Script.RemovePreloadScriptParameters;
68
- parsePerformActionsParams(params: unknown): Input.PerformActionsParameters;
69
- parseReleaseActionsParams(params: unknown): Input.ReleaseActionsParameters;
70
- parseSetFilesParams(params: unknown): Input.SetFilesParameters;
71
- parseAddDataCollectorParams(params: unknown): Network.AddDataCollectorParameters;
72
- parseAddInterceptParams(params: unknown): Network.AddInterceptParameters;
73
- parseContinueRequestParams(params: unknown): Network.ContinueRequestParameters;
74
- parseContinueResponseParams(params: unknown): Network.ContinueResponseParameters;
75
- parseContinueWithAuthParams(params: unknown): Network.ContinueWithAuthParameters;
76
- parseDisownDataParams(params: unknown): Network.DisownDataParameters;
77
- parseFailRequestParams(params: unknown): Network.FailRequestParameters;
78
- parseGetDataParams(params: unknown): Network.GetDataParameters;
79
- parseProvideResponseParams(params: unknown): Network.ProvideResponseParameters;
80
- parseRemoveDataCollectorParams(params: unknown): Network.RemoveDataCollectorParameters;
81
- parseRemoveInterceptParams(params: unknown): Network.RemoveInterceptParameters;
82
- parseSetCacheBehaviorParams(params: unknown): Network.SetCacheBehaviorParameters;
83
- parseSetExtraHeadersParams(params: unknown): Network.SetExtraHeadersParameters;
84
- parseSetPermissionsParams(params: unknown): Permissions.SetPermissionParameters;
85
- parseSubscribeParams(params: unknown): Session.SubscribeParameters;
86
- parseUnsubscribeParams(params: unknown): Session.UnsubscribeByAttributesRequest | Session.UnsubscribeByIdRequest;
87
- parseDeleteCookiesParams(params: unknown): Storage.DeleteCookiesParameters;
88
- parseGetCookiesParams(params: unknown): Storage.GetCookiesParameters;
89
- parseSetCookieParams(params: unknown): Storage.SetCookieParameters;
90
- parseInstallParams(params: unknown): WebExtension.InstallParameters;
91
- parseUninstallParams(params: unknown): WebExtension.UninstallParameters;
92
- }