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,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.input;
|
|
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 input.PointerMoveAction command
|
|
20
|
-
*/
|
|
21
|
-
public class PointerMoveAction implements PointerSourceAction {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new PointerMoveAction instance
|
|
25
|
-
*/
|
|
26
|
-
public PointerMoveAction(Float x, Float y, Long duration, Input.Origin origin) {
|
|
27
|
-
this.x = x;
|
|
28
|
-
this.y = y;
|
|
29
|
-
this.duration = duration;
|
|
30
|
-
this.origin = origin;
|
|
31
|
-
this.type = "pointerMove";
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
private final String type;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets the type property
|
|
38
|
-
* @return String value
|
|
39
|
-
*/
|
|
40
|
-
public String getType() {
|
|
41
|
-
return this.type;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
private final Float x;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Gets the x property
|
|
48
|
-
* @return Float value
|
|
49
|
-
*/
|
|
50
|
-
public Float getX() {
|
|
51
|
-
return this.x;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
private final Float y;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Gets the y property
|
|
58
|
-
* @return Float value
|
|
59
|
-
*/
|
|
60
|
-
public Float getY() {
|
|
61
|
-
return this.y;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
private final Long duration;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Gets the duration property
|
|
68
|
-
* @return Long value
|
|
69
|
-
*/
|
|
70
|
-
public Long getDuration() {
|
|
71
|
-
return this.duration;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
private final Input.Origin origin;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Gets the origin property
|
|
78
|
-
* @return Input.Origin value
|
|
79
|
-
*/
|
|
80
|
-
public Input.Origin getOrigin() {
|
|
81
|
-
return this.origin;
|
|
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("type", this.type);
|
|
91
|
-
toReturn.put("x", this.x);
|
|
92
|
-
toReturn.put("y", this.y);
|
|
93
|
-
toReturn.put("duration", this.duration);
|
|
94
|
-
toReturn.put("origin", this.origin);
|
|
95
|
-
return toReturn;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
}
|
|
@@ -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.input;
|
|
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 input.PointerParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class PointerParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new PointerParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public PointerParameters(Input.PointerType pointerType) {
|
|
27
|
-
this.pointerType = pointerType;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private final Input.PointerType pointerType;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Gets the pointerType property
|
|
34
|
-
* @return Input.PointerType value
|
|
35
|
-
*/
|
|
36
|
-
public Input.PointerType getPointerType() {
|
|
37
|
-
return this.pointerType;
|
|
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("pointerType", this.pointerType);
|
|
47
|
-
return toReturn;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
}
|
|
@@ -1,19 +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
|
-
* Auto-generated class for WebDriver BiDi protocol
|
|
11
|
-
* Represents enum for input.PointerSourceAction which can be either of these classes:
|
|
12
|
-
* - input.PauseAction
|
|
13
|
-
* - input.PointerDownAction
|
|
14
|
-
* - input.PointerUpAction
|
|
15
|
-
* - input.PointerMoveAction
|
|
16
|
-
*/
|
|
17
|
-
public class PointerSourceAction {
|
|
18
|
-
|
|
19
|
-
}
|
|
@@ -1,86 +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.input;
|
|
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 input.PointerSourceActions command
|
|
20
|
-
*/
|
|
21
|
-
public class PointerSourceActions implements SourceActions {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new PointerSourceActions instance
|
|
25
|
-
*/
|
|
26
|
-
public PointerSourceActions(String id, Input.PointerParameters parameters, List<Input.PointerSourceAction> actions) {
|
|
27
|
-
this.id = id;
|
|
28
|
-
this.parameters = parameters;
|
|
29
|
-
this.actions = actions;
|
|
30
|
-
this.type = "pointer";
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
private final String type;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Gets the type property
|
|
37
|
-
* @return String value
|
|
38
|
-
*/
|
|
39
|
-
public String getType() {
|
|
40
|
-
return this.type;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
private final String id;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Gets the id property
|
|
47
|
-
* @return String value
|
|
48
|
-
*/
|
|
49
|
-
public String getId() {
|
|
50
|
-
return this.id;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
private final Input.PointerParameters parameters;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Gets the parameters property
|
|
57
|
-
* @return Input.PointerParameters value
|
|
58
|
-
*/
|
|
59
|
-
public Input.PointerParameters getParameters() {
|
|
60
|
-
return this.parameters;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
private final List<Input.PointerSourceAction> actions;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Gets the actions property
|
|
67
|
-
* @return List<Input.PointerSourceAction> value
|
|
68
|
-
*/
|
|
69
|
-
public List<Input.PointerSourceAction> getActions() {
|
|
70
|
-
return this.actions;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Converts this object to a map for use with BiDi protocol
|
|
75
|
-
* @return Map representation of this object
|
|
76
|
-
*/
|
|
77
|
-
public Map<String, Object> asMap() {
|
|
78
|
-
Map<String, Object> toReturn = new HashMap<>();
|
|
79
|
-
toReturn.put("type", this.type);
|
|
80
|
-
toReturn.put("id", this.id);
|
|
81
|
-
toReturn.put("parameters", this.parameters);
|
|
82
|
-
toReturn.put("actions", this.actions);
|
|
83
|
-
return toReturn;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}
|
|
@@ -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 PointerType in WebDriver BiDi protocol
|
|
11
|
-
* as enum of "mouse" / "pen" / "touch"
|
|
12
|
-
*/
|
|
13
|
-
public enum PointerType {
|
|
14
|
-
MOUSE("mouse");
|
|
15
|
-
PEN("pen");
|
|
16
|
-
TOUCH("touch");
|
|
17
|
-
|
|
18
|
-
private final String value;
|
|
19
|
-
|
|
20
|
-
PointerType(String value) {
|
|
21
|
-
this.value = value;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
public String getValue() {
|
|
25
|
-
return value;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
public static PointerType fromString(String text) {
|
|
29
|
-
for (PointerType pointertype : PointerType.values()) {
|
|
30
|
-
if (pointertype.value.equalsIgnoreCase(text)) {
|
|
31
|
-
return pointertype;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
throw new IllegalArgumentException("No PointerType with value: " + text);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -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.input;
|
|
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 input.PointerUpAction command
|
|
20
|
-
*/
|
|
21
|
-
public class PointerUpAction implements PointerSourceAction {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new PointerUpAction instance
|
|
25
|
-
*/
|
|
26
|
-
public PointerUpAction(Long button) {
|
|
27
|
-
this.button = button;
|
|
28
|
-
this.type = "pointerUp";
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
private final String type;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Gets the type property
|
|
35
|
-
* @return String value
|
|
36
|
-
*/
|
|
37
|
-
public String getType() {
|
|
38
|
-
return this.type;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
private final Long button;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Gets the button property
|
|
45
|
-
* @return Long value
|
|
46
|
-
*/
|
|
47
|
-
public Long getButton() {
|
|
48
|
-
return this.button;
|
|
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("type", this.type);
|
|
58
|
-
toReturn.put("button", this.button);
|
|
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.input;
|
|
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 input.ReleaseActionsParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class ReleaseActionsParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new ReleaseActionsParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public ReleaseActionsParameters(String context) {
|
|
27
|
-
this.context = context;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private final String context;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Gets the context property
|
|
34
|
-
* @return String value
|
|
35
|
-
*/
|
|
36
|
-
public String getContext() {
|
|
37
|
-
return this.context;
|
|
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("context", this.context);
|
|
47
|
-
return toReturn;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
}
|
|
@@ -1,74 +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.input;
|
|
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 input.SetFilesParameters command
|
|
20
|
-
*/
|
|
21
|
-
public class SetFilesParameters {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new SetFilesParameters instance
|
|
25
|
-
*/
|
|
26
|
-
public SetFilesParameters(String context, Script.SharedReference element, List<String> files) {
|
|
27
|
-
this.context = context;
|
|
28
|
-
this.element = element;
|
|
29
|
-
this.files = files;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
private final String context;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Gets the context property
|
|
36
|
-
* @return String value
|
|
37
|
-
*/
|
|
38
|
-
public String getContext() {
|
|
39
|
-
return this.context;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
private final Script.SharedReference element;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Gets the element property
|
|
46
|
-
* @return Script.SharedReference value
|
|
47
|
-
*/
|
|
48
|
-
public Script.SharedReference getElement() {
|
|
49
|
-
return this.element;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
private final List<String> files;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Gets the files property
|
|
56
|
-
* @return List<String> value
|
|
57
|
-
*/
|
|
58
|
-
public List<String> getFiles() {
|
|
59
|
-
return this.files;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Converts this object to a map for use with BiDi protocol
|
|
64
|
-
* @return Map representation of this object
|
|
65
|
-
*/
|
|
66
|
-
public Map<String, Object> asMap() {
|
|
67
|
-
Map<String, Object> toReturn = new HashMap<>();
|
|
68
|
-
toReturn.put("context", this.context);
|
|
69
|
-
toReturn.put("element", this.element);
|
|
70
|
-
toReturn.put("files", this.files);
|
|
71
|
-
return toReturn;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
}
|
|
@@ -1,19 +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
|
-
* Auto-generated class for WebDriver BiDi protocol
|
|
11
|
-
* Represents enum for input.SourceActions which can be either of these classes:
|
|
12
|
-
* - input.NoneSourceActions
|
|
13
|
-
* - input.KeySourceActions
|
|
14
|
-
* - input.PointerSourceActions
|
|
15
|
-
* - input.WheelSourceActions
|
|
16
|
-
*/
|
|
17
|
-
public class SourceActions {
|
|
18
|
-
|
|
19
|
-
}
|
|
@@ -1,122 +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.input;
|
|
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 input.WheelScrollAction command
|
|
20
|
-
*/
|
|
21
|
-
public class WheelScrollAction implements WheelSourceAction {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Creates a new WheelScrollAction instance
|
|
25
|
-
*/
|
|
26
|
-
public WheelScrollAction(Integer x, Integer y, Integer deltaX, Integer deltaY, Long duration, Input.Origin origin) {
|
|
27
|
-
this.x = x;
|
|
28
|
-
this.y = y;
|
|
29
|
-
this.deltaX = deltaX;
|
|
30
|
-
this.deltaY = deltaY;
|
|
31
|
-
this.duration = duration;
|
|
32
|
-
this.origin = origin;
|
|
33
|
-
this.type = "scroll";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
private final String type;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Gets the type property
|
|
40
|
-
* @return String value
|
|
41
|
-
*/
|
|
42
|
-
public String getType() {
|
|
43
|
-
return this.type;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
private final Integer x;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Gets the x property
|
|
50
|
-
* @return Integer value
|
|
51
|
-
*/
|
|
52
|
-
public Integer getX() {
|
|
53
|
-
return this.x;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
private final Integer y;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Gets the y property
|
|
60
|
-
* @return Integer value
|
|
61
|
-
*/
|
|
62
|
-
public Integer getY() {
|
|
63
|
-
return this.y;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
private final Integer deltaX;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Gets the deltaX property
|
|
70
|
-
* @return Integer value
|
|
71
|
-
*/
|
|
72
|
-
public Integer getDeltaX() {
|
|
73
|
-
return this.deltaX;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
private final Integer deltaY;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Gets the deltaY property
|
|
80
|
-
* @return Integer value
|
|
81
|
-
*/
|
|
82
|
-
public Integer getDeltaY() {
|
|
83
|
-
return this.deltaY;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private final Long duration;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Gets the duration property
|
|
90
|
-
* @return Long value
|
|
91
|
-
*/
|
|
92
|
-
public Long getDuration() {
|
|
93
|
-
return this.duration;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private final Input.Origin origin;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Gets the origin property
|
|
100
|
-
* @return Input.Origin value
|
|
101
|
-
*/
|
|
102
|
-
public Input.Origin getOrigin() {
|
|
103
|
-
return this.origin;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Converts this object to a map for use with BiDi protocol
|
|
108
|
-
* @return Map representation of this object
|
|
109
|
-
*/
|
|
110
|
-
public Map<String, Object> asMap() {
|
|
111
|
-
Map<String, Object> toReturn = new HashMap<>();
|
|
112
|
-
toReturn.put("type", this.type);
|
|
113
|
-
toReturn.put("x", this.x);
|
|
114
|
-
toReturn.put("y", this.y);
|
|
115
|
-
toReturn.put("deltaX", this.deltaX);
|
|
116
|
-
toReturn.put("deltaY", this.deltaY);
|
|
117
|
-
toReturn.put("duration", this.duration);
|
|
118
|
-
toReturn.put("origin", this.origin);
|
|
119
|
-
return toReturn;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
}
|
|
@@ -1,17 +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
|
-
* Auto-generated class for WebDriver BiDi protocol
|
|
11
|
-
* Represents enum for input.WheelSourceAction which can be either of these classes:
|
|
12
|
-
* - input.PauseAction
|
|
13
|
-
* - input.WheelScrollAction
|
|
14
|
-
*/
|
|
15
|
-
public class WheelSourceAction {
|
|
16
|
-
|
|
17
|
-
}
|