cddl2java 0.0.0 → 0.1.0

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 (491) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +12 -8
  3. package/.release-it.ts +0 -10
  4. package/src/cli.ts +0 -42
  5. package/src/constants.ts +0 -25
  6. package/src/index.ts +0 -731
  7. package/src/templates.ts +0 -258
  8. package/src/utils.ts +0 -23
  9. package/tests/__fixtures__/AccessibilityValue.java +0 -71
  10. package/tests/__fixtures__/Browser/BrowserModule.java +0 -34
  11. package/tests/__fixtures__/Browser/ClientWindowInfo.java +0 -122
  12. package/tests/__fixtures__/Browser/ClientWindowNamedState.java +0 -50
  13. package/tests/__fixtures__/Browser/ClientWindowRectState.java +0 -98
  14. package/tests/__fixtures__/Browser/CreateUserContextResult.java +0 -16
  15. package/tests/__fixtures__/Browser/GetClientWindowsResult.java +0 -50
  16. package/tests/__fixtures__/Browser/GetUserContextsResult.java +0 -50
  17. package/tests/__fixtures__/Browser/RemoveUserContextParameters.java +0 -50
  18. package/tests/__fixtures__/Browser/SetClientWindowStateParameters.java +0 -50
  19. package/tests/__fixtures__/Browser/UserContextInfo.java +0 -50
  20. package/tests/__fixtures__/BrowsingContext/AccessibilityLocator.java +0 -62
  21. package/tests/__fixtures__/BrowsingContext/ActivateParameters.java +0 -50
  22. package/tests/__fixtures__/BrowsingContext/BaseNavigationInfo.java +0 -86
  23. package/tests/__fixtures__/BrowsingContext/BoxClipRectangle.java +0 -98
  24. package/tests/__fixtures__/BrowsingContext/BrowsingContextModule.java +0 -34
  25. package/tests/__fixtures__/BrowsingContext/CaptureScreenshotParameters.java +0 -86
  26. package/tests/__fixtures__/BrowsingContext/CaptureScreenshotResult.java +0 -50
  27. package/tests/__fixtures__/BrowsingContext/ClipRectangle.java +0 -17
  28. package/tests/__fixtures__/BrowsingContext/CloseParameters.java +0 -62
  29. package/tests/__fixtures__/BrowsingContext/ContextLocator.java +0 -62
  30. package/tests/__fixtures__/BrowsingContext/CreateParameters.java +0 -86
  31. package/tests/__fixtures__/BrowsingContext/CreateResult.java +0 -50
  32. package/tests/__fixtures__/BrowsingContext/CreateType.java +0 -35
  33. package/tests/__fixtures__/BrowsingContext/CssLocator.java +0 -62
  34. package/tests/__fixtures__/BrowsingContext/DownloadWillBeginParams.java +0 -50
  35. package/tests/__fixtures__/BrowsingContext/ElementClipRectangle.java +0 -62
  36. package/tests/__fixtures__/BrowsingContext/GetTreeParameters.java +0 -62
  37. package/tests/__fixtures__/BrowsingContext/GetTreeResult.java +0 -50
  38. package/tests/__fixtures__/BrowsingContext/HandleUserPromptParameters.java +0 -74
  39. package/tests/__fixtures__/BrowsingContext/HistoryUpdatedParameters.java +0 -62
  40. package/tests/__fixtures__/BrowsingContext/ImageFormat.java +0 -62
  41. package/tests/__fixtures__/BrowsingContext/Info.java +0 -122
  42. package/tests/__fixtures__/BrowsingContext/InnerTextLocator.java +0 -98
  43. package/tests/__fixtures__/BrowsingContext/LocateNodesParameters.java +0 -98
  44. package/tests/__fixtures__/BrowsingContext/LocateNodesResult.java +0 -50
  45. package/tests/__fixtures__/BrowsingContext/Locator.java +0 -20
  46. package/tests/__fixtures__/BrowsingContext/NavigateParameters.java +0 -74
  47. package/tests/__fixtures__/BrowsingContext/NavigateResult.java +0 -62
  48. package/tests/__fixtures__/BrowsingContext/PrintMarginParameters.java +0 -86
  49. package/tests/__fixtures__/BrowsingContext/PrintPageParameters.java +0 -62
  50. package/tests/__fixtures__/BrowsingContext/PrintParameters.java +0 -134
  51. package/tests/__fixtures__/BrowsingContext/PrintResult.java +0 -50
  52. package/tests/__fixtures__/BrowsingContext/ReadinessState.java +0 -36
  53. package/tests/__fixtures__/BrowsingContext/ReloadParameters.java +0 -74
  54. package/tests/__fixtures__/BrowsingContext/SetViewportParameters.java +0 -86
  55. package/tests/__fixtures__/BrowsingContext/TraverseHistoryParameters.java +0 -62
  56. package/tests/__fixtures__/BrowsingContext/TraverseHistoryResult.java +0 -28
  57. package/tests/__fixtures__/BrowsingContext/UserPromptClosedParameters.java +0 -86
  58. package/tests/__fixtures__/BrowsingContext/UserPromptOpenedParameters.java +0 -98
  59. package/tests/__fixtures__/BrowsingContext/UserPromptType.java +0 -37
  60. package/tests/__fixtures__/BrowsingContext/Viewport.java +0 -62
  61. package/tests/__fixtures__/BrowsingContext/XPathLocator.java +0 -62
  62. package/tests/__fixtures__/ContextValue.java +0 -55
  63. package/tests/__fixtures__/EmptyResult.java +0 -21
  64. package/tests/__fixtures__/Emulation/EmulationModule.java +0 -34
  65. package/tests/__fixtures__/Emulation/GeolocationCoordinates.java +0 -122
  66. package/tests/__fixtures__/Emulation/SetGeolocationOverrideParameters.java +0 -74
  67. package/tests/__fixtures__/Input/ElementOrigin.java +0 -62
  68. package/tests/__fixtures__/Input/FileDialogInfo.java +0 -74
  69. package/tests/__fixtures__/Input/InputModule.java +0 -34
  70. package/tests/__fixtures__/Input/KeyDownAction.java +0 -62
  71. package/tests/__fixtures__/Input/KeySourceAction.java +0 -18
  72. package/tests/__fixtures__/Input/KeySourceActions.java +0 -74
  73. package/tests/__fixtures__/Input/KeyUpAction.java +0 -62
  74. package/tests/__fixtures__/Input/NoneSourceAction.java +0 -16
  75. package/tests/__fixtures__/Input/NoneSourceActions.java +0 -74
  76. package/tests/__fixtures__/Input/Origin.java +0 -36
  77. package/tests/__fixtures__/Input/PauseAction.java +0 -62
  78. package/tests/__fixtures__/Input/PerformActionsParameters.java +0 -62
  79. package/tests/__fixtures__/Input/PointerCommonProperties.java +0 -122
  80. package/tests/__fixtures__/Input/PointerDownAction.java +0 -62
  81. package/tests/__fixtures__/Input/PointerMoveAction.java +0 -98
  82. package/tests/__fixtures__/Input/PointerParameters.java +0 -50
  83. package/tests/__fixtures__/Input/PointerSourceAction.java +0 -19
  84. package/tests/__fixtures__/Input/PointerSourceActions.java +0 -86
  85. package/tests/__fixtures__/Input/PointerType.java +0 -36
  86. package/tests/__fixtures__/Input/PointerUpAction.java +0 -62
  87. package/tests/__fixtures__/Input/ReleaseActionsParameters.java +0 -50
  88. package/tests/__fixtures__/Input/SetFilesParameters.java +0 -74
  89. package/tests/__fixtures__/Input/SourceActions.java +0 -19
  90. package/tests/__fixtures__/Input/WheelScrollAction.java +0 -122
  91. package/tests/__fixtures__/Input/WheelSourceAction.java +0 -17
  92. package/tests/__fixtures__/Input/WheelSourceActions.java +0 -74
  93. package/tests/__fixtures__/Log/BaseLogEntry.java +0 -98
  94. package/tests/__fixtures__/Log/ConsoleLogEntry.java +0 -74
  95. package/tests/__fixtures__/Log/Entry.java +0 -18
  96. package/tests/__fixtures__/Log/GenericLogEntry.java +0 -50
  97. package/tests/__fixtures__/Log/JavascriptLogEntry.java +0 -50
  98. package/tests/__fixtures__/Log/Level.java +0 -37
  99. package/tests/__fixtures__/Log/LogModule.java +0 -34
  100. package/tests/__fixtures__/Network/AddInterceptParameters.java +0 -74
  101. package/tests/__fixtures__/Network/AddInterceptResult.java +0 -50
  102. package/tests/__fixtures__/Network/AuthChallenge.java +0 -62
  103. package/tests/__fixtures__/Network/AuthCredentials.java +0 -74
  104. package/tests/__fixtures__/Network/AuthRequiredParameters.java +0 -50
  105. package/tests/__fixtures__/Network/Base64Value.java +0 -62
  106. package/tests/__fixtures__/Network/BaseParameters.java +0 -122
  107. package/tests/__fixtures__/Network/BeforeRequestSentParameters.java +0 -50
  108. package/tests/__fixtures__/Network/BytesValue.java +0 -17
  109. package/tests/__fixtures__/Network/ContinueRequestParameters.java +0 -110
  110. package/tests/__fixtures__/Network/ContinueResponseParameters.java +0 -110
  111. package/tests/__fixtures__/Network/ContinueWithAuthCredentials.java +0 -62
  112. package/tests/__fixtures__/Network/ContinueWithAuthNoCredentials.java +0 -50
  113. package/tests/__fixtures__/Network/ContinueWithAuthParameters.java +0 -50
  114. package/tests/__fixtures__/Network/Cookie.java +0 -146
  115. package/tests/__fixtures__/Network/CookieHeader.java +0 -62
  116. package/tests/__fixtures__/Network/FailRequestParameters.java +0 -50
  117. package/tests/__fixtures__/Network/FetchErrorParameters.java +0 -50
  118. package/tests/__fixtures__/Network/FetchTimingInfo.java +0 -194
  119. package/tests/__fixtures__/Network/Header.java +0 -62
  120. package/tests/__fixtures__/Network/Initiator.java +0 -98
  121. package/tests/__fixtures__/Network/InterceptPhase.java +0 -36
  122. package/tests/__fixtures__/Network/NetworkModule.java +0 -34
  123. package/tests/__fixtures__/Network/ProvideResponseParameters.java +0 -110
  124. package/tests/__fixtures__/Network/RemoveInterceptParameters.java +0 -50
  125. package/tests/__fixtures__/Network/RequestData.java +0 -158
  126. package/tests/__fixtures__/Network/ResponseCompletedParameters.java +0 -50
  127. package/tests/__fixtures__/Network/ResponseContent.java +0 -50
  128. package/tests/__fixtures__/Network/ResponseData.java +0 -182
  129. package/tests/__fixtures__/Network/ResponseStartedParameters.java +0 -50
  130. package/tests/__fixtures__/Network/SameSite.java +0 -36
  131. package/tests/__fixtures__/Network/SetCacheBehaviorParameters.java +0 -62
  132. package/tests/__fixtures__/Network/SetCookieHeader.java +0 -146
  133. package/tests/__fixtures__/Network/StringValue.java +0 -62
  134. package/tests/__fixtures__/Network/UrlPattern.java +0 -17
  135. package/tests/__fixtures__/Network/UrlPatternPattern.java +0 -110
  136. package/tests/__fixtures__/Network/UrlPatternString.java +0 -62
  137. package/tests/__fixtures__/Script/AddPreloadScriptParameters.java +0 -98
  138. package/tests/__fixtures__/Script/AddPreloadScriptResult.java +0 -50
  139. package/tests/__fixtures__/Script/ArrayBufferRemoteValue.java +0 -74
  140. package/tests/__fixtures__/Script/ArrayLocalValue.java +0 -62
  141. package/tests/__fixtures__/Script/ArrayRemoteValue.java +0 -86
  142. package/tests/__fixtures__/Script/AudioWorkletRealmInfo.java +0 -50
  143. package/tests/__fixtures__/Script/BaseRealmInfo.java +0 -62
  144. package/tests/__fixtures__/Script/BigIntValue.java +0 -62
  145. package/tests/__fixtures__/Script/BooleanValue.java +0 -62
  146. package/tests/__fixtures__/Script/CallFunctionParameters.java +0 -134
  147. package/tests/__fixtures__/Script/ChannelProperties.java +0 -74
  148. package/tests/__fixtures__/Script/ChannelValue.java +0 -62
  149. package/tests/__fixtures__/Script/ContextTarget.java +0 -62
  150. package/tests/__fixtures__/Script/DateLocalValue.java +0 -62
  151. package/tests/__fixtures__/Script/DedicatedWorkerRealmInfo.java +0 -62
  152. package/tests/__fixtures__/Script/DisownParameters.java +0 -62
  153. package/tests/__fixtures__/Script/ErrorRemoteValue.java +0 -74
  154. package/tests/__fixtures__/Script/EvaluateParameters.java +0 -110
  155. package/tests/__fixtures__/Script/EvaluateResult.java +0 -17
  156. package/tests/__fixtures__/Script/EvaluateResultException.java +0 -74
  157. package/tests/__fixtures__/Script/EvaluateResultSuccess.java +0 -74
  158. package/tests/__fixtures__/Script/ExceptionDetails.java +0 -98
  159. package/tests/__fixtures__/Script/FunctionRemoteValue.java +0 -74
  160. package/tests/__fixtures__/Script/GeneratorRemoteValue.java +0 -74
  161. package/tests/__fixtures__/Script/GetRealmsParameters.java +0 -62
  162. package/tests/__fixtures__/Script/GetRealmsResult.java +0 -50
  163. package/tests/__fixtures__/Script/HTMLCollectionRemoteValue.java +0 -86
  164. package/tests/__fixtures__/Script/LocalValue.java +0 -24
  165. package/tests/__fixtures__/Script/MapLocalValue.java +0 -62
  166. package/tests/__fixtures__/Script/MapRemoteValue.java +0 -86
  167. package/tests/__fixtures__/Script/MessageParameters.java +0 -74
  168. package/tests/__fixtures__/Script/NodeListRemoteValue.java +0 -86
  169. package/tests/__fixtures__/Script/NodeProperties.java +0 -146
  170. package/tests/__fixtures__/Script/NodeRemoteValue.java +0 -98
  171. package/tests/__fixtures__/Script/NullValue.java +0 -50
  172. package/tests/__fixtures__/Script/NumberValue.java +0 -62
  173. package/tests/__fixtures__/Script/ObjectLocalValue.java +0 -62
  174. package/tests/__fixtures__/Script/ObjectRemoteValue.java +0 -86
  175. package/tests/__fixtures__/Script/PaintWorkletRealmInfo.java +0 -50
  176. package/tests/__fixtures__/Script/PrimitiveProtocolValue.java +0 -21
  177. package/tests/__fixtures__/Script/PromiseRemoteValue.java +0 -74
  178. package/tests/__fixtures__/Script/ProxyRemoteValue.java +0 -74
  179. package/tests/__fixtures__/Script/RealmDestroyedParameters.java +0 -50
  180. package/tests/__fixtures__/Script/RealmInfo.java +0 -23
  181. package/tests/__fixtures__/Script/RealmTarget.java +0 -50
  182. package/tests/__fixtures__/Script/RealmType.java +0 -41
  183. package/tests/__fixtures__/Script/RegExpLocalValue.java +0 -62
  184. package/tests/__fixtures__/Script/RegExpValue.java +0 -62
  185. package/tests/__fixtures__/Script/RemoteObjectReference.java +0 -62
  186. package/tests/__fixtures__/Script/RemoteReference.java +0 -17
  187. package/tests/__fixtures__/Script/RemoteValue.java +0 -36
  188. package/tests/__fixtures__/Script/RemovePreloadScriptParameters.java +0 -50
  189. package/tests/__fixtures__/Script/ResultOwnership.java +0 -35
  190. package/tests/__fixtures__/Script/ScriptModule.java +0 -34
  191. package/tests/__fixtures__/Script/SerializationOptions.java +0 -74
  192. package/tests/__fixtures__/Script/ServiceWorkerRealmInfo.java +0 -50
  193. package/tests/__fixtures__/Script/SetLocalValue.java +0 -62
  194. package/tests/__fixtures__/Script/SetRemoteValue.java +0 -86
  195. package/tests/__fixtures__/Script/SharedReference.java +0 -62
  196. package/tests/__fixtures__/Script/SharedWorkerRealmInfo.java +0 -50
  197. package/tests/__fixtures__/Script/Source.java +0 -62
  198. package/tests/__fixtures__/Script/SpecialNumber.java +0 -37
  199. package/tests/__fixtures__/Script/StackFrame.java +0 -86
  200. package/tests/__fixtures__/Script/StackTrace.java +0 -50
  201. package/tests/__fixtures__/Script/StringValue.java +0 -62
  202. package/tests/__fixtures__/Script/SymbolRemoteValue.java +0 -74
  203. package/tests/__fixtures__/Script/Target.java +0 -17
  204. package/tests/__fixtures__/Script/TypedArrayRemoteValue.java +0 -74
  205. package/tests/__fixtures__/Script/UndefinedValue.java +0 -50
  206. package/tests/__fixtures__/Script/WeakMapRemoteValue.java +0 -74
  207. package/tests/__fixtures__/Script/WeakSetRemoteValue.java +0 -74
  208. package/tests/__fixtures__/Script/WindowProxyProperties.java +0 -50
  209. package/tests/__fixtures__/Script/WindowProxyRemoteValue.java +0 -86
  210. package/tests/__fixtures__/Script/WindowRealmInfo.java +0 -74
  211. package/tests/__fixtures__/Script/WorkerRealmInfo.java +0 -50
  212. package/tests/__fixtures__/Script/WorkletRealmInfo.java +0 -50
  213. package/tests/__fixtures__/Session/Capabilities.java +0 -55
  214. package/tests/__fixtures__/Session/CapabilitiesRequest.java +0 -62
  215. package/tests/__fixtures__/Session/CapabilityRequest.java +0 -110
  216. package/tests/__fixtures__/Session/NewParameters.java +0 -50
  217. package/tests/__fixtures__/Session/NewResult.java +0 -62
  218. package/tests/__fixtures__/Session/ProxyConfiguration.java +0 -20
  219. package/tests/__fixtures__/Session/SessionModule.java +0 -34
  220. package/tests/__fixtures__/Session/StatusResult.java +0 -62
  221. package/tests/__fixtures__/Session/SubscribeResult.java +0 -50
  222. package/tests/__fixtures__/Session/SubscriptionRequest.java +0 -74
  223. package/tests/__fixtures__/Session/UnsubscribeByAttributesRequest.java +0 -62
  224. package/tests/__fixtures__/Session/UnsubscribeByIDRequest.java +0 -50
  225. package/tests/__fixtures__/Session/UnsubscribeParameters.java +0 -17
  226. package/tests/__fixtures__/Session/UserPromptHandler.java +0 -110
  227. package/tests/__fixtures__/Session/UserPromptHandlerType.java +0 -36
  228. package/tests/__fixtures__/Storage/BrowsingContextPartitionDescriptor.java +0 -62
  229. package/tests/__fixtures__/Storage/CookieFilter.java +0 -146
  230. package/tests/__fixtures__/Storage/DeleteCookiesParameters.java +0 -62
  231. package/tests/__fixtures__/Storage/DeleteCookiesResult.java +0 -50
  232. package/tests/__fixtures__/Storage/GetCookiesParameters.java +0 -62
  233. package/tests/__fixtures__/Storage/GetCookiesResult.java +0 -62
  234. package/tests/__fixtures__/Storage/PartialCookie.java +0 -134
  235. package/tests/__fixtures__/Storage/PartitionDescriptor.java +0 -17
  236. package/tests/__fixtures__/Storage/PartitionKey.java +0 -62
  237. package/tests/__fixtures__/Storage/SetCookieParameters.java +0 -62
  238. package/tests/__fixtures__/Storage/SetCookieResult.java +0 -50
  239. package/tests/__fixtures__/Storage/StorageKeyPartitionDescriptor.java +0 -74
  240. package/tests/__fixtures__/Storage/StorageModule.java +0 -34
  241. package/tests/__fixtures__/WebExtension/ExtensionArchivePath.java +0 -62
  242. package/tests/__fixtures__/WebExtension/ExtensionBase64Encoded.java +0 -62
  243. package/tests/__fixtures__/WebExtension/ExtensionData.java +0 -18
  244. package/tests/__fixtures__/WebExtension/ExtensionPath.java +0 -62
  245. package/tests/__fixtures__/WebExtension/InstallParameters.java +0 -50
  246. package/tests/__fixtures__/WebExtension/InstallResult.java +0 -50
  247. package/tests/__fixtures__/WebExtension/UninstallParameters.java +0 -50
  248. package/tests/__fixtures__/WebExtension/WebExtensionModule.java +0 -34
  249. package/tests/__output__/AccessibilityValue.java +0 -71
  250. package/tests/__output__/Browser/BrowserModule.java +0 -34
  251. package/tests/__output__/Browser/ClientWindowInfo.java +0 -122
  252. package/tests/__output__/Browser/ClientWindowNamedState.java +0 -50
  253. package/tests/__output__/Browser/ClientWindowRectState.java +0 -98
  254. package/tests/__output__/Browser/CreateUserContextResult.java +0 -16
  255. package/tests/__output__/Browser/GetClientWindowsResult.java +0 -50
  256. package/tests/__output__/Browser/GetUserContextsResult.java +0 -50
  257. package/tests/__output__/Browser/RemoveUserContextParameters.java +0 -50
  258. package/tests/__output__/Browser/SetClientWindowStateParameters.java +0 -50
  259. package/tests/__output__/Browser/UserContextInfo.java +0 -50
  260. package/tests/__output__/BrowsingContext/AccessibilityLocator.java +0 -62
  261. package/tests/__output__/BrowsingContext/ActivateParameters.java +0 -50
  262. package/tests/__output__/BrowsingContext/BaseNavigationInfo.java +0 -86
  263. package/tests/__output__/BrowsingContext/BoxClipRectangle.java +0 -98
  264. package/tests/__output__/BrowsingContext/BrowsingContextModule.java +0 -34
  265. package/tests/__output__/BrowsingContext/CaptureScreenshotParameters.java +0 -86
  266. package/tests/__output__/BrowsingContext/CaptureScreenshotResult.java +0 -50
  267. package/tests/__output__/BrowsingContext/ClipRectangle.java +0 -17
  268. package/tests/__output__/BrowsingContext/CloseParameters.java +0 -62
  269. package/tests/__output__/BrowsingContext/ContextLocator.java +0 -62
  270. package/tests/__output__/BrowsingContext/CreateParameters.java +0 -86
  271. package/tests/__output__/BrowsingContext/CreateResult.java +0 -50
  272. package/tests/__output__/BrowsingContext/CreateType.java +0 -35
  273. package/tests/__output__/BrowsingContext/CssLocator.java +0 -62
  274. package/tests/__output__/BrowsingContext/DownloadWillBeginParams.java +0 -50
  275. package/tests/__output__/BrowsingContext/ElementClipRectangle.java +0 -62
  276. package/tests/__output__/BrowsingContext/GetTreeParameters.java +0 -62
  277. package/tests/__output__/BrowsingContext/GetTreeResult.java +0 -50
  278. package/tests/__output__/BrowsingContext/HandleUserPromptParameters.java +0 -74
  279. package/tests/__output__/BrowsingContext/HistoryUpdatedParameters.java +0 -62
  280. package/tests/__output__/BrowsingContext/ImageFormat.java +0 -62
  281. package/tests/__output__/BrowsingContext/Info.java +0 -122
  282. package/tests/__output__/BrowsingContext/InnerTextLocator.java +0 -98
  283. package/tests/__output__/BrowsingContext/LocateNodesParameters.java +0 -98
  284. package/tests/__output__/BrowsingContext/LocateNodesResult.java +0 -50
  285. package/tests/__output__/BrowsingContext/Locator.java +0 -20
  286. package/tests/__output__/BrowsingContext/NavigateParameters.java +0 -74
  287. package/tests/__output__/BrowsingContext/NavigateResult.java +0 -62
  288. package/tests/__output__/BrowsingContext/PrintMarginParameters.java +0 -86
  289. package/tests/__output__/BrowsingContext/PrintPageParameters.java +0 -62
  290. package/tests/__output__/BrowsingContext/PrintParameters.java +0 -134
  291. package/tests/__output__/BrowsingContext/PrintResult.java +0 -50
  292. package/tests/__output__/BrowsingContext/ReadinessState.java +0 -36
  293. package/tests/__output__/BrowsingContext/ReloadParameters.java +0 -74
  294. package/tests/__output__/BrowsingContext/SetViewportParameters.java +0 -86
  295. package/tests/__output__/BrowsingContext/TraverseHistoryParameters.java +0 -62
  296. package/tests/__output__/BrowsingContext/TraverseHistoryResult.java +0 -28
  297. package/tests/__output__/BrowsingContext/UserPromptClosedParameters.java +0 -86
  298. package/tests/__output__/BrowsingContext/UserPromptOpenedParameters.java +0 -98
  299. package/tests/__output__/BrowsingContext/UserPromptType.java +0 -37
  300. package/tests/__output__/BrowsingContext/Viewport.java +0 -62
  301. package/tests/__output__/BrowsingContext/XPathLocator.java +0 -62
  302. package/tests/__output__/ContextValue.java +0 -55
  303. package/tests/__output__/EmptyResult.java +0 -21
  304. package/tests/__output__/Emulation/EmulationModule.java +0 -34
  305. package/tests/__output__/Emulation/GeolocationCoordinates.java +0 -122
  306. package/tests/__output__/Emulation/SetGeolocationOverrideParameters.java +0 -74
  307. package/tests/__output__/Input/ElementOrigin.java +0 -62
  308. package/tests/__output__/Input/FileDialogInfo.java +0 -74
  309. package/tests/__output__/Input/InputModule.java +0 -34
  310. package/tests/__output__/Input/KeyDownAction.java +0 -62
  311. package/tests/__output__/Input/KeySourceAction.java +0 -18
  312. package/tests/__output__/Input/KeySourceActions.java +0 -74
  313. package/tests/__output__/Input/KeyUpAction.java +0 -62
  314. package/tests/__output__/Input/NoneSourceAction.java +0 -16
  315. package/tests/__output__/Input/NoneSourceActions.java +0 -74
  316. package/tests/__output__/Input/Origin.java +0 -36
  317. package/tests/__output__/Input/PauseAction.java +0 -62
  318. package/tests/__output__/Input/PerformActionsParameters.java +0 -62
  319. package/tests/__output__/Input/PointerCommonProperties.java +0 -122
  320. package/tests/__output__/Input/PointerDownAction.java +0 -62
  321. package/tests/__output__/Input/PointerMoveAction.java +0 -98
  322. package/tests/__output__/Input/PointerParameters.java +0 -50
  323. package/tests/__output__/Input/PointerSourceAction.java +0 -19
  324. package/tests/__output__/Input/PointerSourceActions.java +0 -86
  325. package/tests/__output__/Input/PointerType.java +0 -36
  326. package/tests/__output__/Input/PointerUpAction.java +0 -62
  327. package/tests/__output__/Input/ReleaseActionsParameters.java +0 -50
  328. package/tests/__output__/Input/SetFilesParameters.java +0 -74
  329. package/tests/__output__/Input/SourceActions.java +0 -19
  330. package/tests/__output__/Input/WheelScrollAction.java +0 -122
  331. package/tests/__output__/Input/WheelSourceAction.java +0 -17
  332. package/tests/__output__/Input/WheelSourceActions.java +0 -74
  333. package/tests/__output__/Log/BaseLogEntry.java +0 -98
  334. package/tests/__output__/Log/ConsoleLogEntry.java +0 -74
  335. package/tests/__output__/Log/Entry.java +0 -18
  336. package/tests/__output__/Log/GenericLogEntry.java +0 -50
  337. package/tests/__output__/Log/JavascriptLogEntry.java +0 -50
  338. package/tests/__output__/Log/Level.java +0 -37
  339. package/tests/__output__/Log/LogModule.java +0 -34
  340. package/tests/__output__/Network/AddInterceptParameters.java +0 -74
  341. package/tests/__output__/Network/AddInterceptResult.java +0 -50
  342. package/tests/__output__/Network/AuthChallenge.java +0 -62
  343. package/tests/__output__/Network/AuthCredentials.java +0 -74
  344. package/tests/__output__/Network/AuthRequiredParameters.java +0 -50
  345. package/tests/__output__/Network/Base64Value.java +0 -62
  346. package/tests/__output__/Network/BaseParameters.java +0 -122
  347. package/tests/__output__/Network/BeforeRequestSentParameters.java +0 -50
  348. package/tests/__output__/Network/BytesValue.java +0 -17
  349. package/tests/__output__/Network/ContinueRequestParameters.java +0 -110
  350. package/tests/__output__/Network/ContinueResponseParameters.java +0 -110
  351. package/tests/__output__/Network/ContinueWithAuthCredentials.java +0 -62
  352. package/tests/__output__/Network/ContinueWithAuthNoCredentials.java +0 -50
  353. package/tests/__output__/Network/ContinueWithAuthParameters.java +0 -50
  354. package/tests/__output__/Network/Cookie.java +0 -146
  355. package/tests/__output__/Network/CookieHeader.java +0 -62
  356. package/tests/__output__/Network/FailRequestParameters.java +0 -50
  357. package/tests/__output__/Network/FetchErrorParameters.java +0 -50
  358. package/tests/__output__/Network/FetchTimingInfo.java +0 -194
  359. package/tests/__output__/Network/Header.java +0 -62
  360. package/tests/__output__/Network/Initiator.java +0 -98
  361. package/tests/__output__/Network/InterceptPhase.java +0 -36
  362. package/tests/__output__/Network/NetworkModule.java +0 -34
  363. package/tests/__output__/Network/ProvideResponseParameters.java +0 -110
  364. package/tests/__output__/Network/RemoveInterceptParameters.java +0 -50
  365. package/tests/__output__/Network/RequestData.java +0 -158
  366. package/tests/__output__/Network/ResponseCompletedParameters.java +0 -50
  367. package/tests/__output__/Network/ResponseContent.java +0 -50
  368. package/tests/__output__/Network/ResponseData.java +0 -182
  369. package/tests/__output__/Network/ResponseStartedParameters.java +0 -50
  370. package/tests/__output__/Network/SameSite.java +0 -36
  371. package/tests/__output__/Network/SetCacheBehaviorParameters.java +0 -62
  372. package/tests/__output__/Network/SetCookieHeader.java +0 -146
  373. package/tests/__output__/Network/StringValue.java +0 -62
  374. package/tests/__output__/Network/UrlPattern.java +0 -17
  375. package/tests/__output__/Network/UrlPatternPattern.java +0 -110
  376. package/tests/__output__/Network/UrlPatternString.java +0 -62
  377. package/tests/__output__/Script/AddPreloadScriptParameters.java +0 -98
  378. package/tests/__output__/Script/AddPreloadScriptResult.java +0 -50
  379. package/tests/__output__/Script/ArrayBufferRemoteValue.java +0 -74
  380. package/tests/__output__/Script/ArrayLocalValue.java +0 -62
  381. package/tests/__output__/Script/ArrayRemoteValue.java +0 -86
  382. package/tests/__output__/Script/AudioWorkletRealmInfo.java +0 -50
  383. package/tests/__output__/Script/BaseRealmInfo.java +0 -62
  384. package/tests/__output__/Script/BigIntValue.java +0 -62
  385. package/tests/__output__/Script/BooleanValue.java +0 -62
  386. package/tests/__output__/Script/CallFunctionParameters.java +0 -134
  387. package/tests/__output__/Script/ChannelProperties.java +0 -74
  388. package/tests/__output__/Script/ChannelValue.java +0 -62
  389. package/tests/__output__/Script/ContextTarget.java +0 -62
  390. package/tests/__output__/Script/DateLocalValue.java +0 -62
  391. package/tests/__output__/Script/DedicatedWorkerRealmInfo.java +0 -62
  392. package/tests/__output__/Script/DisownParameters.java +0 -62
  393. package/tests/__output__/Script/ErrorRemoteValue.java +0 -74
  394. package/tests/__output__/Script/EvaluateParameters.java +0 -110
  395. package/tests/__output__/Script/EvaluateResult.java +0 -17
  396. package/tests/__output__/Script/EvaluateResultException.java +0 -74
  397. package/tests/__output__/Script/EvaluateResultSuccess.java +0 -74
  398. package/tests/__output__/Script/ExceptionDetails.java +0 -98
  399. package/tests/__output__/Script/FunctionRemoteValue.java +0 -74
  400. package/tests/__output__/Script/GeneratorRemoteValue.java +0 -74
  401. package/tests/__output__/Script/GetRealmsParameters.java +0 -62
  402. package/tests/__output__/Script/GetRealmsResult.java +0 -50
  403. package/tests/__output__/Script/HTMLCollectionRemoteValue.java +0 -86
  404. package/tests/__output__/Script/LocalValue.java +0 -24
  405. package/tests/__output__/Script/MapLocalValue.java +0 -62
  406. package/tests/__output__/Script/MapRemoteValue.java +0 -86
  407. package/tests/__output__/Script/MessageParameters.java +0 -74
  408. package/tests/__output__/Script/NodeListRemoteValue.java +0 -86
  409. package/tests/__output__/Script/NodeProperties.java +0 -146
  410. package/tests/__output__/Script/NodeRemoteValue.java +0 -98
  411. package/tests/__output__/Script/NullValue.java +0 -50
  412. package/tests/__output__/Script/NumberValue.java +0 -62
  413. package/tests/__output__/Script/ObjectLocalValue.java +0 -62
  414. package/tests/__output__/Script/ObjectRemoteValue.java +0 -86
  415. package/tests/__output__/Script/PaintWorkletRealmInfo.java +0 -50
  416. package/tests/__output__/Script/PrimitiveProtocolValue.java +0 -21
  417. package/tests/__output__/Script/PromiseRemoteValue.java +0 -74
  418. package/tests/__output__/Script/ProxyRemoteValue.java +0 -74
  419. package/tests/__output__/Script/RealmDestroyedParameters.java +0 -50
  420. package/tests/__output__/Script/RealmInfo.java +0 -23
  421. package/tests/__output__/Script/RealmTarget.java +0 -50
  422. package/tests/__output__/Script/RealmType.java +0 -41
  423. package/tests/__output__/Script/RegExpLocalValue.java +0 -62
  424. package/tests/__output__/Script/RegExpValue.java +0 -62
  425. package/tests/__output__/Script/RemoteObjectReference.java +0 -62
  426. package/tests/__output__/Script/RemoteReference.java +0 -17
  427. package/tests/__output__/Script/RemoteValue.java +0 -36
  428. package/tests/__output__/Script/RemovePreloadScriptParameters.java +0 -50
  429. package/tests/__output__/Script/ResultOwnership.java +0 -35
  430. package/tests/__output__/Script/ScriptModule.java +0 -34
  431. package/tests/__output__/Script/SerializationOptions.java +0 -74
  432. package/tests/__output__/Script/ServiceWorkerRealmInfo.java +0 -50
  433. package/tests/__output__/Script/SetLocalValue.java +0 -62
  434. package/tests/__output__/Script/SetRemoteValue.java +0 -86
  435. package/tests/__output__/Script/SharedReference.java +0 -62
  436. package/tests/__output__/Script/SharedWorkerRealmInfo.java +0 -50
  437. package/tests/__output__/Script/Source.java +0 -62
  438. package/tests/__output__/Script/SpecialNumber.java +0 -37
  439. package/tests/__output__/Script/StackFrame.java +0 -86
  440. package/tests/__output__/Script/StackTrace.java +0 -50
  441. package/tests/__output__/Script/StringValue.java +0 -62
  442. package/tests/__output__/Script/SymbolRemoteValue.java +0 -74
  443. package/tests/__output__/Script/Target.java +0 -17
  444. package/tests/__output__/Script/TypedArrayRemoteValue.java +0 -74
  445. package/tests/__output__/Script/UndefinedValue.java +0 -50
  446. package/tests/__output__/Script/WeakMapRemoteValue.java +0 -74
  447. package/tests/__output__/Script/WeakSetRemoteValue.java +0 -74
  448. package/tests/__output__/Script/WindowProxyProperties.java +0 -50
  449. package/tests/__output__/Script/WindowProxyRemoteValue.java +0 -86
  450. package/tests/__output__/Script/WindowRealmInfo.java +0 -74
  451. package/tests/__output__/Script/WorkerRealmInfo.java +0 -50
  452. package/tests/__output__/Script/WorkletRealmInfo.java +0 -50
  453. package/tests/__output__/Session/Capabilities.java +0 -55
  454. package/tests/__output__/Session/CapabilitiesRequest.java +0 -62
  455. package/tests/__output__/Session/CapabilityRequest.java +0 -110
  456. package/tests/__output__/Session/NewParameters.java +0 -50
  457. package/tests/__output__/Session/NewResult.java +0 -62
  458. package/tests/__output__/Session/ProxyConfiguration.java +0 -20
  459. package/tests/__output__/Session/SessionModule.java +0 -34
  460. package/tests/__output__/Session/StatusResult.java +0 -62
  461. package/tests/__output__/Session/SubscribeResult.java +0 -50
  462. package/tests/__output__/Session/SubscriptionRequest.java +0 -74
  463. package/tests/__output__/Session/UnsubscribeByAttributesRequest.java +0 -62
  464. package/tests/__output__/Session/UnsubscribeByIDRequest.java +0 -50
  465. package/tests/__output__/Session/UnsubscribeParameters.java +0 -17
  466. package/tests/__output__/Session/UserPromptHandler.java +0 -110
  467. package/tests/__output__/Session/UserPromptHandlerType.java +0 -36
  468. package/tests/__output__/Storage/BrowsingContextPartitionDescriptor.java +0 -62
  469. package/tests/__output__/Storage/CookieFilter.java +0 -146
  470. package/tests/__output__/Storage/DeleteCookiesParameters.java +0 -62
  471. package/tests/__output__/Storage/DeleteCookiesResult.java +0 -50
  472. package/tests/__output__/Storage/GetCookiesParameters.java +0 -62
  473. package/tests/__output__/Storage/GetCookiesResult.java +0 -62
  474. package/tests/__output__/Storage/PartialCookie.java +0 -134
  475. package/tests/__output__/Storage/PartitionDescriptor.java +0 -17
  476. package/tests/__output__/Storage/PartitionKey.java +0 -62
  477. package/tests/__output__/Storage/SetCookieParameters.java +0 -62
  478. package/tests/__output__/Storage/SetCookieResult.java +0 -50
  479. package/tests/__output__/Storage/StorageKeyPartitionDescriptor.java +0 -74
  480. package/tests/__output__/Storage/StorageModule.java +0 -34
  481. package/tests/__output__/WebExtension/ExtensionArchivePath.java +0 -62
  482. package/tests/__output__/WebExtension/ExtensionBase64Encoded.java +0 -62
  483. package/tests/__output__/WebExtension/ExtensionData.java +0 -18
  484. package/tests/__output__/WebExtension/ExtensionPath.java +0 -62
  485. package/tests/__output__/WebExtension/InstallParameters.java +0 -50
  486. package/tests/__output__/WebExtension/InstallResult.java +0 -50
  487. package/tests/__output__/WebExtension/UninstallParameters.java +0 -50
  488. package/tests/__output__/WebExtension/WebExtensionModule.java +0 -34
  489. package/tests/bidi.cddl +0 -2511
  490. package/tests/mod.test.ts +0 -65
  491. package/tsconfig.json +0 -11
