cddl2java 0.0.0 → 0.2.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.
- package/LICENSE +21 -0
- package/package.json +12 -8
- package/.release-it.ts +0 -10
- package/src/cli.ts +0 -42
- package/src/constants.ts +0 -25
- package/src/index.ts +0 -731
- package/src/templates.ts +0 -258
- package/src/utils.ts +0 -23
- package/tests/__fixtures__/AccessibilityValue.java +0 -71
- package/tests/__fixtures__/Browser/BrowserModule.java +0 -34
- package/tests/__fixtures__/Browser/ClientWindowInfo.java +0 -122
- package/tests/__fixtures__/Browser/ClientWindowNamedState.java +0 -50
- package/tests/__fixtures__/Browser/ClientWindowRectState.java +0 -98
- package/tests/__fixtures__/Browser/CreateUserContextResult.java +0 -16
- package/tests/__fixtures__/Browser/GetClientWindowsResult.java +0 -50
- package/tests/__fixtures__/Browser/GetUserContextsResult.java +0 -50
- package/tests/__fixtures__/Browser/RemoveUserContextParameters.java +0 -50
- package/tests/__fixtures__/Browser/SetClientWindowStateParameters.java +0 -50
- package/tests/__fixtures__/Browser/UserContextInfo.java +0 -50
- package/tests/__fixtures__/BrowsingContext/AccessibilityLocator.java +0 -62
- package/tests/__fixtures__/BrowsingContext/ActivateParameters.java +0 -50
- package/tests/__fixtures__/BrowsingContext/BaseNavigationInfo.java +0 -86
- package/tests/__fixtures__/BrowsingContext/BoxClipRectangle.java +0 -98
- package/tests/__fixtures__/BrowsingContext/BrowsingContextModule.java +0 -34
- package/tests/__fixtures__/BrowsingContext/CaptureScreenshotParameters.java +0 -86
- package/tests/__fixtures__/BrowsingContext/CaptureScreenshotResult.java +0 -50
- package/tests/__fixtures__/BrowsingContext/ClipRectangle.java +0 -17
- package/tests/__fixtures__/BrowsingContext/CloseParameters.java +0 -62
- package/tests/__fixtures__/BrowsingContext/ContextLocator.java +0 -62
- package/tests/__fixtures__/BrowsingContext/CreateParameters.java +0 -86
- package/tests/__fixtures__/BrowsingContext/CreateResult.java +0 -50
- package/tests/__fixtures__/BrowsingContext/CreateType.java +0 -35
- package/tests/__fixtures__/BrowsingContext/CssLocator.java +0 -62
- package/tests/__fixtures__/BrowsingContext/DownloadWillBeginParams.java +0 -50
- package/tests/__fixtures__/BrowsingContext/ElementClipRectangle.java +0 -62
- package/tests/__fixtures__/BrowsingContext/GetTreeParameters.java +0 -62
- package/tests/__fixtures__/BrowsingContext/GetTreeResult.java +0 -50
- package/tests/__fixtures__/BrowsingContext/HandleUserPromptParameters.java +0 -74
- package/tests/__fixtures__/BrowsingContext/HistoryUpdatedParameters.java +0 -62
- package/tests/__fixtures__/BrowsingContext/ImageFormat.java +0 -62
- package/tests/__fixtures__/BrowsingContext/Info.java +0 -122
- package/tests/__fixtures__/BrowsingContext/InnerTextLocator.java +0 -98
- package/tests/__fixtures__/BrowsingContext/LocateNodesParameters.java +0 -98
- package/tests/__fixtures__/BrowsingContext/LocateNodesResult.java +0 -50
- package/tests/__fixtures__/BrowsingContext/Locator.java +0 -20
- package/tests/__fixtures__/BrowsingContext/NavigateParameters.java +0 -74
- package/tests/__fixtures__/BrowsingContext/NavigateResult.java +0 -62
- package/tests/__fixtures__/BrowsingContext/PrintMarginParameters.java +0 -86
- package/tests/__fixtures__/BrowsingContext/PrintPageParameters.java +0 -62
- package/tests/__fixtures__/BrowsingContext/PrintParameters.java +0 -134
- package/tests/__fixtures__/BrowsingContext/PrintResult.java +0 -50
- package/tests/__fixtures__/BrowsingContext/ReadinessState.java +0 -36
- package/tests/__fixtures__/BrowsingContext/ReloadParameters.java +0 -74
- package/tests/__fixtures__/BrowsingContext/SetViewportParameters.java +0 -86
- package/tests/__fixtures__/BrowsingContext/TraverseHistoryParameters.java +0 -62
- package/tests/__fixtures__/BrowsingContext/TraverseHistoryResult.java +0 -28
- package/tests/__fixtures__/BrowsingContext/UserPromptClosedParameters.java +0 -86
- package/tests/__fixtures__/BrowsingContext/UserPromptOpenedParameters.java +0 -98
- package/tests/__fixtures__/BrowsingContext/UserPromptType.java +0 -37
- package/tests/__fixtures__/BrowsingContext/Viewport.java +0 -62
- package/tests/__fixtures__/BrowsingContext/XPathLocator.java +0 -62
- package/tests/__fixtures__/ContextValue.java +0 -55
- package/tests/__fixtures__/EmptyResult.java +0 -21
- package/tests/__fixtures__/Emulation/EmulationModule.java +0 -34
- package/tests/__fixtures__/Emulation/GeolocationCoordinates.java +0 -122
- package/tests/__fixtures__/Emulation/SetGeolocationOverrideParameters.java +0 -74
- package/tests/__fixtures__/Input/ElementOrigin.java +0 -62
- package/tests/__fixtures__/Input/FileDialogInfo.java +0 -74
- package/tests/__fixtures__/Input/InputModule.java +0 -34
- package/tests/__fixtures__/Input/KeyDownAction.java +0 -62
- package/tests/__fixtures__/Input/KeySourceAction.java +0 -18
- package/tests/__fixtures__/Input/KeySourceActions.java +0 -74
- package/tests/__fixtures__/Input/KeyUpAction.java +0 -62
- package/tests/__fixtures__/Input/NoneSourceAction.java +0 -16
- package/tests/__fixtures__/Input/NoneSourceActions.java +0 -74
- package/tests/__fixtures__/Input/Origin.java +0 -36
- package/tests/__fixtures__/Input/PauseAction.java +0 -62
- package/tests/__fixtures__/Input/PerformActionsParameters.java +0 -62
- package/tests/__fixtures__/Input/PointerCommonProperties.java +0 -122
- package/tests/__fixtures__/Input/PointerDownAction.java +0 -62
- package/tests/__fixtures__/Input/PointerMoveAction.java +0 -98
- package/tests/__fixtures__/Input/PointerParameters.java +0 -50
- package/tests/__fixtures__/Input/PointerSourceAction.java +0 -19
- package/tests/__fixtures__/Input/PointerSourceActions.java +0 -86
- package/tests/__fixtures__/Input/PointerType.java +0 -36
- package/tests/__fixtures__/Input/PointerUpAction.java +0 -62
- package/tests/__fixtures__/Input/ReleaseActionsParameters.java +0 -50
- package/tests/__fixtures__/Input/SetFilesParameters.java +0 -74
- package/tests/__fixtures__/Input/SourceActions.java +0 -19
- package/tests/__fixtures__/Input/WheelScrollAction.java +0 -122
- package/tests/__fixtures__/Input/WheelSourceAction.java +0 -17
- package/tests/__fixtures__/Input/WheelSourceActions.java +0 -74
- package/tests/__fixtures__/Log/BaseLogEntry.java +0 -98
- package/tests/__fixtures__/Log/ConsoleLogEntry.java +0 -74
- package/tests/__fixtures__/Log/Entry.java +0 -18
- package/tests/__fixtures__/Log/GenericLogEntry.java +0 -50
- package/tests/__fixtures__/Log/JavascriptLogEntry.java +0 -50
- package/tests/__fixtures__/Log/Level.java +0 -37
- package/tests/__fixtures__/Log/LogModule.java +0 -34
- package/tests/__fixtures__/Network/AddInterceptParameters.java +0 -74
- package/tests/__fixtures__/Network/AddInterceptResult.java +0 -50
- package/tests/__fixtures__/Network/AuthChallenge.java +0 -62
- package/tests/__fixtures__/Network/AuthCredentials.java +0 -74
- package/tests/__fixtures__/Network/AuthRequiredParameters.java +0 -50
- package/tests/__fixtures__/Network/Base64Value.java +0 -62
- package/tests/__fixtures__/Network/BaseParameters.java +0 -122
- package/tests/__fixtures__/Network/BeforeRequestSentParameters.java +0 -50
- package/tests/__fixtures__/Network/BytesValue.java +0 -17
- package/tests/__fixtures__/Network/ContinueRequestParameters.java +0 -110
- package/tests/__fixtures__/Network/ContinueResponseParameters.java +0 -110
- package/tests/__fixtures__/Network/ContinueWithAuthCredentials.java +0 -62
- package/tests/__fixtures__/Network/ContinueWithAuthNoCredentials.java +0 -50
- package/tests/__fixtures__/Network/ContinueWithAuthParameters.java +0 -50
- package/tests/__fixtures__/Network/Cookie.java +0 -146
- package/tests/__fixtures__/Network/CookieHeader.java +0 -62
- package/tests/__fixtures__/Network/FailRequestParameters.java +0 -50
- package/tests/__fixtures__/Network/FetchErrorParameters.java +0 -50
- package/tests/__fixtures__/Network/FetchTimingInfo.java +0 -194
- package/tests/__fixtures__/Network/Header.java +0 -62
- package/tests/__fixtures__/Network/Initiator.java +0 -98
- package/tests/__fixtures__/Network/InterceptPhase.java +0 -36
- package/tests/__fixtures__/Network/NetworkModule.java +0 -34
- package/tests/__fixtures__/Network/ProvideResponseParameters.java +0 -110
- package/tests/__fixtures__/Network/RemoveInterceptParameters.java +0 -50
- package/tests/__fixtures__/Network/RequestData.java +0 -158
- package/tests/__fixtures__/Network/ResponseCompletedParameters.java +0 -50
- package/tests/__fixtures__/Network/ResponseContent.java +0 -50
- package/tests/__fixtures__/Network/ResponseData.java +0 -182
- package/tests/__fixtures__/Network/ResponseStartedParameters.java +0 -50
- package/tests/__fixtures__/Network/SameSite.java +0 -36
- package/tests/__fixtures__/Network/SetCacheBehaviorParameters.java +0 -62
- package/tests/__fixtures__/Network/SetCookieHeader.java +0 -146
- package/tests/__fixtures__/Network/StringValue.java +0 -62
- package/tests/__fixtures__/Network/UrlPattern.java +0 -17
- package/tests/__fixtures__/Network/UrlPatternPattern.java +0 -110
- package/tests/__fixtures__/Network/UrlPatternString.java +0 -62
- package/tests/__fixtures__/Script/AddPreloadScriptParameters.java +0 -98
- package/tests/__fixtures__/Script/AddPreloadScriptResult.java +0 -50
- package/tests/__fixtures__/Script/ArrayBufferRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/ArrayLocalValue.java +0 -62
- package/tests/__fixtures__/Script/ArrayRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/AudioWorkletRealmInfo.java +0 -50
- package/tests/__fixtures__/Script/BaseRealmInfo.java +0 -62
- package/tests/__fixtures__/Script/BigIntValue.java +0 -62
- package/tests/__fixtures__/Script/BooleanValue.java +0 -62
- package/tests/__fixtures__/Script/CallFunctionParameters.java +0 -134
- package/tests/__fixtures__/Script/ChannelProperties.java +0 -74
- package/tests/__fixtures__/Script/ChannelValue.java +0 -62
- package/tests/__fixtures__/Script/ContextTarget.java +0 -62
- package/tests/__fixtures__/Script/DateLocalValue.java +0 -62
- package/tests/__fixtures__/Script/DedicatedWorkerRealmInfo.java +0 -62
- package/tests/__fixtures__/Script/DisownParameters.java +0 -62
- package/tests/__fixtures__/Script/ErrorRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/EvaluateParameters.java +0 -110
- package/tests/__fixtures__/Script/EvaluateResult.java +0 -17
- package/tests/__fixtures__/Script/EvaluateResultException.java +0 -74
- package/tests/__fixtures__/Script/EvaluateResultSuccess.java +0 -74
- package/tests/__fixtures__/Script/ExceptionDetails.java +0 -98
- package/tests/__fixtures__/Script/FunctionRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/GeneratorRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/GetRealmsParameters.java +0 -62
- package/tests/__fixtures__/Script/GetRealmsResult.java +0 -50
- package/tests/__fixtures__/Script/HTMLCollectionRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/LocalValue.java +0 -24
- package/tests/__fixtures__/Script/MapLocalValue.java +0 -62
- package/tests/__fixtures__/Script/MapRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/MessageParameters.java +0 -74
- package/tests/__fixtures__/Script/NodeListRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/NodeProperties.java +0 -146
- package/tests/__fixtures__/Script/NodeRemoteValue.java +0 -98
- package/tests/__fixtures__/Script/NullValue.java +0 -50
- package/tests/__fixtures__/Script/NumberValue.java +0 -62
- package/tests/__fixtures__/Script/ObjectLocalValue.java +0 -62
- package/tests/__fixtures__/Script/ObjectRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/PaintWorkletRealmInfo.java +0 -50
- package/tests/__fixtures__/Script/PrimitiveProtocolValue.java +0 -21
- package/tests/__fixtures__/Script/PromiseRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/ProxyRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/RealmDestroyedParameters.java +0 -50
- package/tests/__fixtures__/Script/RealmInfo.java +0 -23
- package/tests/__fixtures__/Script/RealmTarget.java +0 -50
- package/tests/__fixtures__/Script/RealmType.java +0 -41
- package/tests/__fixtures__/Script/RegExpLocalValue.java +0 -62
- package/tests/__fixtures__/Script/RegExpValue.java +0 -62
- package/tests/__fixtures__/Script/RemoteObjectReference.java +0 -62
- package/tests/__fixtures__/Script/RemoteReference.java +0 -17
- package/tests/__fixtures__/Script/RemoteValue.java +0 -36
- package/tests/__fixtures__/Script/RemovePreloadScriptParameters.java +0 -50
- package/tests/__fixtures__/Script/ResultOwnership.java +0 -35
- package/tests/__fixtures__/Script/ScriptModule.java +0 -34
- package/tests/__fixtures__/Script/SerializationOptions.java +0 -74
- package/tests/__fixtures__/Script/ServiceWorkerRealmInfo.java +0 -50
- package/tests/__fixtures__/Script/SetLocalValue.java +0 -62
- package/tests/__fixtures__/Script/SetRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/SharedReference.java +0 -62
- package/tests/__fixtures__/Script/SharedWorkerRealmInfo.java +0 -50
- package/tests/__fixtures__/Script/Source.java +0 -62
- package/tests/__fixtures__/Script/SpecialNumber.java +0 -37
- package/tests/__fixtures__/Script/StackFrame.java +0 -86
- package/tests/__fixtures__/Script/StackTrace.java +0 -50
- package/tests/__fixtures__/Script/StringValue.java +0 -62
- package/tests/__fixtures__/Script/SymbolRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/Target.java +0 -17
- package/tests/__fixtures__/Script/TypedArrayRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/UndefinedValue.java +0 -50
- package/tests/__fixtures__/Script/WeakMapRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/WeakSetRemoteValue.java +0 -74
- package/tests/__fixtures__/Script/WindowProxyProperties.java +0 -50
- package/tests/__fixtures__/Script/WindowProxyRemoteValue.java +0 -86
- package/tests/__fixtures__/Script/WindowRealmInfo.java +0 -74
- package/tests/__fixtures__/Script/WorkerRealmInfo.java +0 -50
- package/tests/__fixtures__/Script/WorkletRealmInfo.java +0 -50
- package/tests/__fixtures__/Session/Capabilities.java +0 -55
- package/tests/__fixtures__/Session/CapabilitiesRequest.java +0 -62
- package/tests/__fixtures__/Session/CapabilityRequest.java +0 -110
- package/tests/__fixtures__/Session/NewParameters.java +0 -50
- package/tests/__fixtures__/Session/NewResult.java +0 -62
- package/tests/__fixtures__/Session/ProxyConfiguration.java +0 -20
- package/tests/__fixtures__/Session/SessionModule.java +0 -34
- package/tests/__fixtures__/Session/StatusResult.java +0 -62
- package/tests/__fixtures__/Session/SubscribeResult.java +0 -50
- package/tests/__fixtures__/Session/SubscriptionRequest.java +0 -74
- package/tests/__fixtures__/Session/UnsubscribeByAttributesRequest.java +0 -62
- package/tests/__fixtures__/Session/UnsubscribeByIDRequest.java +0 -50
- package/tests/__fixtures__/Session/UnsubscribeParameters.java +0 -17
- package/tests/__fixtures__/Session/UserPromptHandler.java +0 -110
- package/tests/__fixtures__/Session/UserPromptHandlerType.java +0 -36
- package/tests/__fixtures__/Storage/BrowsingContextPartitionDescriptor.java +0 -62
- package/tests/__fixtures__/Storage/CookieFilter.java +0 -146
- package/tests/__fixtures__/Storage/DeleteCookiesParameters.java +0 -62
- package/tests/__fixtures__/Storage/DeleteCookiesResult.java +0 -50
- package/tests/__fixtures__/Storage/GetCookiesParameters.java +0 -62
- package/tests/__fixtures__/Storage/GetCookiesResult.java +0 -62
- package/tests/__fixtures__/Storage/PartialCookie.java +0 -134
- package/tests/__fixtures__/Storage/PartitionDescriptor.java +0 -17
- package/tests/__fixtures__/Storage/PartitionKey.java +0 -62
- package/tests/__fixtures__/Storage/SetCookieParameters.java +0 -62
- package/tests/__fixtures__/Storage/SetCookieResult.java +0 -50
- package/tests/__fixtures__/Storage/StorageKeyPartitionDescriptor.java +0 -74
- package/tests/__fixtures__/Storage/StorageModule.java +0 -34
- package/tests/__fixtures__/WebExtension/ExtensionArchivePath.java +0 -62
- package/tests/__fixtures__/WebExtension/ExtensionBase64Encoded.java +0 -62
- package/tests/__fixtures__/WebExtension/ExtensionData.java +0 -18
- package/tests/__fixtures__/WebExtension/ExtensionPath.java +0 -62
- package/tests/__fixtures__/WebExtension/InstallParameters.java +0 -50
- package/tests/__fixtures__/WebExtension/InstallResult.java +0 -50
- package/tests/__fixtures__/WebExtension/UninstallParameters.java +0 -50
- package/tests/__fixtures__/WebExtension/WebExtensionModule.java +0 -34
- package/tests/__output__/AccessibilityValue.java +0 -71
- package/tests/__output__/Browser/BrowserModule.java +0 -34
- package/tests/__output__/Browser/ClientWindowInfo.java +0 -122
- package/tests/__output__/Browser/ClientWindowNamedState.java +0 -50
- package/tests/__output__/Browser/ClientWindowRectState.java +0 -98
- package/tests/__output__/Browser/CreateUserContextResult.java +0 -16
- package/tests/__output__/Browser/GetClientWindowsResult.java +0 -50
- package/tests/__output__/Browser/GetUserContextsResult.java +0 -50
- package/tests/__output__/Browser/RemoveUserContextParameters.java +0 -50
- package/tests/__output__/Browser/SetClientWindowStateParameters.java +0 -50
- package/tests/__output__/Browser/UserContextInfo.java +0 -50
- package/tests/__output__/BrowsingContext/AccessibilityLocator.java +0 -62
- package/tests/__output__/BrowsingContext/ActivateParameters.java +0 -50
- package/tests/__output__/BrowsingContext/BaseNavigationInfo.java +0 -86
- package/tests/__output__/BrowsingContext/BoxClipRectangle.java +0 -98
- package/tests/__output__/BrowsingContext/BrowsingContextModule.java +0 -34
- package/tests/__output__/BrowsingContext/CaptureScreenshotParameters.java +0 -86
- package/tests/__output__/BrowsingContext/CaptureScreenshotResult.java +0 -50
- package/tests/__output__/BrowsingContext/ClipRectangle.java +0 -17
- package/tests/__output__/BrowsingContext/CloseParameters.java +0 -62
- package/tests/__output__/BrowsingContext/ContextLocator.java +0 -62
- package/tests/__output__/BrowsingContext/CreateParameters.java +0 -86
- package/tests/__output__/BrowsingContext/CreateResult.java +0 -50
- package/tests/__output__/BrowsingContext/CreateType.java +0 -35
- package/tests/__output__/BrowsingContext/CssLocator.java +0 -62
- package/tests/__output__/BrowsingContext/DownloadWillBeginParams.java +0 -50
- package/tests/__output__/BrowsingContext/ElementClipRectangle.java +0 -62
- package/tests/__output__/BrowsingContext/GetTreeParameters.java +0 -62
- package/tests/__output__/BrowsingContext/GetTreeResult.java +0 -50
- package/tests/__output__/BrowsingContext/HandleUserPromptParameters.java +0 -74
- package/tests/__output__/BrowsingContext/HistoryUpdatedParameters.java +0 -62
- package/tests/__output__/BrowsingContext/ImageFormat.java +0 -62
- package/tests/__output__/BrowsingContext/Info.java +0 -122
- package/tests/__output__/BrowsingContext/InnerTextLocator.java +0 -98
- package/tests/__output__/BrowsingContext/LocateNodesParameters.java +0 -98
- package/tests/__output__/BrowsingContext/LocateNodesResult.java +0 -50
- package/tests/__output__/BrowsingContext/Locator.java +0 -20
- package/tests/__output__/BrowsingContext/NavigateParameters.java +0 -74
- package/tests/__output__/BrowsingContext/NavigateResult.java +0 -62
- package/tests/__output__/BrowsingContext/PrintMarginParameters.java +0 -86
- package/tests/__output__/BrowsingContext/PrintPageParameters.java +0 -62
- package/tests/__output__/BrowsingContext/PrintParameters.java +0 -134
- package/tests/__output__/BrowsingContext/PrintResult.java +0 -50
- package/tests/__output__/BrowsingContext/ReadinessState.java +0 -36
- package/tests/__output__/BrowsingContext/ReloadParameters.java +0 -74
- package/tests/__output__/BrowsingContext/SetViewportParameters.java +0 -86
- package/tests/__output__/BrowsingContext/TraverseHistoryParameters.java +0 -62
- package/tests/__output__/BrowsingContext/TraverseHistoryResult.java +0 -28
- package/tests/__output__/BrowsingContext/UserPromptClosedParameters.java +0 -86
- package/tests/__output__/BrowsingContext/UserPromptOpenedParameters.java +0 -98
- package/tests/__output__/BrowsingContext/UserPromptType.java +0 -37
- package/tests/__output__/BrowsingContext/Viewport.java +0 -62
- package/tests/__output__/BrowsingContext/XPathLocator.java +0 -62
- package/tests/__output__/ContextValue.java +0 -55
- package/tests/__output__/EmptyResult.java +0 -21
- package/tests/__output__/Emulation/EmulationModule.java +0 -34
- package/tests/__output__/Emulation/GeolocationCoordinates.java +0 -122
- package/tests/__output__/Emulation/SetGeolocationOverrideParameters.java +0 -74
- package/tests/__output__/Input/ElementOrigin.java +0 -62
- package/tests/__output__/Input/FileDialogInfo.java +0 -74
- package/tests/__output__/Input/InputModule.java +0 -34
- package/tests/__output__/Input/KeyDownAction.java +0 -62
- package/tests/__output__/Input/KeySourceAction.java +0 -18
- package/tests/__output__/Input/KeySourceActions.java +0 -74
- package/tests/__output__/Input/KeyUpAction.java +0 -62
- package/tests/__output__/Input/NoneSourceAction.java +0 -16
- package/tests/__output__/Input/NoneSourceActions.java +0 -74
- package/tests/__output__/Input/Origin.java +0 -36
- package/tests/__output__/Input/PauseAction.java +0 -62
- package/tests/__output__/Input/PerformActionsParameters.java +0 -62
- package/tests/__output__/Input/PointerCommonProperties.java +0 -122
- package/tests/__output__/Input/PointerDownAction.java +0 -62
- package/tests/__output__/Input/PointerMoveAction.java +0 -98
- package/tests/__output__/Input/PointerParameters.java +0 -50
- package/tests/__output__/Input/PointerSourceAction.java +0 -19
- package/tests/__output__/Input/PointerSourceActions.java +0 -86
- package/tests/__output__/Input/PointerType.java +0 -36
- package/tests/__output__/Input/PointerUpAction.java +0 -62
- package/tests/__output__/Input/ReleaseActionsParameters.java +0 -50
- package/tests/__output__/Input/SetFilesParameters.java +0 -74
- package/tests/__output__/Input/SourceActions.java +0 -19
- package/tests/__output__/Input/WheelScrollAction.java +0 -122
- package/tests/__output__/Input/WheelSourceAction.java +0 -17
- package/tests/__output__/Input/WheelSourceActions.java +0 -74
- package/tests/__output__/Log/BaseLogEntry.java +0 -98
- package/tests/__output__/Log/ConsoleLogEntry.java +0 -74
- package/tests/__output__/Log/Entry.java +0 -18
- package/tests/__output__/Log/GenericLogEntry.java +0 -50
- package/tests/__output__/Log/JavascriptLogEntry.java +0 -50
- package/tests/__output__/Log/Level.java +0 -37
- package/tests/__output__/Log/LogModule.java +0 -34
- package/tests/__output__/Network/AddInterceptParameters.java +0 -74
- package/tests/__output__/Network/AddInterceptResult.java +0 -50
- package/tests/__output__/Network/AuthChallenge.java +0 -62
- package/tests/__output__/Network/AuthCredentials.java +0 -74
- package/tests/__output__/Network/AuthRequiredParameters.java +0 -50
- package/tests/__output__/Network/Base64Value.java +0 -62
- package/tests/__output__/Network/BaseParameters.java +0 -122
- package/tests/__output__/Network/BeforeRequestSentParameters.java +0 -50
- package/tests/__output__/Network/BytesValue.java +0 -17
- package/tests/__output__/Network/ContinueRequestParameters.java +0 -110
- package/tests/__output__/Network/ContinueResponseParameters.java +0 -110
- package/tests/__output__/Network/ContinueWithAuthCredentials.java +0 -62
- package/tests/__output__/Network/ContinueWithAuthNoCredentials.java +0 -50
- package/tests/__output__/Network/ContinueWithAuthParameters.java +0 -50
- package/tests/__output__/Network/Cookie.java +0 -146
- package/tests/__output__/Network/CookieHeader.java +0 -62
- package/tests/__output__/Network/FailRequestParameters.java +0 -50
- package/tests/__output__/Network/FetchErrorParameters.java +0 -50
- package/tests/__output__/Network/FetchTimingInfo.java +0 -194
- package/tests/__output__/Network/Header.java +0 -62
- package/tests/__output__/Network/Initiator.java +0 -98
- package/tests/__output__/Network/InterceptPhase.java +0 -36
- package/tests/__output__/Network/NetworkModule.java +0 -34
- package/tests/__output__/Network/ProvideResponseParameters.java +0 -110
- package/tests/__output__/Network/RemoveInterceptParameters.java +0 -50
- package/tests/__output__/Network/RequestData.java +0 -158
- package/tests/__output__/Network/ResponseCompletedParameters.java +0 -50
- package/tests/__output__/Network/ResponseContent.java +0 -50
- package/tests/__output__/Network/ResponseData.java +0 -182
- package/tests/__output__/Network/ResponseStartedParameters.java +0 -50
- package/tests/__output__/Network/SameSite.java +0 -36
- package/tests/__output__/Network/SetCacheBehaviorParameters.java +0 -62
- package/tests/__output__/Network/SetCookieHeader.java +0 -146
- package/tests/__output__/Network/StringValue.java +0 -62
- package/tests/__output__/Network/UrlPattern.java +0 -17
- package/tests/__output__/Network/UrlPatternPattern.java +0 -110
- package/tests/__output__/Network/UrlPatternString.java +0 -62
- package/tests/__output__/Script/AddPreloadScriptParameters.java +0 -98
- package/tests/__output__/Script/AddPreloadScriptResult.java +0 -50
- package/tests/__output__/Script/ArrayBufferRemoteValue.java +0 -74
- package/tests/__output__/Script/ArrayLocalValue.java +0 -62
- package/tests/__output__/Script/ArrayRemoteValue.java +0 -86
- package/tests/__output__/Script/AudioWorkletRealmInfo.java +0 -50
- package/tests/__output__/Script/BaseRealmInfo.java +0 -62
- package/tests/__output__/Script/BigIntValue.java +0 -62
- package/tests/__output__/Script/BooleanValue.java +0 -62
- package/tests/__output__/Script/CallFunctionParameters.java +0 -134
- package/tests/__output__/Script/ChannelProperties.java +0 -74
- package/tests/__output__/Script/ChannelValue.java +0 -62
- package/tests/__output__/Script/ContextTarget.java +0 -62
- package/tests/__output__/Script/DateLocalValue.java +0 -62
- package/tests/__output__/Script/DedicatedWorkerRealmInfo.java +0 -62
- package/tests/__output__/Script/DisownParameters.java +0 -62
- package/tests/__output__/Script/ErrorRemoteValue.java +0 -74
- package/tests/__output__/Script/EvaluateParameters.java +0 -110
- package/tests/__output__/Script/EvaluateResult.java +0 -17
- package/tests/__output__/Script/EvaluateResultException.java +0 -74
- package/tests/__output__/Script/EvaluateResultSuccess.java +0 -74
- package/tests/__output__/Script/ExceptionDetails.java +0 -98
- package/tests/__output__/Script/FunctionRemoteValue.java +0 -74
- package/tests/__output__/Script/GeneratorRemoteValue.java +0 -74
- package/tests/__output__/Script/GetRealmsParameters.java +0 -62
- package/tests/__output__/Script/GetRealmsResult.java +0 -50
- package/tests/__output__/Script/HTMLCollectionRemoteValue.java +0 -86
- package/tests/__output__/Script/LocalValue.java +0 -24
- package/tests/__output__/Script/MapLocalValue.java +0 -62
- package/tests/__output__/Script/MapRemoteValue.java +0 -86
- package/tests/__output__/Script/MessageParameters.java +0 -74
- package/tests/__output__/Script/NodeListRemoteValue.java +0 -86
- package/tests/__output__/Script/NodeProperties.java +0 -146
- package/tests/__output__/Script/NodeRemoteValue.java +0 -98
- package/tests/__output__/Script/NullValue.java +0 -50
- package/tests/__output__/Script/NumberValue.java +0 -62
- package/tests/__output__/Script/ObjectLocalValue.java +0 -62
- package/tests/__output__/Script/ObjectRemoteValue.java +0 -86
- package/tests/__output__/Script/PaintWorkletRealmInfo.java +0 -50
- package/tests/__output__/Script/PrimitiveProtocolValue.java +0 -21
- package/tests/__output__/Script/PromiseRemoteValue.java +0 -74
- package/tests/__output__/Script/ProxyRemoteValue.java +0 -74
- package/tests/__output__/Script/RealmDestroyedParameters.java +0 -50
- package/tests/__output__/Script/RealmInfo.java +0 -23
- package/tests/__output__/Script/RealmTarget.java +0 -50
- package/tests/__output__/Script/RealmType.java +0 -41
- package/tests/__output__/Script/RegExpLocalValue.java +0 -62
- package/tests/__output__/Script/RegExpValue.java +0 -62
- package/tests/__output__/Script/RemoteObjectReference.java +0 -62
- package/tests/__output__/Script/RemoteReference.java +0 -17
- package/tests/__output__/Script/RemoteValue.java +0 -36
- package/tests/__output__/Script/RemovePreloadScriptParameters.java +0 -50
- package/tests/__output__/Script/ResultOwnership.java +0 -35
- package/tests/__output__/Script/ScriptModule.java +0 -34
- package/tests/__output__/Script/SerializationOptions.java +0 -74
- package/tests/__output__/Script/ServiceWorkerRealmInfo.java +0 -50
- package/tests/__output__/Script/SetLocalValue.java +0 -62
- package/tests/__output__/Script/SetRemoteValue.java +0 -86
- package/tests/__output__/Script/SharedReference.java +0 -62
- package/tests/__output__/Script/SharedWorkerRealmInfo.java +0 -50
- package/tests/__output__/Script/Source.java +0 -62
- package/tests/__output__/Script/SpecialNumber.java +0 -37
- package/tests/__output__/Script/StackFrame.java +0 -86
- package/tests/__output__/Script/StackTrace.java +0 -50
- package/tests/__output__/Script/StringValue.java +0 -62
- package/tests/__output__/Script/SymbolRemoteValue.java +0 -74
- package/tests/__output__/Script/Target.java +0 -17
- package/tests/__output__/Script/TypedArrayRemoteValue.java +0 -74
- package/tests/__output__/Script/UndefinedValue.java +0 -50
- package/tests/__output__/Script/WeakMapRemoteValue.java +0 -74
- package/tests/__output__/Script/WeakSetRemoteValue.java +0 -74
- package/tests/__output__/Script/WindowProxyProperties.java +0 -50
- package/tests/__output__/Script/WindowProxyRemoteValue.java +0 -86
- package/tests/__output__/Script/WindowRealmInfo.java +0 -74
- package/tests/__output__/Script/WorkerRealmInfo.java +0 -50
- package/tests/__output__/Script/WorkletRealmInfo.java +0 -50
- package/tests/__output__/Session/Capabilities.java +0 -55
- package/tests/__output__/Session/CapabilitiesRequest.java +0 -62
- package/tests/__output__/Session/CapabilityRequest.java +0 -110
- package/tests/__output__/Session/NewParameters.java +0 -50
- package/tests/__output__/Session/NewResult.java +0 -62
- package/tests/__output__/Session/ProxyConfiguration.java +0 -20
- package/tests/__output__/Session/SessionModule.java +0 -34
- package/tests/__output__/Session/StatusResult.java +0 -62
- package/tests/__output__/Session/SubscribeResult.java +0 -50
- package/tests/__output__/Session/SubscriptionRequest.java +0 -74
- package/tests/__output__/Session/UnsubscribeByAttributesRequest.java +0 -62
- package/tests/__output__/Session/UnsubscribeByIDRequest.java +0 -50
- package/tests/__output__/Session/UnsubscribeParameters.java +0 -17
- package/tests/__output__/Session/UserPromptHandler.java +0 -110
- package/tests/__output__/Session/UserPromptHandlerType.java +0 -36
- package/tests/__output__/Storage/BrowsingContextPartitionDescriptor.java +0 -62
- package/tests/__output__/Storage/CookieFilter.java +0 -146
- package/tests/__output__/Storage/DeleteCookiesParameters.java +0 -62
- package/tests/__output__/Storage/DeleteCookiesResult.java +0 -50
- package/tests/__output__/Storage/GetCookiesParameters.java +0 -62
- package/tests/__output__/Storage/GetCookiesResult.java +0 -62
- package/tests/__output__/Storage/PartialCookie.java +0 -134
- package/tests/__output__/Storage/PartitionDescriptor.java +0 -17
- package/tests/__output__/Storage/PartitionKey.java +0 -62
- package/tests/__output__/Storage/SetCookieParameters.java +0 -62
- package/tests/__output__/Storage/SetCookieResult.java +0 -50
- package/tests/__output__/Storage/StorageKeyPartitionDescriptor.java +0 -74
- package/tests/__output__/Storage/StorageModule.java +0 -34
- package/tests/__output__/WebExtension/ExtensionArchivePath.java +0 -62
- package/tests/__output__/WebExtension/ExtensionBase64Encoded.java +0 -62
- package/tests/__output__/WebExtension/ExtensionData.java +0 -18
- package/tests/__output__/WebExtension/ExtensionPath.java +0 -62
- package/tests/__output__/WebExtension/InstallParameters.java +0 -50
- package/tests/__output__/WebExtension/InstallResult.java +0 -50
- package/tests/__output__/WebExtension/UninstallParameters.java +0 -50
- package/tests/__output__/WebExtension/WebExtensionModule.java +0 -34
- package/tests/bidi.cddl +0 -2511
- package/tests/mod.test.ts +0 -65
- package/tsconfig.json +0 -11
|
@@ -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
|
-
}
|
|
@@ -1,34 +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 org.openqa.selenium.bidi.Command;
|
|
14
|
-
import org.openqa.selenium.bidirectional.EmptyResult;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Auto generated class for running WebDriver BiDi network commands in Java
|
|
18
|
-
*/
|
|
19
|
-
public class NetworkModule {
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* WebDriver Bidi command to send command method "network.setCacheBehavior" with parameters.
|
|
23
|
-
* @url https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior
|
|
24
|
-
* @param parameters `SetCacheBehaviorParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior | command parameter}
|
|
25
|
-
* @return Command object with result type for network.setCacheBehavior
|
|
26
|
-
*/
|
|
27
|
-
public Command<org.openqa.selenium.bidirectional.EmptyResult> SetCacheBehavior (SetCacheBehaviorParameters parameters) {
|
|
28
|
-
return new Command<>(
|
|
29
|
-
"network.setCacheBehavior",
|
|
30
|
-
parameters.asMap(),
|
|
31
|
-
org.openqa.selenium.bidirectional.EmptyResult.class
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,110 +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.ProvideResponseParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class ProvideResponseParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new ProvideResponseParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public ProvideResponseParameters(String request, Network.BytesValue body, List<Network.SetCookieHeader> cookies, List<Network.Header> headers, String reasonPhrase, Long statusCode) {
|
|
27
|
-
this.request = request;
|
|
28
|
-
this.body = body;
|
|
29
|
-
this.cookies = cookies;
|
|
30
|
-
this.headers = headers;
|
|
31
|
-
this.reasonPhrase = reasonPhrase;
|
|
32
|
-
this.statusCode = statusCode;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
private final String request;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Gets the request property
|
|
39
|
-
* @return String value
|
|
40
|
-
*/
|
|
41
|
-
public String getRequest() {
|
|
42
|
-
return this.request;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
private final Network.BytesValue body;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Gets the body property
|
|
49
|
-
* @return Network.BytesValue value
|
|
50
|
-
*/
|
|
51
|
-
public Network.BytesValue getBody() {
|
|
52
|
-
return this.body;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
private final List<Network.SetCookieHeader> cookies;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Gets the cookies property
|
|
59
|
-
* @return List<Network.SetCookieHeader> value
|
|
60
|
-
*/
|
|
61
|
-
public List<Network.SetCookieHeader> getCookies() {
|
|
62
|
-
return this.cookies;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
private final List<Network.Header> headers;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Gets the headers property
|
|
69
|
-
* @return List<Network.Header> value
|
|
70
|
-
*/
|
|
71
|
-
public List<Network.Header> getHeaders() {
|
|
72
|
-
return this.headers;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
private final String reasonPhrase;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Gets the reasonPhrase property
|
|
79
|
-
* @return String value
|
|
80
|
-
*/
|
|
81
|
-
public String getReasonPhrase() {
|
|
82
|
-
return this.reasonPhrase;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private final Long statusCode;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Gets the statusCode property
|
|
89
|
-
* @return Long value
|
|
90
|
-
*/
|
|
91
|
-
public Long getStatusCode() {
|
|
92
|
-
return this.statusCode;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Converts this object to a map for use with BiDi protocol
|
|
97
|
-
* @return Map representation of this object
|
|
98
|
-
*/
|
|
99
|
-
public Map<String, Object> asMap() {
|
|
100
|
-
Map<String, Object> toReturn = new HashMap<>();
|
|
101
|
-
toReturn.put("request", this.request);
|
|
102
|
-
toReturn.put("body", this.body);
|
|
103
|
-
toReturn.put("cookies", this.cookies);
|
|
104
|
-
toReturn.put("headers", this.headers);
|
|
105
|
-
toReturn.put("reasonPhrase", this.reasonPhrase);
|
|
106
|
-
toReturn.put("statusCode", this.statusCode);
|
|
107
|
-
return toReturn;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
}
|
|
@@ -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.RemoveInterceptParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class RemoveInterceptParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new RemoveInterceptParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public RemoveInterceptParameters(Network.Intercept intercept) {
|
|
27
|
-
this.intercept = intercept;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private final Network.Intercept intercept;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Gets the intercept property
|
|
34
|
-
* @return Network.Intercept value
|
|
35
|
-
*/
|
|
36
|
-
public Network.Intercept getIntercept() {
|
|
37
|
-
return this.intercept;
|
|
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("intercept", this.intercept);
|
|
47
|
-
return toReturn;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
}
|
|
@@ -1,158 +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.RequestData command
|
|
20
|
-
*/
|
|
21
|
-
public class RequestData {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new RequestData instance
|
|
25
|
-
*/
|
|
26
|
-
public RequestData(String request, String url, String method, List<Network.Header> headers, List<Network.Cookie> cookies, Long headersSize, Object bodySize, String destination, Object initiatorType, Network.FetchTimingInfo timings) {
|
|
27
|
-
this.request = request;
|
|
28
|
-
this.url = url;
|
|
29
|
-
this.method = method;
|
|
30
|
-
this.headers = headers;
|
|
31
|
-
this.cookies = cookies;
|
|
32
|
-
this.headersSize = headersSize;
|
|
33
|
-
this.bodySize = bodySize;
|
|
34
|
-
this.destination = destination;
|
|
35
|
-
this.initiatorType = initiatorType;
|
|
36
|
-
this.timings = timings;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
private final String request;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Gets the request property
|
|
43
|
-
* @return String value
|
|
44
|
-
*/
|
|
45
|
-
public String getRequest() {
|
|
46
|
-
return this.request;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
private final String url;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Gets the url property
|
|
53
|
-
* @return String value
|
|
54
|
-
*/
|
|
55
|
-
public String getUrl() {
|
|
56
|
-
return this.url;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
private final String method;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Gets the method property
|
|
63
|
-
* @return String value
|
|
64
|
-
*/
|
|
65
|
-
public String getMethod() {
|
|
66
|
-
return this.method;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
private final List<Network.Header> headers;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Gets the headers property
|
|
73
|
-
* @return List<Network.Header> value
|
|
74
|
-
*/
|
|
75
|
-
public List<Network.Header> getHeaders() {
|
|
76
|
-
return this.headers;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
private final List<Network.Cookie> cookies;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Gets the cookies property
|
|
83
|
-
* @return List<Network.Cookie> value
|
|
84
|
-
*/
|
|
85
|
-
public List<Network.Cookie> getCookies() {
|
|
86
|
-
return this.cookies;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private final Long headersSize;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Gets the headersSize property
|
|
93
|
-
* @return Long value
|
|
94
|
-
*/
|
|
95
|
-
public Long getHeadersSize() {
|
|
96
|
-
return this.headersSize;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private final Object bodySize;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Gets the bodySize property
|
|
103
|
-
* @return Object value
|
|
104
|
-
*/
|
|
105
|
-
public Object getBodySize() {
|
|
106
|
-
return this.bodySize;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private final String destination;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Gets the destination property
|
|
113
|
-
* @return String value
|
|
114
|
-
*/
|
|
115
|
-
public String getDestination() {
|
|
116
|
-
return this.destination;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private final Object initiatorType;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Gets the initiatorType property
|
|
123
|
-
* @return Object value
|
|
124
|
-
*/
|
|
125
|
-
public Object getInitiatorType() {
|
|
126
|
-
return this.initiatorType;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
private final Network.FetchTimingInfo timings;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Gets the timings property
|
|
133
|
-
* @return Network.FetchTimingInfo value
|
|
134
|
-
*/
|
|
135
|
-
public Network.FetchTimingInfo getTimings() {
|
|
136
|
-
return this.timings;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Converts this object to a map for use with BiDi protocol
|
|
141
|
-
* @return Map representation of this object
|
|
142
|
-
*/
|
|
143
|
-
public Map<String, Object> asMap() {
|
|
144
|
-
Map<String, Object> toReturn = new HashMap<>();
|
|
145
|
-
toReturn.put("request", this.request);
|
|
146
|
-
toReturn.put("url", this.url);
|
|
147
|
-
toReturn.put("method", this.method);
|
|
148
|
-
toReturn.put("headers", this.headers);
|
|
149
|
-
toReturn.put("cookies", this.cookies);
|
|
150
|
-
toReturn.put("headersSize", this.headersSize);
|
|
151
|
-
toReturn.put("bodySize", this.bodySize);
|
|
152
|
-
toReturn.put("destination", this.destination);
|
|
153
|
-
toReturn.put("initiatorType", this.initiatorType);
|
|
154
|
-
toReturn.put("timings", this.timings);
|
|
155
|
-
return toReturn;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
}
|
|
@@ -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.ResponseCompletedParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class ResponseCompletedParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new ResponseCompletedParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public ResponseCompletedParameters(Network.ResponseData response) {
|
|
27
|
-
this.response = response;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private final Network.ResponseData response;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Gets the response property
|
|
34
|
-
* @return Network.ResponseData value
|
|
35
|
-
*/
|
|
36
|
-
public Network.ResponseData getResponse() {
|
|
37
|
-
return this.response;
|
|
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("response", this.response);
|
|
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.ResponseContent command
|
|
20
|
-
*/
|
|
21
|
-
public class ResponseContent {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new ResponseContent instance
|
|
25
|
-
*/
|
|
26
|
-
public ResponseContent(Long size) {
|
|
27
|
-
this.size = size;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private final Long size;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Gets the size property
|
|
34
|
-
* @return Long value
|
|
35
|
-
*/
|
|
36
|
-
public Long getSize() {
|
|
37
|
-
return this.size;
|
|
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("size", this.size);
|
|
47
|
-
return toReturn;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
}
|