@@ -1,146 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.Cookie command
20
- */
21
- public class Cookie {
22
-
23
- /**
24
- * Creates a new Cookie instance
25
- */
26
- public Cookie(String name, Network.BytesValue value, String domain, String path, Long size, Boolean httpOnly, Boolean secure, Network.SameSite sameSite, Long expiry) {
27
- this.name = name;
28
- this.value = value;
29
- this.domain = domain;
30
- this.path = path;
31
- this.size = size;
32
- this.httpOnly = httpOnly;
33
- this.secure = secure;
34
- this.sameSite = sameSite;
35
- this.expiry = expiry;
36
- }
37
-
38
- private final String name;
39
-
40
- /**
41
- * Gets the name property
42
- * @return String value
43
- */
44
- public String getName() {
45
- return this.name;
46
- }
47
-
48
- private final Network.BytesValue value;
49
-
50
- /**
51
- * Gets the value property
52
- * @return Network.BytesValue value
53
- */
54
- public Network.BytesValue getValue() {
55
- return this.value;
56
- }
57
-
58
- private final String domain;
59
-
60
- /**
61
- * Gets the domain property
62
- * @return String value
63
- */
64
- public String getDomain() {
65
- return this.domain;
66
- }
67
-
68
- private final String path;
69
-
70
- /**
71
- * Gets the path property
72
- * @return String value
73
- */
74
- public String getPath() {
75
- return this.path;
76
- }
77
-
78
- private final Long size;
79
-
80
- /**
81
- * Gets the size property
82
- * @return Long value
83
- */
84
- public Long getSize() {
85
- return this.size;
86
- }
87
-
88
- private final Boolean httpOnly;
89
-
90
- /**
91
- * Gets the httpOnly property
92
- * @return Boolean value
93
- */
94
- public Boolean getHttpOnly() {
95
- return this.httpOnly;
96
- }
97
-
98
- private final Boolean secure;
99
-
100
- /**
101
- * Gets the secure property
102
- * @return Boolean value
103
- */
104
- public Boolean getSecure() {
105
- return this.secure;
106
- }
107
-
108
- private final Network.SameSite sameSite;
109
-
110
- /**
111
- * Gets the sameSite property
112
- * @return Network.SameSite value
113
- */
114
- public Network.SameSite getSameSite() {
115
- return this.sameSite;
116
- }
117
-
118
- private final Long expiry;
119
-
120
- /**
121
- * Gets the expiry property
122
- * @return Long value
123
- */
124
- public Long getExpiry() {
125
- return this.expiry;
126
- }
127
-
128
- /**
129
- * Converts this object to a map for use with BiDi protocol
130
- * @return Map representation of this object
131
- */
132
- public Map<String, Object> asMap() {
133
- Map<String, Object> toReturn = new HashMap<>();
134
- toReturn.put("name", this.name);
135
- toReturn.put("value", this.value);
136
- toReturn.put("domain", this.domain);
137
- toReturn.put("path", this.path);
138
- toReturn.put("size", this.size);
139
- toReturn.put("httpOnly", this.httpOnly);
140
- toReturn.put("secure", this.secure);
141
- toReturn.put("sameSite", this.sameSite);
142
- toReturn.put("expiry", this.expiry);
143
- return toReturn;
144
- }
145
-
146
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.CookieHeader command
20
- */
21
- public class CookieHeader {
22
-
23
- /**
24
- * Creates a new CookieHeader instance
25
- */
26
- public CookieHeader(String name, Network.BytesValue value) {
27
- this.name = name;
28
- this.value = value;
29
- }
30
-
31
- private final String name;
32
-
33
- /**
34
- * Gets the name property
35
- * @return String value
36
- */
37
- public String getName() {
38
- return this.name;
39
- }
40
-
41
- private final Network.BytesValue value;
42
-
43
- /**
44
- * Gets the value property
45
- * @return Network.BytesValue value
46
- */
47
- public Network.BytesValue getValue() {
48
- return this.value;
49
- }
50
-
51
- /**
52
- * Converts this object to a map for use with BiDi protocol
53
- * @return Map representation of this object
54
- */
55
- public Map<String, Object> asMap() {
56
- Map<String, Object> toReturn = new HashMap<>();
57
- toReturn.put("name", this.name);
58
- toReturn.put("value", this.value);
59
- return toReturn;
60
- }
61
-
62
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.FailRequestParameters command
20
- */
21
- public class FailRequestParameters {
22
-
23
- /**
24
- * Creates a new FailRequestParameters instance
25
- */
26
- public FailRequestParameters(String request) {
27
- this.request = request;
28
- }
29
-
30
- private final String request;
31
-
32
- /**
33
- * Gets the request property
34
- * @return String value
35
- */
36
- public String getRequest() {
37
- return this.request;
38
- }
39
-
40
- /**
41
- * Converts this object to a map for use with BiDi protocol
42
- * @return Map representation of this object
43
- */
44
- public Map<String, Object> asMap() {
45
- Map<String, Object> toReturn = new HashMap<>();
46
- toReturn.put("request", this.request);
47
- return toReturn;
48
- }
49
-
50
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.FetchErrorParameters command
20
- */
21
- public class FetchErrorParameters {
22
-
23
- /**
24
- * Creates a new FetchErrorParameters instance
25
- */
26
- public FetchErrorParameters(String errorText) {
27
- this.errorText = errorText;
28
- }
29
-
30
- private final String errorText;
31
-
32
- /**
33
- * Gets the errorText property
34
- * @return String value
35
- */
36
- public String getErrorText() {
37
- return this.errorText;
38
- }
39
-
40
- /**
41
- * Converts this object to a map for use with BiDi protocol
42
- * @return Map representation of this object
43
- */
44
- public Map<String, Object> asMap() {
45
- Map<String, Object> toReturn = new HashMap<>();
46
- toReturn.put("errorText", this.errorText);
47
- return toReturn;
48
- }
49
-
50
- }
@@ -1,194 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.FetchTimingInfo command
20
- */
21
- public class FetchTimingInfo {
22
-
23
- /**
24
- * Creates a new FetchTimingInfo instance
25
- */
26
- public FetchTimingInfo(Float timeOrigin, Float requestTime, Float redirectStart, Float redirectEnd, Float fetchStart, Float dnsStart, Float dnsEnd, Float connectStart, Float connectEnd, Float tlsStart, Float requestStart, Float responseStart, Float responseEnd) {
27
- this.timeOrigin = timeOrigin;
28
- this.requestTime = requestTime;
29
- this.redirectStart = redirectStart;
30
- this.redirectEnd = redirectEnd;
31
- this.fetchStart = fetchStart;
32
- this.dnsStart = dnsStart;
33
- this.dnsEnd = dnsEnd;
34
- this.connectStart = connectStart;
35
- this.connectEnd = connectEnd;
36
- this.tlsStart = tlsStart;
37
- this.requestStart = requestStart;
38
- this.responseStart = responseStart;
39
- this.responseEnd = responseEnd;
40
- }
41
-
42
- private final Float timeOrigin;
43
-
44
- /**
45
- * Gets the timeOrigin property
46
- * @return Float value
47
- */
48
- public Float getTimeOrigin() {
49
- return this.timeOrigin;
50
- }
51
-
52
- private final Float requestTime;
53
-
54
- /**
55
- * Gets the requestTime property
56
- * @return Float value
57
- */
58
- public Float getRequestTime() {
59
- return this.requestTime;
60
- }
61
-
62
- private final Float redirectStart;
63
-
64
- /**
65
- * Gets the redirectStart property
66
- * @return Float value
67
- */
68
- public Float getRedirectStart() {
69
- return this.redirectStart;
70
- }
71
-
72
- private final Float redirectEnd;
73
-
74
- /**
75
- * Gets the redirectEnd property
76
- * @return Float value
77
- */
78
- public Float getRedirectEnd() {
79
- return this.redirectEnd;
80
- }
81
-
82
- private final Float fetchStart;
83
-
84
- /**
85
- * Gets the fetchStart property
86
- * @return Float value
87
- */
88
- public Float getFetchStart() {
89
- return this.fetchStart;
90
- }
91
-
92
- private final Float dnsStart;
93
-
94
- /**
95
- * Gets the dnsStart property
96
- * @return Float value
97
- */
98
- public Float getDnsStart() {
99
- return this.dnsStart;
100
- }
101
-
102
- private final Float dnsEnd;
103
-
104
- /**
105
- * Gets the dnsEnd property
106
- * @return Float value
107
- */
108
- public Float getDnsEnd() {
109
- return this.dnsEnd;
110
- }
111
-
112
- private final Float connectStart;
113
-
114
- /**
115
- * Gets the connectStart property
116
- * @return Float value
117
- */
118
- public Float getConnectStart() {
119
- return this.connectStart;
120
- }
121
-
122
- private final Float connectEnd;
123
-
124
- /**
125
- * Gets the connectEnd property
126
- * @return Float value
127
- */
128
- public Float getConnectEnd() {
129
- return this.connectEnd;
130
- }
131
-
132
- private final Float tlsStart;
133
-
134
- /**
135
- * Gets the tlsStart property
136
- * @return Float value
137
- */
138
- public Float getTlsStart() {
139
- return this.tlsStart;
140
- }
141
-
142
- private final Float requestStart;
143
-
144
- /**
145
- * Gets the requestStart property
146
- * @return Float value
147
- */
148
- public Float getRequestStart() {
149
- return this.requestStart;
150
- }
151
-
152
- private final Float responseStart;
153
-
154
- /**
155
- * Gets the responseStart property
156
- * @return Float value
157
- */
158
- public Float getResponseStart() {
159
- return this.responseStart;
160
- }
161
-
162
- private final Float responseEnd;
163
-
164
- /**
165
- * Gets the responseEnd property
166
- * @return Float value
167
- */
168
- public Float getResponseEnd() {
169
- return this.responseEnd;
170
- }
171
-
172
- /**
173
- * Converts this object to a map for use with BiDi protocol
174
- * @return Map representation of this object
175
- */
176
- public Map<String, Object> asMap() {
177
- Map<String, Object> toReturn = new HashMap<>();
178
- toReturn.put("timeOrigin", this.timeOrigin);
179
- toReturn.put("requestTime", this.requestTime);
180
- toReturn.put("redirectStart", this.redirectStart);
181
- toReturn.put("redirectEnd", this.redirectEnd);
182
- toReturn.put("fetchStart", this.fetchStart);
183
- toReturn.put("dnsStart", this.dnsStart);
184
- toReturn.put("dnsEnd", this.dnsEnd);
185
- toReturn.put("connectStart", this.connectStart);
186
- toReturn.put("connectEnd", this.connectEnd);
187
- toReturn.put("tlsStart", this.tlsStart);
188
- toReturn.put("requestStart", this.requestStart);
189
- toReturn.put("responseStart", this.responseStart);
190
- toReturn.put("responseEnd", this.responseEnd);
191
- return toReturn;
192
- }
193
-
194
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.Header command
20
- */
21
- public class Header {
22
-
23
- /**
24
- * Creates a new Header instance
25
- */
26
- public Header(String name, Network.BytesValue value) {
27
- this.name = name;
28
- this.value = value;
29
- }
30
-
31
- private final String name;
32
-
33
- /**
34
- * Gets the name property
35
- * @return String value
36
- */
37
- public String getName() {
38
- return this.name;
39
- }
40
-
41
- private final Network.BytesValue value;
42
-
43
- /**
44
- * Gets the value property
45
- * @return Network.BytesValue value
46
- */
47
- public Network.BytesValue getValue() {
48
- return this.value;
49
- }
50
-
51
- /**
52
- * Converts this object to a map for use with BiDi protocol
53
- * @return Map representation of this object
54
- */
55
- public Map<String, Object> asMap() {
56
- Map<String, Object> toReturn = new HashMap<>();
57
- toReturn.put("name", this.name);
58
- toReturn.put("value", this.value);
59
- return toReturn;
60
- }
61
-
62
- }
@@ -1,98 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- package org.openqa.selenium.bidirectional.network;
10
-
11
- import java.util.Map;
12
- import java.util.HashMap;
13
- import java.util.List;
14
- import java.util.ArrayList;
15
- import org.openqa.selenium.bidirectional.*;
16
-
17
- /**
18
- * Auto-generated class for WebDriver BiDi protocol
19
- * Represents parameters for network.Initiator command
20
- */
21
- public class Initiator {
22
-
23
- /**
24
- * Creates a new Initiator instance
25
- */
26
- public Initiator(Long columnNumber, Long lineNumber, String request, Script.StackTrace stackTrace, Object type) {
27
- this.columnNumber = columnNumber;
28
- this.lineNumber = lineNumber;
29
- this.request = request;
30
- this.stackTrace = stackTrace;
31
- this.type = type;
32
- }
33
-
34
- private final Long columnNumber;
35
-
36
- /**
37
- * Gets the columnNumber property
38
- * @return Long value
39
- */
40
- public Long getColumnNumber() {
41
- return this.columnNumber;
42
- }
43
-
44
- private final Long lineNumber;
45
-
46
- /**
47
- * Gets the lineNumber property
48
- * @return Long value
49
- */
50
- public Long getLineNumber() {
51
- return this.lineNumber;
52
- }
53
-
54
- private final String request;
55
-
56
- /**
57
- * Gets the request property
58
- * @return String value
59
- */
60
- public String getRequest() {
61
- return this.request;
62
- }
63
-
64
- private final Script.StackTrace stackTrace;
65
-
66
- /**
67
- * Gets the stackTrace property
68
- * @return Script.StackTrace value
69
- */
70
- public Script.StackTrace getStackTrace() {
71
- return this.stackTrace;
72
- }
73
-
74
- private final Object type;
75
-
76
- /**
77
- * Gets the type property
78
- * @return Object value
79
- */
80
- public Object getType() {
81
- return this.type;
82
- }
83
-
84
- /**
85
- * Converts this object to a map for use with BiDi protocol
86
- * @return Map representation of this object
87
- */
88
- public Map<String, Object> asMap() {
89
- Map<String, Object> toReturn = new HashMap<>();
90
- toReturn.put("columnNumber", this.columnNumber);
91
- toReturn.put("lineNumber", this.lineNumber);
92
- toReturn.put("request", this.request);
93
- toReturn.put("stackTrace", this.stackTrace);
94
- toReturn.put("type", this.type);
95
- return toReturn;
96
- }
97
-
98
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * !!! PLEASE DO NOT EDIT THIS FILE !!!
3
- *
4
- * This source file, even though checked in, is auto-generated based on the
5
- * current development within the WebDriver Bidi spec. Any changes to this
6
- * file need to come from the specification.
7
- */
8
-
9
- /**
10
- * Represents InterceptPhase in WebDriver BiDi protocol
11
- * as enum of "beforeRequestSent" / "responseStarted" / "authRequired"
12
- */
13
- public enum InterceptPhase {
14
- BEFOREREQUESTSENT("beforeRequestSent");
15
- RESPONSESTARTED("responseStarted");
16
- AUTHREQUIRED("authRequired");
17
-
18
- private final String value;
19
-
20
- InterceptPhase(String value) {
21
- this.value = value;
22
- }
23
-
24
- public String getValue() {
25
- return value;
26
- }
27
-
28
- public static InterceptPhase fromString(String text) {
29
- for (InterceptPhase interceptphase : InterceptPhase.values()) {
30
- if (interceptphase.value.equalsIgnoreCase(text)) {
31
- return interceptphase;
32
- }
33
- }
34
- throw new IllegalArgumentException("No InterceptPhase with value: " + text);
35
- }
36
- }