blob: 8b1e864f7e750b59fecc23f3f0f70f626799ccd4 [file] [edit]
{
"schemaVersion": 1,
"generatedBy": "javascript/selenium-webdriver/project_bidi_schema.mjs",
"regenerateWith": "bazel run //common/bidi:update-schema",
"commands": [
{
"domain": "browser",
"method": "browser.close",
"name": "close",
"params": null,
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-close"
},
{
"domain": "browser",
"method": "browser.createUserContext",
"name": "createUserContext",
"params": {
"ref": "browser.CreateUserContextParameters"
},
"result": {
"ref": "browser.CreateUserContextResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-createUserContext"
},
{
"domain": "browser",
"method": "browser.getClientWindows",
"name": "getClientWindows",
"params": null,
"result": {
"ref": "browser.GetClientWindowsResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-getClientWindows"
},
{
"domain": "browser",
"method": "browser.getUserContexts",
"name": "getUserContexts",
"params": null,
"result": {
"ref": "browser.GetUserContextsResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-getUserContexts"
},
{
"domain": "browser",
"method": "browser.removeUserContext",
"name": "removeUserContext",
"params": {
"ref": "browser.RemoveUserContextParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext"
},
{
"domain": "browser",
"method": "browser.setClientWindowState",
"name": "setClientWindowState",
"params": {
"ref": "browser.SetClientWindowStateParameters"
},
"result": {
"ref": "browser.SetClientWindowStateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-setClientWindowState"
},
{
"domain": "browser",
"method": "browser.setDownloadBehavior",
"name": "setDownloadBehavior",
"params": {
"ref": "browser.SetDownloadBehaviorParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browser-setDownloadBehavior"
},
{
"domain": "browsingContext",
"method": "browsingContext.activate",
"name": "activate",
"params": {
"ref": "browsingContext.ActivateParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate"
},
{
"domain": "browsingContext",
"method": "browsingContext.captureScreenshot",
"name": "captureScreenshot",
"params": {
"ref": "browsingContext.CaptureScreenshotParameters"
},
"result": {
"ref": "browsingContext.CaptureScreenshotResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-captureScreenshot"
},
{
"domain": "browsingContext",
"method": "browsingContext.close",
"name": "close",
"params": {
"ref": "browsingContext.CloseParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-close"
},
{
"domain": "browsingContext",
"method": "browsingContext.create",
"name": "create",
"params": {
"ref": "browsingContext.CreateParameters"
},
"result": {
"ref": "browsingContext.CreateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-create"
},
{
"domain": "browsingContext",
"method": "browsingContext.getTree",
"name": "getTree",
"params": {
"ref": "browsingContext.GetTreeParameters"
},
"result": {
"ref": "browsingContext.GetTreeResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-getTree"
},
{
"domain": "browsingContext",
"method": "browsingContext.handleUserPrompt",
"name": "handleUserPrompt",
"params": {
"ref": "browsingContext.HandleUserPromptParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt"
},
{
"domain": "browsingContext",
"method": "browsingContext.locateNodes",
"name": "locateNodes",
"params": {
"ref": "browsingContext.LocateNodesParameters"
},
"result": {
"ref": "browsingContext.LocateNodesResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-locateNodes"
},
{
"domain": "browsingContext",
"method": "browsingContext.navigate",
"name": "navigate",
"params": {
"ref": "browsingContext.NavigateParameters"
},
"result": {
"ref": "browsingContext.NavigateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-navigate"
},
{
"domain": "browsingContext",
"method": "browsingContext.print",
"name": "print",
"params": {
"ref": "browsingContext.PrintParameters"
},
"result": {
"ref": "browsingContext.PrintResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-print"
},
{
"domain": "browsingContext",
"method": "browsingContext.reload",
"name": "reload",
"params": {
"ref": "browsingContext.ReloadParameters"
},
"result": {
"ref": "browsingContext.ReloadResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload"
},
{
"domain": "browsingContext",
"method": "browsingContext.setBypassCSP",
"name": "setBypassCSP",
"params": {
"ref": "browsingContext.SetBypassCSPParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setBypassCSP"
},
{
"domain": "browsingContext",
"method": "browsingContext.setViewport",
"name": "setViewport",
"params": {
"ref": "browsingContext.SetViewportParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport"
},
{
"domain": "browsingContext",
"method": "browsingContext.startScreencast",
"name": "startScreencast",
"params": {
"ref": "browsingContext.StartScreencastParameters"
},
"result": {
"ref": "browsingContext.StartScreencastResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-startScreencast"
},
{
"domain": "browsingContext",
"method": "browsingContext.stopScreencast",
"name": "stopScreencast",
"params": {
"ref": "browsingContext.StopScreencastParameters"
},
"result": {
"ref": "browsingContext.StopScreencastResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-stopScreencast"
},
{
"domain": "browsingContext",
"method": "browsingContext.traverseHistory",
"name": "traverseHistory",
"params": {
"ref": "browsingContext.TraverseHistoryParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-traverseHistory"
},
{
"domain": "emulation",
"method": "emulation.setForcedColorsModeThemeOverride",
"name": "setForcedColorsModeThemeOverride",
"params": {
"ref": "emulation.SetForcedColorsModeThemeOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setForcedColorsModeThemeOverride"
},
{
"domain": "emulation",
"method": "emulation.setGeolocationOverride",
"name": "setGeolocationOverride",
"params": {
"ref": "emulation.SetGeolocationOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setGeolocationOverride"
},
{
"domain": "emulation",
"method": "emulation.setLocaleOverride",
"name": "setLocaleOverride",
"params": {
"ref": "emulation.SetLocaleOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setLocaleOverride"
},
{
"domain": "emulation",
"method": "emulation.setMediaFeaturesOverride",
"name": "setMediaFeaturesOverride",
"params": {
"ref": "emulation.SetMediaFeaturesOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setMediaFeaturesOverride"
},
{
"domain": "emulation",
"method": "emulation.setNetworkConditions",
"name": "setNetworkConditions",
"params": {
"ref": "emulation.SetNetworkConditionsParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setNetworkConditions"
},
{
"domain": "emulation",
"method": "emulation.setScreenOrientationOverride",
"name": "setScreenOrientationOverride",
"params": {
"ref": "emulation.SetScreenOrientationOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride"
},
{
"domain": "emulation",
"method": "emulation.setScreenSettingsOverride",
"name": "setScreenSettingsOverride",
"params": {
"ref": "emulation.SetScreenSettingsOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride"
},
{
"domain": "emulation",
"method": "emulation.setScriptingEnabled",
"name": "setScriptingEnabled",
"params": {
"ref": "emulation.SetScriptingEnabledParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScriptingEnabled"
},
{
"domain": "emulation",
"method": "emulation.setScrollbarTypeOverride",
"name": "setScrollbarTypeOverride",
"params": {
"ref": "emulation.SetScrollbarTypeOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setScrollbarTypeOverride"
},
{
"domain": "emulation",
"method": "emulation.setTimezoneOverride",
"name": "setTimezoneOverride",
"params": {
"ref": "emulation.SetTimezoneOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setTimezoneOverride"
},
{
"domain": "emulation",
"method": "emulation.setTouchOverride",
"name": "setTouchOverride",
"params": {
"ref": "emulation.SetTouchOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setTouchOverride"
},
{
"domain": "emulation",
"method": "emulation.setUserAgentOverride",
"name": "setUserAgentOverride",
"params": {
"ref": "emulation.SetUserAgentOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setUserAgentOverride"
},
{
"domain": "emulation",
"method": "emulation.setViewportMetaOverride",
"name": "setViewportMetaOverride",
"params": {
"ref": "emulation.SetViewportMetaOverrideParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-emulation-setViewportMetaOverride"
},
{
"domain": "input",
"method": "input.performActions",
"name": "performActions",
"params": {
"ref": "input.PerformActionsParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-input-performActions"
},
{
"domain": "input",
"method": "input.releaseActions",
"name": "releaseActions",
"params": {
"ref": "input.ReleaseActionsParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-input-releaseActions"
},
{
"domain": "input",
"method": "input.setFiles",
"name": "setFiles",
"params": {
"ref": "input.SetFilesParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-input-setFiles"
},
{
"domain": "network",
"method": "network.addDataCollector",
"name": "addDataCollector",
"params": {
"ref": "network.AddDataCollectorParameters"
},
"result": {
"ref": "network.AddDataCollectorResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-addDataCollector"
},
{
"domain": "network",
"method": "network.addIntercept",
"name": "addIntercept",
"params": {
"ref": "network.AddInterceptParameters"
},
"result": {
"ref": "network.AddInterceptResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-addIntercept"
},
{
"domain": "network",
"method": "network.continueRequest",
"name": "continueRequest",
"params": {
"ref": "network.ContinueRequestParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-continueRequest"
},
{
"domain": "network",
"method": "network.continueResponse",
"name": "continueResponse",
"params": {
"ref": "network.ContinueResponseParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-continueResponse"
},
{
"domain": "network",
"method": "network.continueWithAuth",
"name": "continueWithAuth",
"params": {
"ref": "network.ContinueWithAuthParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth"
},
{
"domain": "network",
"method": "network.disownData",
"name": "disownData",
"params": {
"ref": "network.DisownDataParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-disownData"
},
{
"domain": "network",
"method": "network.failRequest",
"name": "failRequest",
"params": {
"ref": "network.FailRequestParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-failRequest"
},
{
"domain": "network",
"method": "network.getData",
"name": "getData",
"params": {
"ref": "network.GetDataParameters"
},
"result": {
"ref": "network.GetDataResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-getData"
},
{
"domain": "network",
"method": "network.provideResponse",
"name": "provideResponse",
"params": {
"ref": "network.ProvideResponseParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-provideResponse"
},
{
"domain": "network",
"method": "network.removeDataCollector",
"name": "removeDataCollector",
"params": {
"ref": "network.RemoveDataCollectorParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-removeDataCollector"
},
{
"domain": "network",
"method": "network.removeIntercept",
"name": "removeIntercept",
"params": {
"ref": "network.RemoveInterceptParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept"
},
{
"domain": "network",
"method": "network.setCacheBehavior",
"name": "setCacheBehavior",
"params": {
"ref": "network.SetCacheBehaviorParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior"
},
{
"domain": "network",
"method": "network.setExtraHeaders",
"name": "setExtraHeaders",
"params": {
"ref": "network.SetExtraHeadersParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders"
},
{
"domain": "script",
"method": "script.addPreloadScript",
"name": "addPreloadScript",
"params": {
"ref": "script.AddPreloadScriptParameters"
},
"result": {
"ref": "script.AddPreloadScriptResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript"
},
{
"domain": "script",
"method": "script.callFunction",
"name": "callFunction",
"params": {
"ref": "script.CallFunctionParameters"
},
"result": {
"ref": "script.CallFunctionResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-callFunction"
},
{
"domain": "script",
"method": "script.disown",
"name": "disown",
"params": {
"ref": "script.DisownParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-disown"
},
{
"domain": "script",
"method": "script.evaluate",
"name": "evaluate",
"params": {
"ref": "script.EvaluateParameters"
},
"result": {
"ref": "script.EvaluateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-evaluate"
},
{
"domain": "script",
"method": "script.getRealms",
"name": "getRealms",
"params": {
"ref": "script.GetRealmsParameters"
},
"result": {
"ref": "script.GetRealmsResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-getRealms"
},
{
"domain": "script",
"method": "script.removePreloadScript",
"name": "removePreloadScript",
"params": {
"ref": "script.RemovePreloadScriptParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript"
},
{
"domain": "session",
"method": "session.end",
"name": "end",
"params": null,
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-session-end"
},
{
"domain": "session",
"method": "session.new",
"name": "new",
"params": {
"ref": "session.NewParameters"
},
"result": {
"ref": "session.NewResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-session-new"
},
{
"domain": "session",
"method": "session.status",
"name": "status",
"params": null,
"result": {
"ref": "session.StatusResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-session-status"
},
{
"domain": "session",
"method": "session.subscribe",
"name": "subscribe",
"params": {
"ref": "session.SubscribeParameters"
},
"result": {
"ref": "session.SubscribeResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-session-subscribe"
},
{
"domain": "session",
"method": "session.unsubscribe",
"name": "unsubscribe",
"params": {
"ref": "session.UnsubscribeParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe"
},
{
"domain": "storage",
"method": "storage.deleteCookies",
"name": "deleteCookies",
"params": {
"ref": "storage.DeleteCookiesParameters"
},
"result": {
"ref": "storage.DeleteCookiesResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-storage-deleteCookies"
},
{
"domain": "storage",
"method": "storage.getCookies",
"name": "getCookies",
"params": {
"ref": "storage.GetCookiesParameters"
},
"result": {
"ref": "storage.GetCookiesResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-storage-getCookies"
},
{
"domain": "storage",
"method": "storage.setCookie",
"name": "setCookie",
"params": {
"ref": "storage.SetCookieParameters"
},
"result": {
"ref": "storage.SetCookieResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-storage-setCookie"
},
{
"domain": "webExtension",
"method": "webExtension.install",
"name": "install",
"params": {
"ref": "webExtension.InstallParameters"
},
"result": {
"ref": "webExtension.InstallResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#command-webExtension-install"
},
{
"domain": "webExtension",
"method": "webExtension.uninstall",
"name": "uninstall",
"params": {
"ref": "webExtension.UninstallParameters"
},
"result": null,
"specHref": "https://w3c.github.io/webdriver-bidi/#command-webExtension-uninstall"
},
{
"domain": "permissions",
"method": "permissions.setPermission",
"name": "setPermission",
"params": {
"ref": "permissions.SetPermissionParameters"
},
"result": null
},
{
"domain": "userAgentClientHints",
"method": "userAgentClientHints.setClientHintsOverride",
"name": "setClientHintsOverride",
"params": {
"ref": "userAgentClientHints.SetClientHintsOverrideCommandParams"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.handleRequestDevicePrompt",
"name": "handleRequestDevicePrompt",
"params": {
"ref": "bluetooth.HandleRequestDevicePromptParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateAdapter",
"name": "simulateAdapter",
"params": {
"ref": "bluetooth.SimulateAdapterParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.disableSimulation",
"name": "disableSimulation",
"params": {
"ref": "bluetooth.DisableSimulationParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulatePreconnectedPeripheral",
"name": "simulatePreconnectedPeripheral",
"params": {
"ref": "bluetooth.SimulatePreconnectedPeripheralParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateAdvertisement",
"name": "simulateAdvertisement",
"params": {
"ref": "bluetooth.SimulateAdvertisementParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateGattConnectionResponse",
"name": "simulateGattConnectionResponse",
"params": {
"ref": "bluetooth.SimulateGattConnectionResponseParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateGattDisconnection",
"name": "simulateGattDisconnection",
"params": {
"ref": "bluetooth.SimulateGattDisconnectionParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateService",
"name": "simulateService",
"params": {
"ref": "bluetooth.SimulateServiceParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateCharacteristic",
"name": "simulateCharacteristic",
"params": {
"ref": "bluetooth.SimulateCharacteristicParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateCharacteristicResponse",
"name": "simulateCharacteristicResponse",
"params": {
"ref": "bluetooth.SimulateCharacteristicResponseParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateDescriptor",
"name": "simulateDescriptor",
"params": {
"ref": "bluetooth.SimulateDescriptorParameters"
},
"result": null
},
{
"domain": "bluetooth",
"method": "bluetooth.simulateDescriptorResponse",
"name": "simulateDescriptorResponse",
"params": {
"ref": "bluetooth.SimulateDescriptorResponseParameters"
},
"result": null
}
],
"events": [
{
"domain": "browsingContext",
"method": "browsingContext.contextCreated",
"name": "contextCreated",
"params": {
"ref": "browsingContext.Info"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-contextCreated"
},
{
"domain": "browsingContext",
"method": "browsingContext.contextDestroyed",
"name": "contextDestroyed",
"params": {
"ref": "browsingContext.Info"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-contextDestroyed"
},
{
"domain": "browsingContext",
"method": "browsingContext.domContentLoaded",
"name": "domContentLoaded",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-domContentLoaded"
},
{
"domain": "browsingContext",
"method": "browsingContext.downloadEnd",
"name": "downloadEnd",
"params": {
"ref": "browsingContext.DownloadEndParams"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-downloadEnd"
},
{
"domain": "browsingContext",
"method": "browsingContext.downloadWillBegin",
"name": "downloadWillBegin",
"params": {
"ref": "browsingContext.DownloadWillBeginParams"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-downloadWillBegin"
},
{
"domain": "browsingContext",
"method": "browsingContext.fragmentNavigated",
"name": "fragmentNavigated",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-fragmentNavigated"
},
{
"domain": "browsingContext",
"method": "browsingContext.historyUpdated",
"name": "historyUpdated",
"params": {
"ref": "browsingContext.HistoryUpdatedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-historyUpdated"
},
{
"domain": "browsingContext",
"method": "browsingContext.load",
"name": "load",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-load"
},
{
"domain": "browsingContext",
"method": "browsingContext.navigationAborted",
"name": "navigationAborted",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationAborted"
},
{
"domain": "browsingContext",
"method": "browsingContext.navigationCommitted",
"name": "navigationCommitted",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationCommitted"
},
{
"domain": "browsingContext",
"method": "browsingContext.navigationFailed",
"name": "navigationFailed",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationFailed"
},
{
"domain": "browsingContext",
"method": "browsingContext.navigationStarted",
"name": "navigationStarted",
"params": {
"ref": "browsingContext.NavigationInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationStarted"
},
{
"domain": "browsingContext",
"method": "browsingContext.userPromptClosed",
"name": "userPromptClosed",
"params": {
"ref": "browsingContext.UserPromptClosedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-userPromptClosed"
},
{
"domain": "browsingContext",
"method": "browsingContext.userPromptOpened",
"name": "userPromptOpened",
"params": {
"ref": "browsingContext.UserPromptOpenedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-browsingContext-userPromptOpened"
},
{
"domain": "input",
"method": "input.fileDialogOpened",
"name": "fileDialogOpened",
"params": {
"ref": "input.FileDialogInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-input-fileDialogOpened"
},
{
"domain": "network",
"method": "network.authRequired",
"name": "authRequired",
"params": {
"ref": "network.AuthRequiredParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-network-authRequired"
},
{
"domain": "network",
"method": "network.beforeRequestSent",
"name": "beforeRequestSent",
"params": {
"ref": "network.BeforeRequestSentParameters"
}
},
{
"domain": "network",
"method": "network.fetchError",
"name": "fetchError",
"params": {
"ref": "network.FetchErrorParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-network-fetchError"
},
{
"domain": "network",
"method": "network.responseCompleted",
"name": "responseCompleted",
"params": {
"ref": "network.ResponseCompletedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-network-responseCompleted"
},
{
"domain": "network",
"method": "network.responseStarted",
"name": "responseStarted",
"params": {
"ref": "network.ResponseStartedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-network-responseStarted"
},
{
"domain": "script",
"method": "script.message",
"name": "message",
"params": {
"ref": "script.MessageParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-script-message"
},
{
"domain": "script",
"method": "script.realmCreated",
"name": "realmCreated",
"params": {
"ref": "script.RealmInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-script-realmCreated"
},
{
"domain": "script",
"method": "script.realmDestroyed",
"name": "realmDestroyed",
"params": {
"ref": "script.RealmDestroyedParameters"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-script-realmDestroyed"
},
{
"domain": "bluetooth",
"method": "bluetooth.requestDevicePromptUpdated",
"name": "requestDevicePromptUpdated",
"params": {
"ref": "bluetooth.RequestDevicePromptUpdatedParameters"
}
},
{
"domain": "bluetooth",
"method": "bluetooth.gattConnectionAttempted",
"name": "gattConnectionAttempted",
"params": {
"ref": "bluetooth.GattConnectionAttemptedParameters"
}
},
{
"domain": "log",
"method": "log.entryAdded",
"name": "entryAdded",
"params": {
"ref": "log.Entry"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#event-log-entryAdded"
},
{
"domain": "speculation",
"method": "speculation.prefetchStatusUpdated",
"name": "prefetchStatusUpdated",
"params": {
"ref": "speculation.PrefetchStatusUpdatedParameters"
}
}
],
"types": {
"Command": {
"kind": "record",
"fields": [
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-command",
"outbound": false,
"inbound": false
},
"CommandData": {
"kind": "union",
"variants": [
"BrowserCommand",
"BrowsingContextCommand",
"EmulationCommand",
"InputCommand",
"NetworkCommand",
"ScriptCommand",
"SessionCommand",
"StorageCommand",
"WebExtensionCommand"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-commanddata",
"selector": {
"by": "method",
"variants": [
{
"value": "browser.close",
"ref": "browser.Close"
},
{
"value": "browser.createUserContext",
"ref": "browser.CreateUserContext"
},
{
"value": "browser.getClientWindows",
"ref": "browser.GetClientWindows"
},
{
"value": "browser.getUserContexts",
"ref": "browser.GetUserContexts"
},
{
"value": "browser.removeUserContext",
"ref": "browser.RemoveUserContext"
},
{
"value": "browser.setClientWindowState",
"ref": "browser.SetClientWindowState"
},
{
"value": "browser.setDownloadBehavior",
"ref": "browser.SetDownloadBehavior"
},
{
"value": "browsingContext.activate",
"ref": "browsingContext.Activate"
},
{
"value": "browsingContext.captureScreenshot",
"ref": "browsingContext.CaptureScreenshot"
},
{
"value": "browsingContext.close",
"ref": "browsingContext.Close"
},
{
"value": "browsingContext.create",
"ref": "browsingContext.Create"
},
{
"value": "browsingContext.getTree",
"ref": "browsingContext.GetTree"
},
{
"value": "browsingContext.handleUserPrompt",
"ref": "browsingContext.HandleUserPrompt"
},
{
"value": "browsingContext.locateNodes",
"ref": "browsingContext.LocateNodes"
},
{
"value": "browsingContext.navigate",
"ref": "browsingContext.Navigate"
},
{
"value": "browsingContext.print",
"ref": "browsingContext.Print"
},
{
"value": "browsingContext.reload",
"ref": "browsingContext.Reload"
},
{
"value": "browsingContext.setBypassCSP",
"ref": "browsingContext.SetBypassCSP"
},
{
"value": "browsingContext.setViewport",
"ref": "browsingContext.SetViewport"
},
{
"value": "browsingContext.startScreencast",
"ref": "browsingContext.StartScreencast"
},
{
"value": "browsingContext.stopScreencast",
"ref": "browsingContext.StopScreencast"
},
{
"value": "browsingContext.traverseHistory",
"ref": "browsingContext.TraverseHistory"
},
{
"value": "emulation.setForcedColorsModeThemeOverride",
"ref": "emulation.SetForcedColorsModeThemeOverride"
},
{
"value": "emulation.setGeolocationOverride",
"ref": "emulation.SetGeolocationOverride"
},
{
"value": "emulation.setLocaleOverride",
"ref": "emulation.SetLocaleOverride"
},
{
"value": "emulation.setMediaFeaturesOverride",
"ref": "emulation.SetMediaFeaturesOverride"
},
{
"value": "emulation.setNetworkConditions",
"ref": "emulation.SetNetworkConditions"
},
{
"value": "emulation.setScreenOrientationOverride",
"ref": "emulation.SetScreenOrientationOverride"
},
{
"value": "emulation.setScreenSettingsOverride",
"ref": "emulation.SetScreenSettingsOverride"
},
{
"value": "emulation.setScriptingEnabled",
"ref": "emulation.SetScriptingEnabled"
},
{
"value": "emulation.setScrollbarTypeOverride",
"ref": "emulation.SetScrollbarTypeOverride"
},
{
"value": "emulation.setTimezoneOverride",
"ref": "emulation.SetTimezoneOverride"
},
{
"value": "emulation.setTouchOverride",
"ref": "emulation.SetTouchOverride"
},
{
"value": "emulation.setUserAgentOverride",
"ref": "emulation.SetUserAgentOverride"
},
{
"value": "emulation.setViewportMetaOverride",
"ref": "emulation.SetViewportMetaOverride"
},
{
"value": "input.performActions",
"ref": "input.PerformActions"
},
{
"value": "input.releaseActions",
"ref": "input.ReleaseActions"
},
{
"value": "input.setFiles",
"ref": "input.SetFiles"
},
{
"value": "network.addDataCollector",
"ref": "network.AddDataCollector"
},
{
"value": "network.addIntercept",
"ref": "network.AddIntercept"
},
{
"value": "network.continueRequest",
"ref": "network.ContinueRequest"
},
{
"value": "network.continueResponse",
"ref": "network.ContinueResponse"
},
{
"value": "network.continueWithAuth",
"ref": "network.ContinueWithAuth"
},
{
"value": "network.disownData",
"ref": "network.DisownData"
},
{
"value": "network.failRequest",
"ref": "network.FailRequest"
},
{
"value": "network.getData",
"ref": "network.GetData"
},
{
"value": "network.provideResponse",
"ref": "network.ProvideResponse"
},
{
"value": "network.removeDataCollector",
"ref": "network.RemoveDataCollector"
},
{
"value": "network.removeIntercept",
"ref": "network.RemoveIntercept"
},
{
"value": "network.setCacheBehavior",
"ref": "network.SetCacheBehavior"
},
{
"value": "network.setExtraHeaders",
"ref": "network.SetExtraHeaders"
},
{
"value": "script.addPreloadScript",
"ref": "script.AddPreloadScript"
},
{
"value": "script.callFunction",
"ref": "script.CallFunction"
},
{
"value": "script.disown",
"ref": "script.Disown"
},
{
"value": "script.evaluate",
"ref": "script.Evaluate"
},
{
"value": "script.getRealms",
"ref": "script.GetRealms"
},
{
"value": "script.removePreloadScript",
"ref": "script.RemovePreloadScript"
},
{
"value": "session.end",
"ref": "session.End"
},
{
"value": "session.new",
"ref": "session.New"
},
{
"value": "session.status",
"ref": "session.Status"
},
{
"value": "session.subscribe",
"ref": "session.Subscribe"
},
{
"value": "session.unsubscribe",
"ref": "session.Unsubscribe"
},
{
"value": "storage.deleteCookies",
"ref": "storage.DeleteCookies"
},
{
"value": "storage.getCookies",
"ref": "storage.GetCookies"
},
{
"value": "storage.setCookie",
"ref": "storage.SetCookie"
},
{
"value": "webExtension.install",
"ref": "webExtension.Install"
},
{
"value": "webExtension.uninstall",
"ref": "webExtension.Uninstall"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"EmptyParams": {
"kind": "record",
"fields": [],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emptyparams",
"outbound": false,
"inbound": false
},
"Message": {
"kind": "union",
"variants": [
"CommandResponse",
"ErrorResponse",
"Event"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-message",
"selector": {
"by": "type",
"variants": [
{
"value": "success",
"ref": "CommandResponse"
},
{
"value": "error",
"ref": "ErrorResponse"
},
{
"value": "event",
"ref": "Event"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"CommandResponse": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "success"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "result",
"wire": "result",
"required": true,
"type": {
"ref": "ResultData"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-commandresponse",
"outbound": false,
"inbound": false
},
"ErrorResponse": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "error"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "error",
"wire": "error",
"required": true,
"type": {
"ref": "ErrorCode"
}
},
{
"name": "message",
"wire": "message",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "stacktrace",
"wire": "stacktrace",
"required": false,
"type": {
"primitive": "string"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-errorresponse",
"outbound": false,
"inbound": false
},
"ResultData": {
"kind": "union",
"variants": [
"BrowserResult",
"BrowsingContextResult",
"EmulationResult",
"InputResult",
"NetworkResult",
"ScriptResult",
"SessionResult",
"StorageResult",
"WebExtensionResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-resultdata",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"EmptyResult": {
"kind": "record",
"fields": [],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emptyresult",
"outbound": false,
"inbound": false
},
"Event": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "event"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-event",
"outbound": false,
"inbound": false
},
"EventData": {
"kind": "union",
"variants": [
"BrowsingContextEvent",
"InputEvent",
"LogEvent",
"NetworkEvent",
"ScriptEvent"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-eventdata",
"selector": {
"by": "method",
"variants": [
{
"value": "browsingContext.contextCreated",
"ref": "browsingContext.ContextCreated"
},
{
"value": "browsingContext.contextDestroyed",
"ref": "browsingContext.ContextDestroyed"
},
{
"value": "browsingContext.domContentLoaded",
"ref": "browsingContext.DomContentLoaded"
},
{
"value": "browsingContext.downloadEnd",
"ref": "browsingContext.DownloadEnd"
},
{
"value": "browsingContext.downloadWillBegin",
"ref": "browsingContext.DownloadWillBegin"
},
{
"value": "browsingContext.fragmentNavigated",
"ref": "browsingContext.FragmentNavigated"
},
{
"value": "browsingContext.historyUpdated",
"ref": "browsingContext.HistoryUpdated"
},
{
"value": "browsingContext.load",
"ref": "browsingContext.Load"
},
{
"value": "browsingContext.navigationAborted",
"ref": "browsingContext.NavigationAborted"
},
{
"value": "browsingContext.navigationCommitted",
"ref": "browsingContext.NavigationCommitted"
},
{
"value": "browsingContext.navigationFailed",
"ref": "browsingContext.NavigationFailed"
},
{
"value": "browsingContext.navigationStarted",
"ref": "browsingContext.NavigationStarted"
},
{
"value": "browsingContext.userPromptClosed",
"ref": "browsingContext.UserPromptClosed"
},
{
"value": "browsingContext.userPromptOpened",
"ref": "browsingContext.UserPromptOpened"
},
{
"value": "input.fileDialogOpened",
"ref": "input.FileDialogOpened"
},
{
"value": "log.entryAdded",
"ref": "log.EntryAdded"
},
{
"value": "network.authRequired",
"ref": "network.AuthRequired"
},
{
"value": "network.beforeRequestSent",
"ref": "network.BeforeRequestSent"
},
{
"value": "network.fetchError",
"ref": "network.FetchError"
},
{
"value": "network.responseCompleted",
"ref": "network.ResponseCompleted"
},
{
"value": "network.responseStarted",
"ref": "network.ResponseStarted"
},
{
"value": "script.message",
"ref": "script.Message"
},
{
"value": "script.realmCreated",
"ref": "script.RealmCreated"
},
{
"value": "script.realmDestroyed",
"ref": "script.RealmDestroyed"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"Extensible": {
"kind": "record",
"fields": [],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-extensible",
"outbound": false,
"inbound": false
},
"js-int": {
"kind": "alias",
"type": {
"primitive": "integer"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-js-int"
},
"js-uint": {
"kind": "alias",
"type": {
"primitive": "integer"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-js-uint"
},
"ErrorCode": {
"kind": "enum",
"values": [
"invalid argument",
"invalid selector",
"invalid session id",
"invalid web extension",
"move target out of bounds",
"no such alert",
"no such network collector",
"no such element",
"no such frame",
"no such handle",
"no such history entry",
"no such intercept",
"no such network data",
"no such node",
"no such request",
"no such screencast",
"no such script",
"no such storage partition",
"no such user context",
"no such web extension",
"session not created",
"unable to capture screen",
"unable to close browser",
"unable to set cookie",
"unable to set file input",
"unavailable network data",
"underspecified storage partition",
"unknown command",
"unknown error",
"unsupported operation"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-errorcode"
},
"SessionCommand": {
"kind": "union",
"variants": [
"session.End",
"session.New",
"session.Status",
"session.Subscribe",
"session.Unsubscribe"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessioncommand",
"selector": {
"by": "method",
"variants": [
{
"value": "session.end",
"ref": "session.End"
},
{
"value": "session.new",
"ref": "session.New"
},
{
"value": "session.status",
"ref": "session.Status"
},
{
"value": "session.subscribe",
"ref": "session.Subscribe"
},
{
"value": "session.unsubscribe",
"ref": "session.Unsubscribe"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"SessionResult": {
"kind": "union",
"variants": [
"session.EndResult",
"session.NewResult",
"session.StatusResult",
"session.SubscribeResult",
"session.UnsubscribeResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"session.CapabilitiesRequest": {
"kind": "record",
"fields": [
{
"name": "alwaysMatch",
"wire": "alwaysMatch",
"required": false,
"type": {
"ref": "session.CapabilityRequest"
}
},
{
"name": "firstMatch",
"wire": "firstMatch",
"required": false,
"type": {
"list": {
"ref": "session.CapabilityRequest"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-CapabilitiesRequest",
"outbound": true,
"inbound": false
},
"session.CapabilityRequest": {
"kind": "record",
"fields": [
{
"name": "acceptInsecureCerts",
"wire": "acceptInsecureCerts",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "browserName",
"wire": "browserName",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "browserVersion",
"wire": "browserVersion",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "platformName",
"wire": "platformName",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "proxy",
"wire": "proxy",
"required": false,
"type": {
"ref": "session.ProxyConfiguration"
}
},
{
"name": "unhandledPromptBehavior",
"wire": "unhandledPromptBehavior",
"required": false,
"type": {
"ref": "session.UserPromptHandler"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-CapabilityRequest",
"outbound": true,
"inbound": false
},
"session.ProxyConfiguration": {
"kind": "union",
"variants": [
"session.AutodetectProxyConfiguration",
"session.DirectProxyConfiguration",
"session.ManualProxyConfiguration",
"session.PacProxyConfiguration",
"session.SystemProxyConfiguration"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-ProxyConfiguration",
"selector": {
"by": "proxyType",
"variants": [
{
"value": "autodetect",
"ref": "session.AutodetectProxyConfiguration"
},
{
"value": "direct",
"ref": "session.DirectProxyConfiguration"
},
{
"value": "manual",
"ref": "session.ManualProxyConfiguration"
},
{
"value": "pac",
"ref": "session.PacProxyConfiguration"
},
{
"value": "system",
"ref": "session.SystemProxyConfiguration"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": true
},
"session.AutodetectProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "proxyType",
"wire": "proxyType",
"required": true,
"type": {
"const": "autodetect"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionautodetectproxyconfiguration",
"outbound": true,
"inbound": true
},
"session.DirectProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "proxyType",
"wire": "proxyType",
"required": true,
"type": {
"const": "direct"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessiondirectproxyconfiguration",
"outbound": true,
"inbound": true
},
"session.ManualProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "proxyType",
"wire": "proxyType",
"required": true,
"type": {
"const": "manual"
}
},
{
"name": "httpProxy",
"wire": "httpProxy",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "sslProxy",
"wire": "sslProxy",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "socksProxy",
"wire": "socksProxy",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "socksVersion",
"wire": "socksVersion",
"required": true,
"type": {
"primitive": "integer"
}
},
{
"name": "noProxy",
"wire": "noProxy",
"required": false,
"type": {
"list": {
"primitive": "string"
}
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionmanualproxyconfiguration",
"outbound": true,
"inbound": true
},
"session.SocksProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "socksProxy",
"wire": "socksProxy",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "socksVersion",
"wire": "socksVersion",
"required": true,
"type": {
"primitive": "integer"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionsocksproxyconfiguration",
"outbound": false,
"inbound": false
},
"session.PacProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "proxyType",
"wire": "proxyType",
"required": true,
"type": {
"const": "pac"
}
},
{
"name": "proxyAutoconfigUrl",
"wire": "proxyAutoconfigUrl",
"required": true,
"type": {
"primitive": "string"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionpacproxyconfiguration",
"outbound": true,
"inbound": true
},
"session.SystemProxyConfiguration": {
"kind": "record",
"fields": [
{
"name": "proxyType",
"wire": "proxyType",
"required": true,
"type": {
"const": "system"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionsystemproxyconfiguration",
"outbound": true,
"inbound": true
},
"session.UserPromptHandler": {
"kind": "record",
"fields": [
{
"name": "alert",
"wire": "alert",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "beforeUnload",
"wire": "beforeUnload",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "confirm",
"wire": "confirm",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "default",
"wire": "default",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "file",
"wire": "file",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "prompt",
"wire": "prompt",
"required": false,
"type": {
"ref": "session.UserPromptHandlerType"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-UserPromptHandler",
"outbound": true,
"inbound": true
},
"session.UserPromptHandlerType": {
"kind": "enum",
"values": [
"accept",
"dismiss",
"ignore"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-UserPromptHandlerType"
},
"session.Subscription": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-Subscription"
},
"session.SubscribeParameters": {
"kind": "record",
"fields": [
{
"name": "events",
"wire": "events",
"required": true,
"type": {
"list": {
"primitive": "string"
}
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionsubscribeparameters",
"outbound": true,
"inbound": false
},
"session.UnsubscribeByIDRequest": {
"kind": "record",
"fields": [
{
"name": "subscriptions",
"wire": "subscriptions",
"required": true,
"type": {
"list": {
"ref": "session.Subscription"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-UnsubscribeByIDRequest",
"outbound": true,
"inbound": false
},
"session.UnsubscribeByAttributesRequest": {
"kind": "record",
"fields": [
{
"name": "events",
"wire": "events",
"required": true,
"type": {
"list": {
"primitive": "string"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-session-UnsubscribeByAttributesRequest",
"outbound": true,
"inbound": false
},
"session.Status": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "session.status"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "EmptyParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionstatus",
"outbound": false,
"inbound": false
},
"session.StatusResult": {
"kind": "record",
"fields": [
{
"name": "ready",
"wire": "ready",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "message",
"wire": "message",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionstatusresult",
"outbound": false,
"inbound": true
},
"session.New": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "session.new"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "session.NewParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionnew",
"outbound": false,
"inbound": false
},
"session.NewParameters": {
"kind": "record",
"fields": [
{
"name": "capabilities",
"wire": "capabilities",
"required": true,
"type": {
"ref": "session.CapabilitiesRequest"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionnewparameters",
"outbound": true,
"inbound": false
},
"session.NewResult": {
"kind": "record",
"fields": [
{
"name": "sessionId",
"wire": "sessionId",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "capabilities",
"wire": "capabilities",
"required": true,
"type": {
"ref": "session.NewResultCapabilities"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionnewresult",
"outbound": false,
"inbound": true
},
"session.End": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "session.end"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "EmptyParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionend",
"outbound": false,
"inbound": false
},
"session.EndResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionendresult"
},
"session.Subscribe": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "session.subscribe"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "session.SubscribeParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionsubscribe",
"outbound": false,
"inbound": false
},
"session.SubscribeResult": {
"kind": "record",
"fields": [
{
"name": "subscription",
"wire": "subscription",
"required": true,
"type": {
"ref": "session.Subscription"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionsubscriberesult",
"outbound": false,
"inbound": true
},
"session.Unsubscribe": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "session.unsubscribe"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "session.UnsubscribeParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionunsubscribe",
"outbound": false,
"inbound": false
},
"session.UnsubscribeParameters": {
"kind": "union",
"variants": [
"session.UnsubscribeByAttributesRequest",
"session.UnsubscribeByIDRequest"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionunsubscribeparameters",
"selector": {
"ordered": [
{
"ref": "session.UnsubscribeByAttributesRequest",
"requires": [
"events"
]
},
{
"ref": "session.UnsubscribeByIDRequest",
"requires": [
"subscriptions"
]
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"session.UnsubscribeResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-sessionunsubscriberesult"
},
"BrowserCommand": {
"kind": "union",
"variants": [
"browser.Close",
"browser.CreateUserContext",
"browser.GetClientWindows",
"browser.GetUserContexts",
"browser.RemoveUserContext",
"browser.SetClientWindowState",
"browser.SetDownloadBehavior"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsercommand",
"selector": {
"by": "method",
"variants": [
{
"value": "browser.close",
"ref": "browser.Close"
},
{
"value": "browser.createUserContext",
"ref": "browser.CreateUserContext"
},
{
"value": "browser.getClientWindows",
"ref": "browser.GetClientWindows"
},
{
"value": "browser.getUserContexts",
"ref": "browser.GetUserContexts"
},
{
"value": "browser.removeUserContext",
"ref": "browser.RemoveUserContext"
},
{
"value": "browser.setClientWindowState",
"ref": "browser.SetClientWindowState"
},
{
"value": "browser.setDownloadBehavior",
"ref": "browser.SetDownloadBehavior"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"BrowserResult": {
"kind": "union",
"variants": [
"browser.CloseResult",
"browser.CreateUserContextResult",
"browser.GetClientWindowsResult",
"browser.GetUserContextsResult",
"browser.RemoveUserContextResult",
"browser.SetClientWindowStateResult",
"browser.SetDownloadBehaviorResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"browser.ClientWindow": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browser-ClientWindow"
},
"browser.ClientWindowInfo": {
"kind": "record",
"fields": [
{
"name": "active",
"wire": "active",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "clientWindow",
"wire": "clientWindow",
"required": true,
"type": {
"ref": "browser.ClientWindow"
}
},
{
"name": "height",
"wire": "height",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "state",
"wire": "state",
"required": true,
"type": {
"ref": "browser.ClientWindowInfoState"
}
},
{
"name": "width",
"wire": "width",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "x",
"wire": "x",
"required": true,
"type": {
"ref": "js-int"
}
},
{
"name": "y",
"wire": "y",
"required": true,
"type": {
"ref": "js-int"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browser-ClientWindowInfo",
"outbound": false,
"inbound": true
},
"browser.UserContext": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browser-UserContext"
},
"browser.UserContextInfo": {
"kind": "record",
"fields": [
{
"name": "userContext",
"wire": "userContext",
"required": true,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browser-UserContextInfo",
"outbound": false,
"inbound": true
},
"browser.Close": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.close"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "EmptyParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserclose",
"outbound": false,
"inbound": false
},
"browser.CloseResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsercloseresult"
},
"browser.CreateUserContext": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.createUserContext"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browser.CreateUserContextParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsercreateusercontext",
"outbound": false,
"inbound": false
},
"browser.CreateUserContextParameters": {
"kind": "record",
"fields": [
{
"name": "acceptInsecureCerts",
"wire": "acceptInsecureCerts",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "proxy",
"wire": "proxy",
"required": false,
"type": {
"ref": "session.ProxyConfiguration"
}
},
{
"name": "unhandledPromptBehavior",
"wire": "unhandledPromptBehavior",
"required": false,
"type": {
"ref": "session.UserPromptHandler"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsercreateusercontextparameters",
"outbound": true,
"inbound": false
},
"browser.CreateUserContextResult": {
"kind": "alias",
"type": {
"ref": "browser.UserContextInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsercreateusercontextresult"
},
"browser.GetClientWindows": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.getClientWindows"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "EmptyParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsergetclientwindows",
"outbound": false,
"inbound": false
},
"browser.GetClientWindowsResult": {
"kind": "record",
"fields": [
{
"name": "clientWindows",
"wire": "clientWindows",
"required": true,
"type": {
"list": {
"ref": "browser.ClientWindowInfo"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsergetclientwindowsresult",
"outbound": false,
"inbound": true
},
"browser.GetUserContexts": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.getUserContexts"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "EmptyParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsergetusercontexts",
"outbound": false,
"inbound": false
},
"browser.GetUserContextsResult": {
"kind": "record",
"fields": [
{
"name": "userContexts",
"wire": "userContexts",
"required": true,
"type": {
"list": {
"ref": "browser.UserContextInfo"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsergetusercontextsresult",
"outbound": false,
"inbound": true
},
"browser.RemoveUserContext": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.removeUserContext"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browser.RemoveUserContextParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserremoveusercontext",
"outbound": false,
"inbound": false
},
"browser.RemoveUserContextParameters": {
"kind": "record",
"fields": [
{
"name": "userContext",
"wire": "userContext",
"required": true,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserremoveusercontextparameters",
"outbound": true,
"inbound": false
},
"browser.RemoveUserContextResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserremoveusercontextresult"
},
"browser.SetClientWindowState": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.setClientWindowState"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browser.SetClientWindowStateParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetclientwindowstate",
"outbound": false,
"inbound": false
},
"browser.SetClientWindowStateParameters": {
"kind": "union",
"variants": [
"browser.SetClientWindowStateParameters_ClientWindowNamedState",
"browser.SetClientWindowStateParameters_ClientWindowRectState"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetclientwindowstateparameters",
"selector": {
"by": "state",
"variants": [
{
"value": "normal",
"ref": "browser.SetClientWindowStateParameters_ClientWindowRectState"
}
],
"default": "browser.SetClientWindowStateParameters_ClientWindowNamedState"
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"browser.SetClientWindowStateResult": {
"kind": "alias",
"type": {
"ref": "browser.ClientWindowInfo"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetclientwindowstateresult"
},
"browser.SetDownloadBehavior": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browser.setDownloadBehavior"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browser.SetDownloadBehaviorParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetdownloadbehavior",
"outbound": false,
"inbound": false
},
"browser.SetDownloadBehaviorParameters": {
"kind": "record",
"fields": [
{
"name": "downloadBehavior",
"wire": "downloadBehavior",
"required": true,
"type": {
"ref": "browser.DownloadBehavior",
"nullable": true
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetdownloadbehaviorparameters",
"outbound": true,
"inbound": false
},
"browser.DownloadBehavior": {
"kind": "union",
"variants": [
"browser.DownloadBehavior_Allowed",
"browser.DownloadBehavior_Denied"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browserdownloadbehavior",
"selector": {
"by": "type",
"variants": [
{
"value": "allowed",
"ref": "browser.DownloadBehavior_Allowed"
},
{
"value": "denied",
"ref": "browser.DownloadBehavior_Denied"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"browser.SetDownloadBehaviorResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsersetdownloadbehaviorresult"
},
"BrowsingContextCommand": {
"kind": "union",
"variants": [
"browsingContext.Activate",
"browsingContext.CaptureScreenshot",
"browsingContext.Close",
"browsingContext.Create",
"browsingContext.GetTree",
"browsingContext.HandleUserPrompt",
"browsingContext.LocateNodes",
"browsingContext.Navigate",
"browsingContext.Print",
"browsingContext.Reload",
"browsingContext.SetBypassCSP",
"browsingContext.SetViewport",
"browsingContext.StartScreencast",
"browsingContext.StopScreencast",
"browsingContext.TraverseHistory"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "browsingContext.activate",
"ref": "browsingContext.Activate"
},
{
"value": "browsingContext.captureScreenshot",
"ref": "browsingContext.CaptureScreenshot"
},
{
"value": "browsingContext.close",
"ref": "browsingContext.Close"
},
{
"value": "browsingContext.create",
"ref": "browsingContext.Create"
},
{
"value": "browsingContext.getTree",
"ref": "browsingContext.GetTree"
},
{
"value": "browsingContext.handleUserPrompt",
"ref": "browsingContext.HandleUserPrompt"
},
{
"value": "browsingContext.locateNodes",
"ref": "browsingContext.LocateNodes"
},
{
"value": "browsingContext.navigate",
"ref": "browsingContext.Navigate"
},
{
"value": "browsingContext.print",
"ref": "browsingContext.Print"
},
{
"value": "browsingContext.reload",
"ref": "browsingContext.Reload"
},
{
"value": "browsingContext.setBypassCSP",
"ref": "browsingContext.SetBypassCSP"
},
{
"value": "browsingContext.setViewport",
"ref": "browsingContext.SetViewport"
},
{
"value": "browsingContext.startScreencast",
"ref": "browsingContext.StartScreencast"
},
{
"value": "browsingContext.stopScreencast",
"ref": "browsingContext.StopScreencast"
},
{
"value": "browsingContext.traverseHistory",
"ref": "browsingContext.TraverseHistory"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"BrowsingContextResult": {
"kind": "union",
"variants": [
"browsingContext.ActivateResult",
"browsingContext.CaptureScreenshotResult",
"browsingContext.CloseResult",
"browsingContext.CreateResult",
"browsingContext.GetTreeResult",
"browsingContext.HandleUserPromptResult",
"browsingContext.LocateNodesResult",
"browsingContext.NavigateResult",
"browsingContext.PrintResult",
"browsingContext.ReloadResult",
"browsingContext.SetBypassCSPResult",
"browsingContext.SetViewportResult",
"browsingContext.StartScreencastResult",
"browsingContext.StopScreencastResult",
"browsingContext.TraverseHistoryResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"BrowsingContextEvent": {
"kind": "union",
"variants": [
"browsingContext.ContextCreated",
"browsingContext.ContextDestroyed",
"browsingContext.DomContentLoaded",
"browsingContext.DownloadEnd",
"browsingContext.DownloadWillBegin",
"browsingContext.FragmentNavigated",
"browsingContext.HistoryUpdated",
"browsingContext.Load",
"browsingContext.NavigationAborted",
"browsingContext.NavigationCommitted",
"browsingContext.NavigationFailed",
"browsingContext.NavigationStarted",
"browsingContext.UserPromptClosed",
"browsingContext.UserPromptOpened"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextevent",
"selector": {
"by": "method",
"variants": [
{
"value": "browsingContext.contextCreated",
"ref": "browsingContext.ContextCreated"
},
{
"value": "browsingContext.contextDestroyed",
"ref": "browsingContext.ContextDestroyed"
},
{
"value": "browsingContext.domContentLoaded",
"ref": "browsingContext.DomContentLoaded"
},
{
"value": "browsingContext.downloadEnd",
"ref": "browsingContext.DownloadEnd"
},
{
"value": "browsingContext.downloadWillBegin",
"ref": "browsingContext.DownloadWillBegin"
},
{
"value": "browsingContext.fragmentNavigated",
"ref": "browsingContext.FragmentNavigated"
},
{
"value": "browsingContext.historyUpdated",
"ref": "browsingContext.HistoryUpdated"
},
{
"value": "browsingContext.load",
"ref": "browsingContext.Load"
},
{
"value": "browsingContext.navigationAborted",
"ref": "browsingContext.NavigationAborted"
},
{
"value": "browsingContext.navigationCommitted",
"ref": "browsingContext.NavigationCommitted"
},
{
"value": "browsingContext.navigationFailed",
"ref": "browsingContext.NavigationFailed"
},
{
"value": "browsingContext.navigationStarted",
"ref": "browsingContext.NavigationStarted"
},
{
"value": "browsingContext.userPromptClosed",
"ref": "browsingContext.UserPromptClosed"
},
{
"value": "browsingContext.userPromptOpened",
"ref": "browsingContext.UserPromptOpened"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"browsingContext.BrowsingContext": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-Browsingcontext"
},
"browsingContext.InfoList": {
"kind": "alias",
"type": {
"list": {
"ref": "browsingContext.Info"
}
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextinfolist"
},
"browsingContext.Info": {
"kind": "record",
"fields": [
{
"name": "children",
"wire": "children",
"required": true,
"type": {
"ref": "browsingContext.InfoList",
"nullable": true
}
},
{
"name": "clientWindow",
"wire": "clientWindow",
"required": true,
"type": {
"ref": "browser.ClientWindow"
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "originalOpener",
"wire": "originalOpener",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": true,
"type": {
"ref": "browser.UserContext"
}
},
{
"name": "parent",
"wire": "parent",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-Info",
"outbound": false,
"inbound": true
},
"browsingContext.Locator": {
"kind": "union",
"variants": [
"browsingContext.AccessibilityLocator",
"browsingContext.CssLocator",
"browsingContext.ContextLocator",
"browsingContext.InnerTextLocator",
"browsingContext.XPathLocator"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-Locator",
"selector": {
"by": "type",
"variants": [
{
"value": "accessibility",
"ref": "browsingContext.AccessibilityLocator"
},
{
"value": "css",
"ref": "browsingContext.CssLocator"
},
{
"value": "context",
"ref": "browsingContext.ContextLocator"
},
{
"value": "innerText",
"ref": "browsingContext.InnerTextLocator"
},
{
"value": "xpath",
"ref": "browsingContext.XPathLocator"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"browsingContext.AccessibilityLocator": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "accessibility"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "browsingContext.AccessibilityLocatorValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextaccessibilitylocator",
"outbound": true,
"inbound": false
},
"browsingContext.CssLocator": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "css"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcsslocator",
"outbound": true,
"inbound": false
},
"browsingContext.ContextLocator": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "context"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "browsingContext.ContextLocatorValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcontextlocator",
"outbound": true,
"inbound": false
},
"browsingContext.InnerTextLocator": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "innerText"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "ignoreCase",
"wire": "ignoreCase",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "matchType",
"wire": "matchType",
"required": false,
"type": {
"ref": "browsingContext.InnerTextLocatorMatchType"
}
},
{
"name": "maxDepth",
"wire": "maxDepth",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextinnertextlocator",
"outbound": true,
"inbound": false
},
"browsingContext.XPathLocator": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "xpath"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextxpathlocator",
"outbound": true,
"inbound": false
},
"browsingContext.Navigation": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-Navigation"
},
"browsingContext.Download": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-Download"
},
"browsingContext.BaseNavigationInfo": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextbasenavigationinfo",
"outbound": false,
"inbound": false
},
"browsingContext.NavigationInfo": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-NavigationInfo",
"outbound": false,
"inbound": true
},
"browsingContext.ReadinessState": {
"kind": "enum",
"values": [
"none",
"interactive",
"complete"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-ReadinessState"
},
"browsingContext.UserPromptType": {
"kind": "enum",
"values": [
"alert",
"beforeunload",
"confirm",
"prompt"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-browsingContext-UserPromptType"
},
"browsingContext.Activate": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.activate"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.ActivateParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextactivate",
"outbound": false,
"inbound": false
},
"browsingContext.ActivateParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextactivateparameters",
"outbound": true,
"inbound": false
},
"browsingContext.ActivateResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextactivateresult"
},
"browsingContext.CaptureScreenshot": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.captureScreenshot"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.CaptureScreenshotParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcapturescreenshot",
"outbound": false,
"inbound": false
},
"browsingContext.CaptureScreenshotParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "origin",
"wire": "origin",
"required": false,
"type": {
"ref": "browsingContext.CaptureScreenshotParametersOrigin"
}
},
{
"name": "format",
"wire": "format",
"required": false,
"type": {
"ref": "browsingContext.ImageFormat"
}
},
{
"name": "clip",
"wire": "clip",
"required": false,
"type": {
"ref": "browsingContext.ClipRectangle"
}
},
{
"name": "imageSize",
"wire": "imageSize",
"required": false,
"type": {
"ref": "browsingContext.ImageSize"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcapturescreenshotparameters",
"outbound": true,
"inbound": false
},
"browsingContext.ImageFormat": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "quality",
"wire": "quality",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextimageformat",
"outbound": true,
"inbound": false
},
"browsingContext.ImageSize": {
"kind": "record",
"fields": [
{
"name": "maxWidth",
"wire": "maxWidth",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "maxHeight",
"wire": "maxHeight",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextimagesize",
"outbound": true,
"inbound": false
},
"browsingContext.ClipRectangle": {
"kind": "union",
"variants": [
"browsingContext.BoxClipRectangle",
"browsingContext.ElementClipRectangle"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcliprectangle",
"selector": {
"by": "type",
"variants": [
{
"value": "box",
"ref": "browsingContext.BoxClipRectangle"
},
{
"value": "element",
"ref": "browsingContext.ElementClipRectangle"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"browsingContext.ElementClipRectangle": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "element"
}
},
{
"name": "element",
"wire": "element",
"required": true,
"type": {
"ref": "script.SharedReference"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextelementcliprectangle",
"outbound": true,
"inbound": false
},
"browsingContext.BoxClipRectangle": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "box"
}
},
{
"name": "x",
"wire": "x",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "y",
"wire": "y",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "width",
"wire": "width",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "height",
"wire": "height",
"required": true,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextboxcliprectangle",
"outbound": true,
"inbound": false
},
"browsingContext.CaptureScreenshotResult": {
"kind": "record",
"fields": [
{
"name": "data",
"wire": "data",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcapturescreenshotresult",
"outbound": false,
"inbound": true
},
"browsingContext.Close": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.close"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.CloseParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextclose",
"outbound": false,
"inbound": false
},
"browsingContext.CloseParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "promptUnload",
"wire": "promptUnload",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcloseparameters",
"outbound": true,
"inbound": false
},
"browsingContext.CloseResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcloseresult"
},
"browsingContext.Create": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.create"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.CreateParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcreate",
"outbound": false,
"inbound": false
},
"browsingContext.CreateType": {
"kind": "enum",
"values": [
"tab",
"window"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcreatetype"
},
"browsingContext.CreateParameters": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "browsingContext.CreateType"
}
},
{
"name": "referenceContext",
"wire": "referenceContext",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "background",
"wire": "background",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcreateparameters",
"outbound": true,
"inbound": false
},
"browsingContext.CreateResult": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcreateresult",
"outbound": false,
"inbound": true
},
"browsingContext.GetTree": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.getTree"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.GetTreeParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextgettree",
"outbound": false,
"inbound": false
},
"browsingContext.GetTreeParameters": {
"kind": "record",
"fields": [
{
"name": "maxDepth",
"wire": "maxDepth",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "root",
"wire": "root",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextgettreeparameters",
"outbound": true,
"inbound": false
},
"browsingContext.GetTreeResult": {
"kind": "record",
"fields": [
{
"name": "contexts",
"wire": "contexts",
"required": true,
"type": {
"ref": "browsingContext.InfoList"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextgettreeresult",
"outbound": false,
"inbound": true
},
"browsingContext.HandleUserPrompt": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.handleUserPrompt"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.HandleUserPromptParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexthandleuserprompt",
"outbound": false,
"inbound": false
},
"browsingContext.HandleUserPromptParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "accept",
"wire": "accept",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "userText",
"wire": "userText",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexthandleuserpromptparameters",
"outbound": true,
"inbound": false
},
"browsingContext.HandleUserPromptResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexthandleuserpromptresult"
},
"browsingContext.LocateNodes": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.locateNodes"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.LocateNodesParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextlocatenodes",
"outbound": false,
"inbound": false
},
"browsingContext.LocateNodesParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "locator",
"wire": "locator",
"required": true,
"type": {
"ref": "browsingContext.Locator"
}
},
{
"name": "maxNodeCount",
"wire": "maxNodeCount",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "serializationOptions",
"wire": "serializationOptions",
"required": false,
"type": {
"ref": "script.SerializationOptions"
}
},
{
"name": "startNodes",
"wire": "startNodes",
"required": false,
"type": {
"list": {
"ref": "script.SharedReference"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextlocatenodesparameters",
"outbound": true,
"inbound": false
},
"browsingContext.LocateNodesResult": {
"kind": "record",
"fields": [
{
"name": "nodes",
"wire": "nodes",
"required": true,
"type": {
"list": {
"ref": "script.NodeRemoteValue"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextlocatenodesresult",
"outbound": false,
"inbound": true
},
"browsingContext.Navigate": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.navigate"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigateParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigate",
"outbound": false,
"inbound": false
},
"browsingContext.NavigateParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "wait",
"wire": "wait",
"required": false,
"type": {
"ref": "browsingContext.ReadinessState"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigateparameters",
"outbound": true,
"inbound": false
},
"browsingContext.NavigateResult": {
"kind": "record",
"fields": [
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigateresult",
"outbound": false,
"inbound": true
},
"browsingContext.Print": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.print"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.PrintParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextprint",
"outbound": false,
"inbound": false
},
"browsingContext.PrintParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "background",
"wire": "background",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "margin",
"wire": "margin",
"required": false,
"type": {
"ref": "browsingContext.PrintMarginParameters"
}
},
{
"name": "orientation",
"wire": "orientation",
"required": false,
"type": {
"ref": "browsingContext.PrintParametersOrientation"
}
},
{
"name": "page",
"wire": "page",
"required": false,
"type": {
"ref": "browsingContext.PrintPageParameters"
}
},
{
"name": "pageRanges",
"wire": "pageRanges",
"required": false,
"type": {
"list": {
"union": [
{
"ref": "js-uint"
},
{
"primitive": "string"
}
],
"scalar": "string"
}
}
},
{
"name": "scale",
"wire": "scale",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "shrinkToFit",
"wire": "shrinkToFit",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextprintparameters",
"outbound": true,
"inbound": false
},
"browsingContext.PrintMarginParameters": {
"kind": "record",
"fields": [
{
"name": "bottom",
"wire": "bottom",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "left",
"wire": "left",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "right",
"wire": "right",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "top",
"wire": "top",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextprintmarginparameters",
"outbound": true,
"inbound": false
},
"browsingContext.PrintPageParameters": {
"kind": "record",
"fields": [
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextprintpageparameters",
"outbound": true,
"inbound": false
},
"browsingContext.PrintResult": {
"kind": "record",
"fields": [
{
"name": "data",
"wire": "data",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextprintresult",
"outbound": false,
"inbound": true
},
"browsingContext.Reload": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.reload"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.ReloadParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextreload",
"outbound": false,
"inbound": false
},
"browsingContext.ReloadParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "ignoreCache",
"wire": "ignoreCache",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "wait",
"wire": "wait",
"required": false,
"type": {
"ref": "browsingContext.ReadinessState"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextreloadparameters",
"outbound": true,
"inbound": false
},
"browsingContext.ReloadResult": {
"kind": "alias",
"type": {
"ref": "browsingContext.NavigateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextreloadresult"
},
"browsingContext.SetBypassCSP": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.setBypassCSP"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.SetBypassCSPParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetbypasscsp",
"outbound": false,
"inbound": false
},
"browsingContext.SetBypassCSPParameters": {
"kind": "record",
"fields": [
{
"name": "bypass",
"wire": "bypass",
"required": true,
"type": {
"const": true,
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetbypasscspparameters",
"outbound": true,
"inbound": false
},
"browsingContext.SetBypassCSPResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetbypasscspresult"
},
"browsingContext.SetViewport": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.setViewport"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.SetViewportParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetviewport",
"outbound": false,
"inbound": false
},
"browsingContext.SetViewportParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "viewport",
"wire": "viewport",
"required": false,
"type": {
"ref": "browsingContext.Viewport",
"nullable": true
}
},
{
"name": "devicePixelRatio",
"wire": "devicePixelRatio",
"required": false,
"type": {
"primitive": "number",
"nullable": true
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetviewportparameters",
"outbound": true,
"inbound": false
},
"browsingContext.Viewport": {
"kind": "record",
"fields": [
{
"name": "width",
"wire": "width",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": true,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextviewport",
"outbound": true,
"inbound": false
},
"browsingContext.SetViewportResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextsetviewportresult"
},
"browsingContext.StartScreencast": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.startScreencast"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.StartScreencastParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstartscreencast",
"outbound": false,
"inbound": false
},
"browsingContext.StartScreencastParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "mimeType",
"wire": "mimeType",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "video",
"wire": "video",
"required": false,
"type": {
"ref": "browsingContext.MediaTrackConstraints"
}
},
{
"name": "audio",
"wire": "audio",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstartscreencastparameters",
"outbound": true,
"inbound": false
},
"browsingContext.MediaTrackConstraints": {
"kind": "record",
"fields": [
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "frameRate",
"wire": "frameRate",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextmediatrackconstraints",
"outbound": true,
"inbound": false
},
"browsingContext.StartScreencastResult": {
"kind": "record",
"fields": [
{
"name": "screencast",
"wire": "screencast",
"required": true,
"type": {
"ref": "browsingContext.Screencast"
}
},
{
"name": "path",
"wire": "path",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstartscreencastresult",
"outbound": false,
"inbound": true
},
"browsingContext.Screencast": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextscreencast"
},
"browsingContext.StopScreencast": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.stopScreencast"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.StopScreencastParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstopscreencast",
"outbound": false,
"inbound": false
},
"browsingContext.StopScreencastParameters": {
"kind": "record",
"fields": [
{
"name": "screencast",
"wire": "screencast",
"required": true,
"type": {
"ref": "browsingContext.Screencast"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstopscreencastparameters",
"outbound": true,
"inbound": false
},
"browsingContext.StopScreencastResult": {
"kind": "record",
"fields": [
{
"name": "path",
"wire": "path",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "error",
"wire": "error",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextstopscreencastresult",
"outbound": false,
"inbound": true
},
"browsingContext.TraverseHistory": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.traverseHistory"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.TraverseHistoryParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexttraversehistory",
"outbound": false,
"inbound": false
},
"browsingContext.TraverseHistoryParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "delta",
"wire": "delta",
"required": true,
"type": {
"ref": "js-int"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexttraversehistoryparameters",
"outbound": true,
"inbound": false
},
"browsingContext.TraverseHistoryResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexttraversehistoryresult"
},
"browsingContext.ContextCreated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.contextCreated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.Info"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcontextcreated",
"outbound": false,
"inbound": false
},
"browsingContext.ContextDestroyed": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.contextDestroyed"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.Info"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextcontextdestroyed",
"outbound": false,
"inbound": false
},
"browsingContext.NavigationStarted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.navigationStarted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigationstarted",
"outbound": false,
"inbound": false
},
"browsingContext.FragmentNavigated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.fragmentNavigated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextfragmentnavigated",
"outbound": false,
"inbound": false
},
"browsingContext.HistoryUpdated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.historyUpdated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.HistoryUpdatedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexthistoryupdated",
"outbound": false,
"inbound": false
},
"browsingContext.HistoryUpdatedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontexthistoryupdatedparameters",
"outbound": false,
"inbound": true
},
"browsingContext.DomContentLoaded": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.domContentLoaded"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextdomcontentloaded",
"outbound": false,
"inbound": false
},
"browsingContext.Load": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.load"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextload",
"outbound": false,
"inbound": false
},
"browsingContext.DownloadWillBegin": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.downloadWillBegin"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.DownloadWillBeginParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextdownloadwillbegin",
"outbound": false,
"inbound": false
},
"browsingContext.DownloadWillBeginParams": {
"kind": "record",
"fields": [
{
"name": "download",
"wire": "download",
"required": true,
"type": {
"ref": "browsingContext.Download"
}
},
{
"name": "suggestedFilename",
"wire": "suggestedFilename",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextdownloadwillbeginparams",
"outbound": false,
"inbound": true
},
"browsingContext.DownloadEnd": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.downloadEnd"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.DownloadEndParams"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextdownloadend",
"outbound": false,
"inbound": false
},
"browsingContext.DownloadEndParams": {
"kind": "union",
"variants": [
"browsingContext.DownloadEndParams_CanceledParams",
"browsingContext.DownloadEndParams_CompleteParams"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextdownloadendparams",
"selector": {
"by": "status",
"variants": [
{
"value": "canceled",
"ref": "browsingContext.DownloadEndParams_CanceledParams"
},
{
"value": "complete",
"ref": "browsingContext.DownloadEndParams_CompleteParams"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": true
},
"browsingContext.NavigationAborted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.navigationAborted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigationaborted",
"outbound": false,
"inbound": false
},
"browsingContext.NavigationCommitted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.navigationCommitted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigationcommitted",
"outbound": false,
"inbound": false
},
"browsingContext.NavigationFailed": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.navigationFailed"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.NavigationInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextnavigationfailed",
"outbound": false,
"inbound": false
},
"browsingContext.UserPromptClosed": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.userPromptClosed"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.UserPromptClosedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextuserpromptclosed",
"outbound": false,
"inbound": false
},
"browsingContext.UserPromptClosedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "accepted",
"wire": "accepted",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "browsingContext.UserPromptType"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
},
{
"name": "userText",
"wire": "userText",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextuserpromptclosedparameters",
"outbound": false,
"inbound": true
},
"browsingContext.UserPromptOpened": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "browsingContext.userPromptOpened"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "browsingContext.UserPromptOpenedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextuserpromptopened",
"outbound": false,
"inbound": false
},
"browsingContext.UserPromptOpenedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "handler",
"wire": "handler",
"required": true,
"type": {
"ref": "session.UserPromptHandlerType"
}
},
{
"name": "message",
"wire": "message",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "browsingContext.UserPromptType"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
},
{
"name": "defaultValue",
"wire": "defaultValue",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-browsingcontextuserpromptopenedparameters",
"outbound": false,
"inbound": true
},
"EmulationCommand": {
"kind": "union",
"variants": [
"emulation.SetForcedColorsModeThemeOverride",
"emulation.SetGeolocationOverride",
"emulation.SetLocaleOverride",
"emulation.SetMediaFeaturesOverride",
"emulation.SetNetworkConditions",
"emulation.SetScreenOrientationOverride",
"emulation.SetScreenSettingsOverride",
"emulation.SetScriptingEnabled",
"emulation.SetScrollbarTypeOverride",
"emulation.SetTimezoneOverride",
"emulation.SetTouchOverride",
"emulation.SetUserAgentOverride",
"emulation.SetViewportMetaOverride"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "emulation.setForcedColorsModeThemeOverride",
"ref": "emulation.SetForcedColorsModeThemeOverride"
},
{
"value": "emulation.setGeolocationOverride",
"ref": "emulation.SetGeolocationOverride"
},
{
"value": "emulation.setLocaleOverride",
"ref": "emulation.SetLocaleOverride"
},
{
"value": "emulation.setMediaFeaturesOverride",
"ref": "emulation.SetMediaFeaturesOverride"
},
{
"value": "emulation.setNetworkConditions",
"ref": "emulation.SetNetworkConditions"
},
{
"value": "emulation.setScreenOrientationOverride",
"ref": "emulation.SetScreenOrientationOverride"
},
{
"value": "emulation.setScreenSettingsOverride",
"ref": "emulation.SetScreenSettingsOverride"
},
{
"value": "emulation.setScriptingEnabled",
"ref": "emulation.SetScriptingEnabled"
},
{
"value": "emulation.setScrollbarTypeOverride",
"ref": "emulation.SetScrollbarTypeOverride"
},
{
"value": "emulation.setTimezoneOverride",
"ref": "emulation.SetTimezoneOverride"
},
{
"value": "emulation.setTouchOverride",
"ref": "emulation.SetTouchOverride"
},
{
"value": "emulation.setUserAgentOverride",
"ref": "emulation.SetUserAgentOverride"
},
{
"value": "emulation.setViewportMetaOverride",
"ref": "emulation.SetViewportMetaOverride"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"EmulationResult": {
"kind": "union",
"variants": [
"emulation.SetForcedColorsModeThemeOverrideResult",
"emulation.SetGeolocationOverrideResult",
"emulation.SetLocaleOverrideResult",
"emulation.SetMediaFeaturesOverrideResult",
"emulation.SetScreenOrientationOverrideResult",
"emulation.SetScriptingEnabledResult",
"emulation.SetScrollbarTypeOverrideResult",
"emulation.SetTimezoneOverrideResult",
"emulation.SetTouchOverrideResult",
"emulation.SetUserAgentOverrideResult",
"emulation.SetViewportMetaOverrideResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"emulation.SetForcedColorsModeThemeOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setForcedColorsModeThemeOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetForcedColorsModeThemeOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetforcedcolorsmodethemeoverride",
"outbound": false,
"inbound": false
},
"emulation.SetForcedColorsModeThemeOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "theme",
"wire": "theme",
"required": true,
"type": {
"ref": "emulation.ForcedColorsModeTheme",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetforcedcolorsmodethemeoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.ForcedColorsModeTheme": {
"kind": "enum",
"values": [
"light",
"dark"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationforcedcolorsmodetheme"
},
"emulation.SetForcedColorsModeThemeOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetforcedcolorsmodethemeoverrideresult"
},
"emulation.SetGeolocationOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setGeolocationOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetGeolocationOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetgeolocationoverride",
"outbound": false,
"inbound": false
},
"emulation.SetGeolocationOverrideParameters": {
"kind": "union",
"variants": [
"emulation.SetGeolocationOverrideParameters_Coordinates",
"emulation.SetGeolocationOverrideParameters_Error"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetgeolocationoverrideparameters",
"selector": {
"ordered": [
{
"ref": "emulation.SetGeolocationOverrideParameters_Coordinates",
"requires": [
"coordinates"
]
},
{
"ref": "emulation.SetGeolocationOverrideParameters_Error",
"requires": [
"error"
]
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"emulation.GeolocationCoordinates": {
"kind": "record",
"fields": [
{
"name": "latitude",
"wire": "latitude",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "longitude",
"wire": "longitude",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "accuracy",
"wire": "accuracy",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "altitude",
"wire": "altitude",
"required": false,
"type": {
"primitive": "number",
"nullable": true
}
},
{
"name": "altitudeAccuracy",
"wire": "altitudeAccuracy",
"required": false,
"type": {
"primitive": "number",
"nullable": true
}
},
{
"name": "heading",
"wire": "heading",
"required": false,
"type": {
"primitive": "number",
"nullable": true
}
},
{
"name": "speed",
"wire": "speed",
"required": false,
"type": {
"primitive": "number",
"nullable": true
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationgeolocationcoordinates",
"outbound": true,
"inbound": false
},
"emulation.GeolocationPositionError": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "positionUnavailable"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationgeolocationpositionerror",
"outbound": true,
"inbound": false
},
"emulation.SetGeolocationOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetgeolocationoverrideresult"
},
"emulation.SetLocaleOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setLocaleOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetLocaleOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetlocaleoverride",
"outbound": false,
"inbound": false
},
"emulation.SetLocaleOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "locale",
"wire": "locale",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetlocaleoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetLocaleOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetlocaleoverrideresult"
},
"emulation.SetMediaFeaturesOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setMediaFeaturesOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetMediaFeaturesOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetmediafeaturesoverride",
"outbound": false,
"inbound": false
},
"emulation.SetMediaFeaturesOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "features",
"wire": "features",
"required": true,
"type": {
"ref": "emulation.MediaFeatures",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetmediafeaturesoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.MediaFeatures": {
"kind": "record",
"fields": [
{
"name": "anyHover",
"wire": "any-hover",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesAnyHover",
"nullable": true
}
},
{
"name": "anyPointer",
"wire": "any-pointer",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesAnyPointer",
"nullable": true
}
},
{
"name": "color",
"wire": "color",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "colorGamut",
"wire": "color-gamut",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesColorGamut",
"nullable": true
}
},
{
"name": "colorIndex",
"wire": "color-index",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "displayMode",
"wire": "display-mode",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesDisplayMode",
"nullable": true
}
},
{
"name": "dynamicRange",
"wire": "dynamic-range",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesDynamicRange",
"nullable": true
}
},
{
"name": "environmentBlending",
"wire": "environment-blending",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesEnvironmentBlending",
"nullable": true
}
},
{
"name": "forcedColors",
"wire": "forced-colors",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesForcedColors",
"nullable": true
}
},
{
"name": "grid",
"wire": "grid",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesGrid",
"nullable": true
}
},
{
"name": "horizontalViewportSegments",
"wire": "horizontal-viewport-segments",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "hover",
"wire": "hover",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesHover",
"nullable": true
}
},
{
"name": "invertedColors",
"wire": "inverted-colors",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesInvertedColors",
"nullable": true
}
},
{
"name": "monochrome",
"wire": "monochrome",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "navControls",
"wire": "nav-controls",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesNavControls",
"nullable": true
}
},
{
"name": "overflowBlock",
"wire": "overflow-block",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesOverflowBlock",
"nullable": true
}
},
{
"name": "overflowInline",
"wire": "overflow-inline",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesOverflowInline",
"nullable": true
}
},
{
"name": "pointer",
"wire": "pointer",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPointer",
"nullable": true
}
},
{
"name": "prefersColorScheme",
"wire": "prefers-color-scheme",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPrefersColorScheme",
"nullable": true
}
},
{
"name": "prefersContrast",
"wire": "prefers-contrast",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPrefersContrast",
"nullable": true
}
},
{
"name": "prefersReducedData",
"wire": "prefers-reduced-data",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPrefersReducedData",
"nullable": true
}
},
{
"name": "prefersReducedMotion",
"wire": "prefers-reduced-motion",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPrefersReducedMotion",
"nullable": true
}
},
{
"name": "prefersReducedTransparency",
"wire": "prefers-reduced-transparency",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesPrefersReducedTransparency",
"nullable": true
}
},
{
"name": "scan",
"wire": "scan",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesScan",
"nullable": true
}
},
{
"name": "scripting",
"wire": "scripting",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesScripting",
"nullable": true
}
},
{
"name": "update",
"wire": "update",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesUpdate",
"nullable": true
}
},
{
"name": "verticalViewportSegments",
"wire": "vertical-viewport-segments",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "videoColorGamut",
"wire": "video-color-gamut",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesVideoColorGamut",
"nullable": true
}
},
{
"name": "videoDynamicRange",
"wire": "video-dynamic-range",
"required": false,
"type": {
"ref": "emulation.MediaFeaturesVideoDynamicRange",
"nullable": true
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationmediafeatures",
"outbound": true,
"inbound": false
},
"emulation.SetMediaFeaturesOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetmediafeaturesoverrideresult"
},
"emulation.SetNetworkConditions": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setNetworkConditions"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetNetworkConditionsParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetnetworkconditions",
"outbound": false,
"inbound": false
},
"emulation.SetNetworkConditionsParameters": {
"kind": "record",
"fields": [
{
"name": "networkConditions",
"wire": "networkConditions",
"required": true,
"type": {
"ref": "emulation.NetworkConditions",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetnetworkconditionsparameters",
"outbound": true,
"inbound": false
},
"emulation.NetworkConditions": {
"kind": "alias",
"type": {
"ref": "emulation.NetworkConditionsOffline"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationnetworkconditions"
},
"emulation.NetworkConditionsOffline": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "offline"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationnetworkconditionsoffline",
"outbound": true,
"inbound": false
},
"emulation.SetNetworkConditionsResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetnetworkconditionsresult"
},
"emulation.SetScreenSettingsOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setScreenSettingsOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetScreenSettingsOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreensettingsoverride",
"outbound": false,
"inbound": false
},
"emulation.ScreenArea": {
"kind": "record",
"fields": [
{
"name": "width",
"wire": "width",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": true,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationscreenarea",
"outbound": true,
"inbound": false
},
"emulation.SetScreenSettingsOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "screenArea",
"wire": "screenArea",
"required": true,
"type": {
"ref": "emulation.ScreenArea",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreensettingsoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetScreenSettingsOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreensettingsoverrideresult"
},
"emulation.SetScreenOrientationOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setScreenOrientationOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetScreenOrientationOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreenorientationoverride",
"outbound": false,
"inbound": false
},
"emulation.ScreenOrientationNatural": {
"kind": "enum",
"values": [
"portrait",
"landscape"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationscreenorientationnatural"
},
"emulation.ScreenOrientationType": {
"kind": "enum",
"values": [
"portrait-primary",
"portrait-secondary",
"landscape-primary",
"landscape-secondary"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationscreenorientationtype"
},
"emulation.ScreenOrientation": {
"kind": "record",
"fields": [
{
"name": "natural",
"wire": "natural",
"required": true,
"type": {
"ref": "emulation.ScreenOrientationNatural"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "emulation.ScreenOrientationType"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationscreenorientation",
"outbound": true,
"inbound": false
},
"emulation.SetScreenOrientationOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "screenOrientation",
"wire": "screenOrientation",
"required": true,
"type": {
"ref": "emulation.ScreenOrientation",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreenorientationoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetScreenOrientationOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscreenorientationoverrideresult"
},
"emulation.SetUserAgentOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setUserAgentOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetUserAgentOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetuseragentoverride",
"outbound": false,
"inbound": false
},
"emulation.SetUserAgentOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "userAgent",
"wire": "userAgent",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetuseragentoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetUserAgentOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetuseragentoverrideresult"
},
"emulation.SetViewportMetaOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setViewportMetaOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetViewportMetaOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetviewportmetaoverride",
"outbound": false,
"inbound": false
},
"emulation.SetViewportMetaOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "viewportMeta",
"wire": "viewportMeta",
"required": true,
"type": {
"const": true,
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetviewportmetaoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetViewportMetaOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetviewportmetaoverrideresult"
},
"emulation.SetScriptingEnabled": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setScriptingEnabled"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetScriptingEnabledParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscriptingenabled",
"outbound": false,
"inbound": false
},
"emulation.SetScriptingEnabledParameters": {
"kind": "record",
"fields": [
{
"name": "enabled",
"wire": "enabled",
"required": true,
"type": {
"const": false,
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscriptingenabledparameters",
"outbound": true,
"inbound": false
},
"emulation.SetScriptingEnabledResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscriptingenabledresult"
},
"emulation.SetScrollbarTypeOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setScrollbarTypeOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetScrollbarTypeOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscrollbartypeoverride",
"outbound": false,
"inbound": false
},
"emulation.SetScrollbarTypeOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "scrollbarType",
"wire": "scrollbarType",
"required": true,
"type": {
"ref": "emulation.SetScrollbarTypeOverrideParametersScrollbarType",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscrollbartypeoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetScrollbarTypeOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsetscrollbartypeoverrideresult"
},
"emulation.SetTimezoneOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setTimezoneOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetTimezoneOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettimezoneoverride",
"outbound": false,
"inbound": false
},
"emulation.SetTimezoneOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "timezone",
"wire": "timezone",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettimezoneoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetTimezoneOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettimezoneoverrideresult"
},
"emulation.SetTouchOverride": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "emulation.setTouchOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "emulation.SetTouchOverrideParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettouchoverride",
"outbound": false,
"inbound": false
},
"emulation.SetTouchOverrideParameters": {
"kind": "record",
"fields": [
{
"name": "maxTouchPoints",
"wire": "maxTouchPoints",
"required": true,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettouchoverrideparameters",
"outbound": true,
"inbound": false
},
"emulation.SetTouchOverrideResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-emulationsettouchoverrideresult"
},
"NetworkCommand": {
"kind": "union",
"variants": [
"network.AddDataCollector",
"network.AddIntercept",
"network.ContinueRequest",
"network.ContinueResponse",
"network.ContinueWithAuth",
"network.DisownData",
"network.FailRequest",
"network.GetData",
"network.ProvideResponse",
"network.RemoveDataCollector",
"network.RemoveIntercept",
"network.SetCacheBehavior",
"network.SetExtraHeaders"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "network.addDataCollector",
"ref": "network.AddDataCollector"
},
{
"value": "network.addIntercept",
"ref": "network.AddIntercept"
},
{
"value": "network.continueRequest",
"ref": "network.ContinueRequest"
},
{
"value": "network.continueResponse",
"ref": "network.ContinueResponse"
},
{
"value": "network.continueWithAuth",
"ref": "network.ContinueWithAuth"
},
{
"value": "network.disownData",
"ref": "network.DisownData"
},
{
"value": "network.failRequest",
"ref": "network.FailRequest"
},
{
"value": "network.getData",
"ref": "network.GetData"
},
{
"value": "network.provideResponse",
"ref": "network.ProvideResponse"
},
{
"value": "network.removeDataCollector",
"ref": "network.RemoveDataCollector"
},
{
"value": "network.removeIntercept",
"ref": "network.RemoveIntercept"
},
{
"value": "network.setCacheBehavior",
"ref": "network.SetCacheBehavior"
},
{
"value": "network.setExtraHeaders",
"ref": "network.SetExtraHeaders"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"NetworkResult": {
"kind": "union",
"variants": [
"network.AddDataCollectorResult",
"network.AddInterceptResult",
"network.ContinueRequestResult",
"network.ContinueResponseResult",
"network.ContinueWithAuthResult",
"network.DisownDataResult",
"network.FailRequestResult",
"network.GetDataResult",
"network.ProvideResponseResult",
"network.RemoveDataCollectorResult",
"network.RemoveInterceptResult",
"network.SetCacheBehaviorResult",
"network.SetExtraHeadersResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"NetworkEvent": {
"kind": "union",
"variants": [
"network.AuthRequired",
"network.BeforeRequestSent",
"network.FetchError",
"network.ResponseCompleted",
"network.ResponseStarted"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkevent",
"selector": {
"by": "method",
"variants": [
{
"value": "network.authRequired",
"ref": "network.AuthRequired"
},
{
"value": "network.beforeRequestSent",
"ref": "network.BeforeRequestSent"
},
{
"value": "network.fetchError",
"ref": "network.FetchError"
},
{
"value": "network.responseCompleted",
"ref": "network.ResponseCompleted"
},
{
"value": "network.responseStarted",
"ref": "network.ResponseStarted"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"network.AuthChallenge": {
"kind": "record",
"fields": [
{
"name": "scheme",
"wire": "scheme",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-AuthChallenge",
"outbound": false,
"inbound": true
},
"network.AuthCredentials": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "password"
}
},
{
"name": "username",
"wire": "username",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "password",
"wire": "password",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-AuthCredentials",
"outbound": true,
"inbound": false
},
"network.BaseParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-BaseParameters",
"outbound": false,
"inbound": false
},
"network.BytesValue": {
"kind": "union",
"variants": [
"network.StringValue",
"network.Base64Value"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-BytesValue",
"selector": {
"by": "type",
"variants": [
{
"value": "string",
"ref": "network.StringValue"
},
{
"value": "base64",
"ref": "network.Base64Value"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": true
},
"network.StringValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkstringvalue",
"outbound": true,
"inbound": true
},
"network.Base64Value": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "base64"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkbase64value",
"outbound": true,
"inbound": true
},
"network.Collector": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Collector"
},
"network.CollectorType": {
"kind": "enum",
"values": [
"blob"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-CollectorType"
},
"network.SameSite": {
"kind": "enum",
"values": [
"strict",
"lax",
"none",
"default"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksamesite"
},
"network.Cookie": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "domain",
"wire": "domain",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "path",
"wire": "path",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "size",
"wire": "size",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "httpOnly",
"wire": "httpOnly",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "secure",
"wire": "secure",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "sameSite",
"wire": "sameSite",
"required": true,
"type": {
"ref": "network.SameSite"
}
},
{
"name": "expiry",
"wire": "expiry",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Cookie",
"outbound": false,
"inbound": true
},
"network.CookieHeader": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "network.BytesValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-CookieHeader",
"outbound": true,
"inbound": false
},
"network.DataType": {
"kind": "enum",
"values": [
"request",
"response"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-dataType"
},
"network.FetchTimingInfo": {
"kind": "record",
"fields": [
{
"name": "timeOrigin",
"wire": "timeOrigin",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "requestTime",
"wire": "requestTime",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "redirectStart",
"wire": "redirectStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "redirectEnd",
"wire": "redirectEnd",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "fetchStart",
"wire": "fetchStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "dnsStart",
"wire": "dnsStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "dnsEnd",
"wire": "dnsEnd",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "connectStart",
"wire": "connectStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "connectEnd",
"wire": "connectEnd",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "tlsStart",
"wire": "tlsStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "requestStart",
"wire": "requestStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "responseStart",
"wire": "responseStart",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "responseEnd",
"wire": "responseEnd",
"required": true,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-FetchTimingInfo",
"outbound": false,
"inbound": true
},
"network.Header": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "network.BytesValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Header",
"outbound": true,
"inbound": true
},
"network.Initiator": {
"kind": "record",
"fields": [
{
"name": "columnNumber",
"wire": "columnNumber",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "lineNumber",
"wire": "lineNumber",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": false,
"type": {
"ref": "network.Request"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": false,
"type": {
"ref": "script.StackTrace"
}
},
{
"name": "type",
"wire": "type",
"required": false,
"type": {
"ref": "network.InitiatorType"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Initiator",
"outbound": false,
"inbound": true
},
"network.Intercept": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Intercept"
},
"network.Request": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-Request"
},
"network.RequestData": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "headers",
"wire": "headers",
"required": true,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "cookies",
"wire": "cookies",
"required": true,
"type": {
"list": {
"ref": "network.Cookie"
}
}
},
{
"name": "headersSize",
"wire": "headersSize",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "bodySize",
"wire": "bodySize",
"required": true,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "destination",
"wire": "destination",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "initiatorType",
"wire": "initiatorType",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "timings",
"wire": "timings",
"required": true,
"type": {
"ref": "network.FetchTimingInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-RequestData",
"outbound": false,
"inbound": true
},
"network.ResponseContent": {
"kind": "record",
"fields": [
{
"name": "size",
"wire": "size",
"required": true,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-ResponseContent",
"outbound": false,
"inbound": true
},
"network.ResponseData": {
"kind": "record",
"fields": [
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "protocol",
"wire": "protocol",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "status",
"wire": "status",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "statusText",
"wire": "statusText",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "fromCache",
"wire": "fromCache",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "headers",
"wire": "headers",
"required": true,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "mimeType",
"wire": "mimeType",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "bytesReceived",
"wire": "bytesReceived",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "headersSize",
"wire": "headersSize",
"required": true,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "bodySize",
"wire": "bodySize",
"required": true,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "content",
"wire": "content",
"required": true,
"type": {
"ref": "network.ResponseContent"
}
},
{
"name": "authChallenges",
"wire": "authChallenges",
"required": false,
"type": {
"list": {
"ref": "network.AuthChallenge"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-ResponseData",
"outbound": false,
"inbound": true
},
"network.SetCookieHeader": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "domain",
"wire": "domain",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "httpOnly",
"wire": "httpOnly",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "expiry",
"wire": "expiry",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "maxAge",
"wire": "maxAge",
"required": false,
"type": {
"ref": "js-int"
}
},
{
"name": "path",
"wire": "path",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "sameSite",
"wire": "sameSite",
"required": false,
"type": {
"ref": "network.SameSite"
}
},
{
"name": "secure",
"wire": "secure",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-SetCookieHeader",
"outbound": true,
"inbound": false
},
"network.UrlPattern": {
"kind": "union",
"variants": [
"network.UrlPatternPattern",
"network.UrlPatternString"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-network-UrlPattern",
"selector": {
"by": "type",
"variants": [
{
"value": "pattern",
"ref": "network.UrlPatternPattern"
},
{
"value": "string",
"ref": "network.UrlPatternString"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"network.UrlPatternPattern": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pattern"
}
},
{
"name": "protocol",
"wire": "protocol",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "hostname",
"wire": "hostname",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "port",
"wire": "port",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "pathname",
"wire": "pathname",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "search",
"wire": "search",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkurlpatternpattern",
"outbound": true,
"inbound": false
},
"network.UrlPatternString": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "string"
}
},
{
"name": "pattern",
"wire": "pattern",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkurlpatternstring",
"outbound": true,
"inbound": false
},
"network.AddDataCollector": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.addDataCollector"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.AddDataCollectorParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkadddatacollector",
"outbound": false,
"inbound": false
},
"network.AddDataCollectorParameters": {
"kind": "record",
"fields": [
{
"name": "dataTypes",
"wire": "dataTypes",
"required": true,
"type": {
"list": {
"ref": "network.DataType"
}
}
},
{
"name": "maxEncodedDataSize",
"wire": "maxEncodedDataSize",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "collectorType",
"wire": "collectorType",
"required": false,
"type": {
"ref": "network.CollectorType"
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkadddatacollectorparameters",
"outbound": true,
"inbound": false
},
"network.AddDataCollectorResult": {
"kind": "record",
"fields": [
{
"name": "collector",
"wire": "collector",
"required": true,
"type": {
"ref": "network.Collector"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkadddatacollectorresult",
"outbound": false,
"inbound": true
},
"network.AddIntercept": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.addIntercept"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.AddInterceptParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkaddintercept",
"outbound": false,
"inbound": false
},
"network.AddInterceptParameters": {
"kind": "record",
"fields": [
{
"name": "phases",
"wire": "phases",
"required": true,
"type": {
"list": {
"ref": "network.InterceptPhase"
}
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "urlPatterns",
"wire": "urlPatterns",
"required": false,
"type": {
"list": {
"ref": "network.UrlPattern"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkaddinterceptparameters",
"outbound": true,
"inbound": false
},
"network.InterceptPhase": {
"kind": "enum",
"values": [
"beforeRequestSent",
"responseStarted",
"authRequired"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkinterceptphase"
},
"network.AddInterceptResult": {
"kind": "record",
"fields": [
{
"name": "intercept",
"wire": "intercept",
"required": true,
"type": {
"ref": "network.Intercept"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkaddinterceptresult",
"outbound": false,
"inbound": true
},
"network.ContinueRequest": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.continueRequest"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ContinueRequestParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuerequest",
"outbound": false,
"inbound": false
},
"network.ContinueRequestParameters": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "body",
"wire": "body",
"required": false,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "cookies",
"wire": "cookies",
"required": false,
"type": {
"list": {
"ref": "network.CookieHeader"
}
}
},
{
"name": "headers",
"wire": "headers",
"required": false,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "method",
"wire": "method",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "url",
"wire": "url",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuerequestparameters",
"outbound": true,
"inbound": false
},
"network.ContinueRequestResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuerequestresult"
},
"network.ContinueResponse": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.continueResponse"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ContinueResponseParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinueresponse",
"outbound": false,
"inbound": false
},
"network.ContinueResponseParameters": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "cookies",
"wire": "cookies",
"required": false,
"type": {
"list": {
"ref": "network.SetCookieHeader"
}
}
},
{
"name": "credentials",
"wire": "credentials",
"required": false,
"type": {
"ref": "network.AuthCredentials"
}
},
{
"name": "headers",
"wire": "headers",
"required": false,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "reasonPhrase",
"wire": "reasonPhrase",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "statusCode",
"wire": "statusCode",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinueresponseparameters",
"outbound": true,
"inbound": false
},
"network.ContinueResponseResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinueresponseresult"
},
"network.ContinueWithAuth": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.continueWithAuth"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ContinueWithAuthParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuewithauth",
"outbound": false,
"inbound": false
},
"network.ContinueWithAuthParameters": {
"kind": "union",
"variants": [
"network.ContinueWithAuthParameters_Credentials",
"network.ContinueWithAuthParameters_NoCredentials"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuewithauthparameters",
"selector": {
"by": "action",
"variants": [
{
"value": "provideCredentials",
"ref": "network.ContinueWithAuthParameters_Credentials"
}
],
"default": "network.ContinueWithAuthParameters_NoCredentials"
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"network.ContinueWithAuthResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkcontinuewithauthresult"
},
"network.DisownData": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.disownData"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.DisownDataParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkdisowndata",
"outbound": false,
"inbound": false
},
"network.DisownDataParameters": {
"kind": "record",
"fields": [
{
"name": "dataType",
"wire": "dataType",
"required": true,
"type": {
"ref": "network.DataType"
}
},
{
"name": "collector",
"wire": "collector",
"required": true,
"type": {
"ref": "network.Collector"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkdisowndataparameters",
"outbound": true,
"inbound": false
},
"network.DisownDataResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkdisowndataresult"
},
"network.FailRequest": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.failRequest"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.FailRequestParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkfailrequest",
"outbound": false,
"inbound": false
},
"network.FailRequestParameters": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkfailrequestparameters",
"outbound": true,
"inbound": false
},
"network.FailRequestResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkfailrequestresult"
},
"network.GetData": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.getData"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.GetDataParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkgetdata",
"outbound": false,
"inbound": false
},
"network.GetDataParameters": {
"kind": "record",
"fields": [
{
"name": "dataType",
"wire": "dataType",
"required": true,
"type": {
"ref": "network.DataType"
}
},
{
"name": "collector",
"wire": "collector",
"required": false,
"type": {
"ref": "network.Collector"
}
},
{
"name": "disown",
"wire": "disown",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkgetdataparameters",
"outbound": true,
"inbound": false
},
"network.GetDataResult": {
"kind": "record",
"fields": [
{
"name": "bytes",
"wire": "bytes",
"required": true,
"type": {
"ref": "network.BytesValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkgetdataresult",
"outbound": false,
"inbound": true
},
"network.ProvideResponse": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.provideResponse"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ProvideResponseParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkprovideresponse",
"outbound": false,
"inbound": false
},
"network.ProvideResponseParameters": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "body",
"wire": "body",
"required": false,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "cookies",
"wire": "cookies",
"required": false,
"type": {
"list": {
"ref": "network.SetCookieHeader"
}
}
},
{
"name": "headers",
"wire": "headers",
"required": false,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "reasonPhrase",
"wire": "reasonPhrase",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "statusCode",
"wire": "statusCode",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkprovideresponseparameters",
"outbound": true,
"inbound": false
},
"network.ProvideResponseResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkprovideresponseresult"
},
"network.RemoveDataCollector": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.removeDataCollector"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.RemoveDataCollectorParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremovedatacollector",
"outbound": false,
"inbound": false
},
"network.RemoveDataCollectorParameters": {
"kind": "record",
"fields": [
{
"name": "collector",
"wire": "collector",
"required": true,
"type": {
"ref": "network.Collector"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremovedatacollectorparameters",
"outbound": true,
"inbound": false
},
"network.RemoveDataCollectorResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremovedatacollectorresult"
},
"network.RemoveIntercept": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.removeIntercept"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.RemoveInterceptParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremoveintercept",
"outbound": false,
"inbound": false
},
"network.RemoveInterceptParameters": {
"kind": "record",
"fields": [
{
"name": "intercept",
"wire": "intercept",
"required": true,
"type": {
"ref": "network.Intercept"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremoveinterceptparameters",
"outbound": true,
"inbound": false
},
"network.RemoveInterceptResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkremoveinterceptresult"
},
"network.SetCacheBehavior": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.setCacheBehavior"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.SetCacheBehaviorParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetcachebehavior",
"outbound": false,
"inbound": false
},
"network.SetCacheBehaviorParameters": {
"kind": "record",
"fields": [
{
"name": "cacheBehavior",
"wire": "cacheBehavior",
"required": true,
"type": {
"ref": "network.SetCacheBehaviorParametersCacheBehavior"
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetcachebehaviorparameters",
"outbound": true,
"inbound": false
},
"network.SetCacheBehaviorResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetcachebehaviorresult"
},
"network.SetExtraHeaders": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.setExtraHeaders"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.SetExtraHeadersParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetextraheaders",
"outbound": false,
"inbound": false
},
"network.SetExtraHeadersParameters": {
"kind": "record",
"fields": [
{
"name": "headers",
"wire": "headers",
"required": true,
"type": {
"list": {
"ref": "network.Header"
}
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetextraheadersparameters",
"outbound": true,
"inbound": false
},
"network.SetExtraHeadersResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networksetextraheadersresult"
},
"network.AuthRequired": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.authRequired"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.AuthRequiredParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkauthrequired",
"outbound": false,
"inbound": false
},
"network.AuthRequiredParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
},
{
"name": "response",
"wire": "response",
"required": true,
"type": {
"ref": "network.ResponseData"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkauthrequiredparameters",
"outbound": false,
"inbound": true
},
"network.BeforeRequestSent": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.beforeRequestSent"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.BeforeRequestSentParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkbeforerequestsent",
"outbound": false,
"inbound": false
},
"network.BeforeRequestSentParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
},
{
"name": "initiator",
"wire": "initiator",
"required": false,
"type": {
"ref": "network.Initiator"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkbeforerequestsentparameters",
"outbound": false,
"inbound": true
},
"network.FetchError": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.fetchError"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.FetchErrorParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkfetcherror",
"outbound": false,
"inbound": false
},
"network.FetchErrorParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
},
{
"name": "errorText",
"wire": "errorText",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkfetcherrorparameters",
"outbound": false,
"inbound": true
},
"network.ResponseCompleted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.responseCompleted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ResponseCompletedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkresponsecompleted",
"outbound": false,
"inbound": false
},
"network.ResponseCompletedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
},
{
"name": "response",
"wire": "response",
"required": true,
"type": {
"ref": "network.ResponseData"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkresponsecompletedparameters",
"outbound": false,
"inbound": true
},
"network.ResponseStarted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "network.responseStarted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "network.ResponseStartedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkresponsestarted",
"outbound": false,
"inbound": false
},
"network.ResponseStartedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext",
"nullable": true
}
},
{
"name": "isBlocked",
"wire": "isBlocked",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "redirectCount",
"wire": "redirectCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.RequestData"
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext",
"nullable": true
}
},
{
"name": "intercepts",
"wire": "intercepts",
"required": false,
"type": {
"list": {
"ref": "network.Intercept"
}
}
},
{
"name": "response",
"wire": "response",
"required": true,
"type": {
"ref": "network.ResponseData"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-networkresponsestartedparameters",
"outbound": false,
"inbound": true
},
"ScriptCommand": {
"kind": "union",
"variants": [
"script.AddPreloadScript",
"script.CallFunction",
"script.Disown",
"script.Evaluate",
"script.GetRealms",
"script.RemovePreloadScript"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "script.addPreloadScript",
"ref": "script.AddPreloadScript"
},
{
"value": "script.callFunction",
"ref": "script.CallFunction"
},
{
"value": "script.disown",
"ref": "script.Disown"
},
{
"value": "script.evaluate",
"ref": "script.Evaluate"
},
{
"value": "script.getRealms",
"ref": "script.GetRealms"
},
{
"value": "script.removePreloadScript",
"ref": "script.RemovePreloadScript"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"ScriptResult": {
"kind": "union",
"variants": [
"script.AddPreloadScriptResult",
"script.CallFunctionResult",
"script.DisownResult",
"script.EvaluateResult",
"script.GetRealmsResult",
"script.RemovePreloadScriptResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"ScriptEvent": {
"kind": "union",
"variants": [
"script.Message",
"script.RealmCreated",
"script.RealmDestroyed"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptevent",
"selector": {
"by": "method",
"variants": [
{
"value": "script.message",
"ref": "script.Message"
},
{
"value": "script.realmCreated",
"ref": "script.RealmCreated"
},
{
"value": "script.realmDestroyed",
"ref": "script.RealmDestroyed"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"script.Channel": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-Channel"
},
"script.ChannelValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "channel"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.ChannelProperties"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-ChannelValue",
"outbound": true,
"inbound": false
},
"script.ChannelProperties": {
"kind": "record",
"fields": [
{
"name": "channel",
"wire": "channel",
"required": true,
"type": {
"ref": "script.Channel"
}
},
{
"name": "serializationOptions",
"wire": "serializationOptions",
"required": false,
"type": {
"ref": "script.SerializationOptions"
}
},
{
"name": "ownership",
"wire": "ownership",
"required": false,
"type": {
"ref": "script.ResultOwnership"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptchannelproperties",
"outbound": true,
"inbound": false
},
"script.EvaluateResult": {
"kind": "union",
"variants": [
"script.EvaluateResultSuccess",
"script.EvaluateResultException"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-EvaluateResult",
"selector": {
"by": "type",
"variants": [
{
"value": "success",
"ref": "script.EvaluateResultSuccess"
},
{
"value": "exception",
"ref": "script.EvaluateResultException"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": true
},
"script.EvaluateResultSuccess": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "success"
}
},
{
"name": "result",
"wire": "result",
"required": true,
"type": {
"ref": "script.RemoteValue"
}
},
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptevaluateresultsuccess",
"outbound": false,
"inbound": true
},
"script.EvaluateResultException": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "exception"
}
},
{
"name": "exceptionDetails",
"wire": "exceptionDetails",
"required": true,
"type": {
"ref": "script.ExceptionDetails"
}
},
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptevaluateresultexception",
"outbound": false,
"inbound": true
},
"script.ExceptionDetails": {
"kind": "record",
"fields": [
{
"name": "columnNumber",
"wire": "columnNumber",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "exception",
"wire": "exception",
"required": true,
"type": {
"ref": "script.RemoteValue"
}
},
{
"name": "lineNumber",
"wire": "lineNumber",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": true,
"type": {
"ref": "script.StackTrace"
}
},
{
"name": "text",
"wire": "text",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-ExceptionDetails",
"outbound": false,
"inbound": true
},
"script.Handle": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-Handle"
},
"script.InternalId": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-InternalId"
},
"script.LocalValue": {
"kind": "union",
"variants": [
"script.RemoteReference",
"script.PrimitiveProtocolValue",
"script.ChannelValue",
"script.ArrayLocalValue",
"script.DateLocalValue",
"script.MapLocalValue",
"script.ObjectLocalValue",
"script.RegExpLocalValue",
"script.SetLocalValue"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-LocalValue",
"selector": {
"by": "type",
"variants": [
{
"value": "undefined",
"ref": "script.UndefinedValue"
},
{
"value": "null",
"ref": "script.NullValue"
},
{
"value": "string",
"ref": "script.StringValue"
},
{
"value": "number",
"ref": "script.NumberValue"
},
{
"value": "boolean",
"ref": "script.BooleanValue"
},
{
"value": "bigint",
"ref": "script.BigIntValue"
},
{
"value": "channel",
"ref": "script.ChannelValue"
},
{
"value": "array",
"ref": "script.ArrayLocalValue"
},
{
"value": "date",
"ref": "script.DateLocalValue"
},
{
"value": "map",
"ref": "script.MapLocalValue"
},
{
"value": "object",
"ref": "script.ObjectLocalValue"
},
{
"value": "regexp",
"ref": "script.RegExpLocalValue"
},
{
"value": "set",
"ref": "script.SetLocalValue"
}
],
"default": "script.RemoteReference"
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"script.ListLocalValue": {
"kind": "alias",
"type": {
"list": {
"ref": "script.LocalValue"
}
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptlistlocalvalue"
},
"script.ArrayLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "array"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.ListLocalValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptarraylocalvalue",
"outbound": true,
"inbound": false
},
"script.DateLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "date"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdatelocalvalue",
"outbound": true,
"inbound": false
},
"script.MappingLocalValue": {
"kind": "alias",
"type": {
"list": {
"list": {
"union": [
{
"ref": "script.LocalValue"
},
{
"primitive": "string"
}
],
"scalar": "string"
}
}
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmappinglocalvalue"
},
"script.MapLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "map"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.MappingLocalValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmaplocalvalue",
"outbound": true,
"inbound": false
},
"script.ObjectLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "object"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.MappingLocalValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptobjectlocalvalue",
"outbound": true,
"inbound": false
},
"script.RegExpValue": {
"kind": "record",
"fields": [
{
"name": "pattern",
"wire": "pattern",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "flags",
"wire": "flags",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptregexpvalue",
"outbound": true,
"inbound": true
},
"script.RegExpLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "regexp"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.RegExpValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptregexplocalvalue",
"outbound": true,
"inbound": false
},
"script.SetLocalValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "set"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.ListLocalValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptsetlocalvalue",
"outbound": true,
"inbound": false
},
"script.PreloadScript": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-PreloadScript"
},
"script.Realm": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-Realm"
},
"script.PrimitiveProtocolValue": {
"kind": "union",
"variants": [
"script.UndefinedValue",
"script.NullValue",
"script.StringValue",
"script.NumberValue",
"script.BooleanValue",
"script.BigIntValue"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-PrimitiveProtocolValue",
"selector": {
"by": "type",
"variants": [
{
"value": "undefined",
"ref": "script.UndefinedValue"
},
{
"value": "null",
"ref": "script.NullValue"
},
{
"value": "string",
"ref": "script.StringValue"
},
{
"value": "number",
"ref": "script.NumberValue"
},
{
"value": "boolean",
"ref": "script.BooleanValue"
},
{
"value": "bigint",
"ref": "script.BigIntValue"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": true
},
"script.UndefinedValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "undefined"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptundefinedvalue",
"outbound": true,
"inbound": true
},
"script.NullValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "null"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptnullvalue",
"outbound": true,
"inbound": true
},
"script.StringValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptstringvalue",
"outbound": true,
"inbound": true
},
"script.SpecialNumber": {
"kind": "enum",
"values": [
"NaN",
"-0",
"Infinity",
"-Infinity"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptspecialnumber"
},
"script.NumberValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "number"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"union": [
{
"primitive": "number"
},
{
"ref": "script.SpecialNumber"
}
],
"scalar": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptnumbervalue",
"outbound": true,
"inbound": true
},
"script.BooleanValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "boolean"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptbooleanvalue",
"outbound": true,
"inbound": true
},
"script.BigIntValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "bigint"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptbigintvalue",
"outbound": true,
"inbound": true
},
"script.RealmInfo": {
"kind": "union",
"variants": [
"script.WindowRealmInfo",
"script.DedicatedWorkerRealmInfo",
"script.SharedWorkerRealmInfo",
"script.ServiceWorkerRealmInfo",
"script.WorkerRealmInfo",
"script.PaintWorkletRealmInfo",
"script.AudioWorkletRealmInfo",
"script.WorkletRealmInfo"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-RealmInfo",
"selector": {
"by": "type",
"variants": [
{
"value": "window",
"ref": "script.WindowRealmInfo"
},
{
"value": "dedicated-worker",
"ref": "script.DedicatedWorkerRealmInfo"
},
{
"value": "shared-worker",
"ref": "script.SharedWorkerRealmInfo"
},
{
"value": "service-worker",
"ref": "script.ServiceWorkerRealmInfo"
},
{
"value": "worker",
"ref": "script.WorkerRealmInfo"
},
{
"value": "paint-worklet",
"ref": "script.PaintWorkletRealmInfo"
},
{
"value": "audio-worklet",
"ref": "script.AudioWorkletRealmInfo"
},
{
"value": "worklet",
"ref": "script.WorkletRealmInfo"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": true
},
"script.BaseRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptbaserealminfo",
"outbound": false,
"inbound": false
},
"script.WindowRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "window"
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
},
{
"name": "sandbox",
"wire": "sandbox",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptwindowrealminfo",
"outbound": false,
"inbound": true
},
"script.DedicatedWorkerRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "dedicated-worker"
}
},
{
"name": "owners",
"wire": "owners",
"required": true,
"type": {
"list": {
"ref": "script.Realm"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdedicatedworkerrealminfo",
"outbound": false,
"inbound": true
},
"script.SharedWorkerRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "shared-worker"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptsharedworkerrealminfo",
"outbound": false,
"inbound": true
},
"script.ServiceWorkerRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "service-worker"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptserviceworkerrealminfo",
"outbound": false,
"inbound": true
},
"script.WorkerRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "worker"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptworkerrealminfo",
"outbound": false,
"inbound": true
},
"script.PaintWorkletRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "paint-worklet"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptpaintworkletrealminfo",
"outbound": false,
"inbound": true
},
"script.AudioWorkletRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "audio-worklet"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptaudioworkletrealminfo",
"outbound": false,
"inbound": true
},
"script.WorkletRealmInfo": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "worklet"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptworkletrealminfo",
"outbound": false,
"inbound": true
},
"script.RealmType": {
"kind": "enum",
"values": [
"window",
"dedicated-worker",
"shared-worker",
"service-worker",
"worker",
"paint-worklet",
"audio-worklet",
"worklet"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-RealmType"
},
"script.RemoteReference": {
"kind": "union",
"variants": [
"script.SharedReference",
"script.RemoteObjectReference"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-RemoteReference",
"selector": {
"ordered": [
{
"ref": "script.SharedReference",
"requires": [
"sharedId"
]
},
{
"ref": "script.RemoteObjectReference",
"requires": [
"handle"
]
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"script.SharedReference": {
"kind": "record",
"fields": [
{
"name": "sharedId",
"wire": "sharedId",
"required": true,
"type": {
"ref": "script.SharedId"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptsharedreference",
"outbound": true,
"inbound": true
},
"script.RemoteObjectReference": {
"kind": "record",
"fields": [
{
"name": "handle",
"wire": "handle",
"required": true,
"type": {
"ref": "script.Handle"
}
},
{
"name": "sharedId",
"wire": "sharedId",
"required": false,
"type": {
"ref": "script.SharedId"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptremoteobjectreference",
"outbound": true,
"inbound": false
},
"script.RemoteValue": {
"kind": "union",
"variants": [
"script.PrimitiveProtocolValue",
"script.SymbolRemoteValue",
"script.ArrayRemoteValue",
"script.ObjectRemoteValue",
"script.FunctionRemoteValue",
"script.RegExpRemoteValue",
"script.DateRemoteValue",
"script.MapRemoteValue",
"script.SetRemoteValue",
"script.WeakMapRemoteValue",
"script.WeakSetRemoteValue",
"script.GeneratorRemoteValue",
"script.ErrorRemoteValue",
"script.ProxyRemoteValue",
"script.PromiseRemoteValue",
"script.TypedArrayRemoteValue",
"script.ArrayBufferRemoteValue",
"script.NodeListRemoteValue",
"script.HTMLCollectionRemoteValue",
"script.NodeRemoteValue",
"script.WindowProxyRemoteValue"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-RemoteValue",
"selector": {
"by": "type",
"variants": [
{
"value": "undefined",
"ref": "script.UndefinedValue"
},
{
"value": "null",
"ref": "script.NullValue"
},
{
"value": "string",
"ref": "script.StringValue"
},
{
"value": "number",
"ref": "script.NumberValue"
},
{
"value": "boolean",
"ref": "script.BooleanValue"
},
{
"value": "bigint",
"ref": "script.BigIntValue"
},
{
"value": "symbol",
"ref": "script.SymbolRemoteValue"
},
{
"value": "array",
"ref": "script.ArrayRemoteValue"
},
{
"value": "object",
"ref": "script.ObjectRemoteValue"
},
{
"value": "function",
"ref": "script.FunctionRemoteValue"
},
{
"value": "regexp",
"ref": "script.RegExpRemoteValue"
},
{
"value": "date",
"ref": "script.DateRemoteValue"
},
{
"value": "map",
"ref": "script.MapRemoteValue"
},
{
"value": "set",
"ref": "script.SetRemoteValue"
},
{
"value": "weakmap",
"ref": "script.WeakMapRemoteValue"
},
{
"value": "weakset",
"ref": "script.WeakSetRemoteValue"
},
{
"value": "generator",
"ref": "script.GeneratorRemoteValue"
},
{
"value": "error",
"ref": "script.ErrorRemoteValue"
},
{
"value": "proxy",
"ref": "script.ProxyRemoteValue"
},
{
"value": "promise",
"ref": "script.PromiseRemoteValue"
},
{
"value": "typedarray",
"ref": "script.TypedArrayRemoteValue"
},
{
"value": "arraybuffer",
"ref": "script.ArrayBufferRemoteValue"
},
{
"value": "nodelist",
"ref": "script.NodeListRemoteValue"
},
{
"value": "htmlcollection",
"ref": "script.HTMLCollectionRemoteValue"
},
{
"value": "node",
"ref": "script.NodeRemoteValue"
},
{
"value": "window",
"ref": "script.WindowProxyRemoteValue"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": true
},
"script.ListRemoteValue": {
"kind": "alias",
"type": {
"list": {
"ref": "script.RemoteValue"
}
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptlistremotevalue"
},
"script.MappingRemoteValue": {
"kind": "alias",
"type": {
"list": {
"list": {
"union": [
{
"ref": "script.RemoteValue"
},
{
"primitive": "string"
}
],
"scalar": "string"
}
}
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmappingremotevalue"
},
"script.SymbolRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "symbol"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptsymbolremotevalue",
"outbound": false,
"inbound": true
},
"script.ArrayRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "array"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.ListRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptarrayremotevalue",
"outbound": false,
"inbound": true
},
"script.ObjectRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "object"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.MappingRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptobjectremotevalue",
"outbound": false,
"inbound": true
},
"script.FunctionRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "function"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptfunctionremotevalue",
"outbound": false,
"inbound": true
},
"script.RegExpRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "regexp"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.RegExpValue"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptregexpremotevalue",
"outbound": false,
"inbound": true
},
"script.DateRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "date"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdateremotevalue",
"outbound": false,
"inbound": true
},
"script.MapRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "map"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.MappingRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmapremotevalue",
"outbound": false,
"inbound": true
},
"script.SetRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "set"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.ListRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptsetremotevalue",
"outbound": false,
"inbound": true
},
"script.WeakMapRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "weakmap"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptweakmapremotevalue",
"outbound": false,
"inbound": true
},
"script.WeakSetRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "weakset"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptweaksetremotevalue",
"outbound": false,
"inbound": true
},
"script.GeneratorRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "generator"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptgeneratorremotevalue",
"outbound": false,
"inbound": true
},
"script.ErrorRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "error"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scripterrorremotevalue",
"outbound": false,
"inbound": true
},
"script.ProxyRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "proxy"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptproxyremotevalue",
"outbound": false,
"inbound": true
},
"script.PromiseRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "promise"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptpromiseremotevalue",
"outbound": false,
"inbound": true
},
"script.TypedArrayRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "typedarray"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scripttypedarrayremotevalue",
"outbound": false,
"inbound": true
},
"script.ArrayBufferRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "arraybuffer"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptarraybufferremotevalue",
"outbound": false,
"inbound": true
},
"script.NodeListRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "nodelist"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.ListRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptnodelistremotevalue",
"outbound": false,
"inbound": true
},
"script.HTMLCollectionRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "htmlcollection"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.ListRemoteValue"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scripthtmlcollectionremotevalue",
"outbound": false,
"inbound": true
},
"script.NodeRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "node"
}
},
{
"name": "sharedId",
"wire": "sharedId",
"required": false,
"type": {
"ref": "script.SharedId"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "script.NodeProperties"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptnoderemotevalue",
"outbound": false,
"inbound": true
},
"script.NodeProperties": {
"kind": "record",
"fields": [
{
"name": "nodeType",
"wire": "nodeType",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "childNodeCount",
"wire": "childNodeCount",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "attributes",
"wire": "attributes",
"required": false,
"type": {
"ref": "script.NodePropertiesAttributes"
}
},
{
"name": "children",
"wire": "children",
"required": false,
"type": {
"list": {
"ref": "script.NodeRemoteValue"
}
}
},
{
"name": "localName",
"wire": "localName",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "mode",
"wire": "mode",
"required": false,
"type": {
"ref": "script.NodePropertiesMode"
}
},
{
"name": "namespaceURI",
"wire": "namespaceURI",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "nodeValue",
"wire": "nodeValue",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "shadowRoot",
"wire": "shadowRoot",
"required": false,
"type": {
"ref": "script.NodeRemoteValue",
"nullable": true
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptnodeproperties",
"outbound": false,
"inbound": true
},
"script.WindowProxyRemoteValue": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "window"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "script.WindowProxyProperties"
}
},
{
"name": "handle",
"wire": "handle",
"required": false,
"type": {
"ref": "script.Handle"
}
},
{
"name": "internalId",
"wire": "internalId",
"required": false,
"type": {
"ref": "script.InternalId"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptwindowproxyremotevalue",
"outbound": false,
"inbound": true
},
"script.WindowProxyProperties": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptwindowproxyproperties",
"outbound": false,
"inbound": true
},
"script.ResultOwnership": {
"kind": "enum",
"values": [
"root",
"none"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-ResultOwnership"
},
"script.SerializationOptions": {
"kind": "record",
"fields": [
{
"name": "maxDomDepth",
"wire": "maxDomDepth",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "maxObjectDepth",
"wire": "maxObjectDepth",
"required": false,
"type": {
"ref": "js-uint",
"nullable": true
}
},
{
"name": "includeShadowTree",
"wire": "includeShadowTree",
"required": false,
"type": {
"ref": "script.SerializationOptionsIncludeShadowTree"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-SerializationOptions",
"outbound": true,
"inbound": false
},
"script.SharedId": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-SharedId"
},
"script.StackFrame": {
"kind": "record",
"fields": [
{
"name": "columnNumber",
"wire": "columnNumber",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "functionName",
"wire": "functionName",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "lineNumber",
"wire": "lineNumber",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-StackFrame",
"outbound": false,
"inbound": true
},
"script.StackTrace": {
"kind": "record",
"fields": [
{
"name": "callFrames",
"wire": "callFrames",
"required": true,
"type": {
"list": {
"ref": "script.StackFrame"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-StackTrace",
"outbound": false,
"inbound": true
},
"script.Source": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
},
{
"name": "context",
"wire": "context",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-Source",
"outbound": false,
"inbound": true
},
"script.RealmTarget": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptrealmtarget",
"outbound": true,
"inbound": false
},
"script.ContextTarget": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "sandbox",
"wire": "sandbox",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptcontexttarget",
"outbound": true,
"inbound": false
},
"script.Target": {
"kind": "union",
"variants": [
"script.ContextTarget",
"script.RealmTarget"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#type-script-Target",
"selector": {
"ordered": [
{
"ref": "script.ContextTarget",
"requires": [
"context"
]
},
{
"ref": "script.RealmTarget",
"requires": [
"realm"
]
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"script.AddPreloadScript": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.addPreloadScript"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.AddPreloadScriptParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptaddpreloadscript",
"outbound": false,
"inbound": false
},
"script.AddPreloadScriptParameters": {
"kind": "record",
"fields": [
{
"name": "functionDeclaration",
"wire": "functionDeclaration",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "arguments",
"wire": "arguments",
"required": false,
"type": {
"list": {
"ref": "script.ChannelValue"
}
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
},
{
"name": "sandbox",
"wire": "sandbox",
"required": false,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptaddpreloadscriptparameters",
"outbound": true,
"inbound": false
},
"script.AddPreloadScriptResult": {
"kind": "record",
"fields": [
{
"name": "script",
"wire": "script",
"required": true,
"type": {
"ref": "script.PreloadScript"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptaddpreloadscriptresult",
"outbound": false,
"inbound": true
},
"script.Disown": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.disown"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.DisownParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdisown",
"outbound": false,
"inbound": false
},
"script.DisownParameters": {
"kind": "record",
"fields": [
{
"name": "handles",
"wire": "handles",
"required": true,
"type": {
"list": {
"ref": "script.Handle"
}
}
},
{
"name": "target",
"wire": "target",
"required": true,
"type": {
"ref": "script.Target"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdisownparameters",
"outbound": true,
"inbound": false
},
"script.DisownResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptdisownresult"
},
"script.CallFunction": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.callFunction"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.CallFunctionParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptcallfunction",
"outbound": false,
"inbound": false
},
"script.CallFunctionParameters": {
"kind": "record",
"fields": [
{
"name": "functionDeclaration",
"wire": "functionDeclaration",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "awaitPromise",
"wire": "awaitPromise",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "target",
"wire": "target",
"required": true,
"type": {
"ref": "script.Target"
}
},
{
"name": "arguments",
"wire": "arguments",
"required": false,
"type": {
"list": {
"ref": "script.LocalValue"
}
}
},
{
"name": "resultOwnership",
"wire": "resultOwnership",
"required": false,
"type": {
"ref": "script.ResultOwnership"
}
},
{
"name": "serializationOptions",
"wire": "serializationOptions",
"required": false,
"type": {
"ref": "script.SerializationOptions"
}
},
{
"name": "this",
"wire": "this",
"required": false,
"type": {
"ref": "script.LocalValue"
}
},
{
"name": "userActivation",
"wire": "userActivation",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptcallfunctionparameters",
"outbound": true,
"inbound": false
},
"script.CallFunctionResult": {
"kind": "alias",
"type": {
"ref": "script.EvaluateResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptcallfunctionresult"
},
"script.Evaluate": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.evaluate"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.EvaluateParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptevaluate",
"outbound": false,
"inbound": false
},
"script.EvaluateParameters": {
"kind": "record",
"fields": [
{
"name": "expression",
"wire": "expression",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "target",
"wire": "target",
"required": true,
"type": {
"ref": "script.Target"
}
},
{
"name": "awaitPromise",
"wire": "awaitPromise",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "resultOwnership",
"wire": "resultOwnership",
"required": false,
"type": {
"ref": "script.ResultOwnership"
}
},
{
"name": "serializationOptions",
"wire": "serializationOptions",
"required": false,
"type": {
"ref": "script.SerializationOptions"
}
},
{
"name": "userActivation",
"wire": "userActivation",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptevaluateparameters",
"outbound": true,
"inbound": false
},
"script.GetRealms": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.getRealms"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.GetRealmsParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptgetrealms",
"outbound": false,
"inbound": false
},
"script.GetRealmsParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": false,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "type",
"wire": "type",
"required": false,
"type": {
"ref": "script.RealmType"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptgetrealmsparameters",
"outbound": true,
"inbound": false
},
"script.GetRealmsResult": {
"kind": "record",
"fields": [
{
"name": "realms",
"wire": "realms",
"required": true,
"type": {
"list": {
"ref": "script.RealmInfo"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptgetrealmsresult",
"outbound": false,
"inbound": true
},
"script.RemovePreloadScript": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.removePreloadScript"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.RemovePreloadScriptParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptremovepreloadscript",
"outbound": false,
"inbound": false
},
"script.RemovePreloadScriptParameters": {
"kind": "record",
"fields": [
{
"name": "script",
"wire": "script",
"required": true,
"type": {
"ref": "script.PreloadScript"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptremovepreloadscriptparameters",
"outbound": true,
"inbound": false
},
"script.RemovePreloadScriptResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptremovepreloadscriptresult"
},
"script.Message": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.message"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.MessageParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmessage",
"outbound": false,
"inbound": false
},
"script.MessageParameters": {
"kind": "record",
"fields": [
{
"name": "channel",
"wire": "channel",
"required": true,
"type": {
"ref": "script.Channel"
}
},
{
"name": "data",
"wire": "data",
"required": true,
"type": {
"ref": "script.RemoteValue"
}
},
{
"name": "source",
"wire": "source",
"required": true,
"type": {
"ref": "script.Source"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptmessageparameters",
"outbound": false,
"inbound": true
},
"script.RealmCreated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.realmCreated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.RealmInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptrealmcreated",
"outbound": false,
"inbound": false
},
"script.RealmDestroyed": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "script.realmDestroyed"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "script.RealmDestroyedParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptrealmdestroyed",
"outbound": false,
"inbound": false
},
"script.RealmDestroyedParameters": {
"kind": "record",
"fields": [
{
"name": "realm",
"wire": "realm",
"required": true,
"type": {
"ref": "script.Realm"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-scriptrealmdestroyedparameters",
"outbound": false,
"inbound": true
},
"StorageCommand": {
"kind": "union",
"variants": [
"storage.DeleteCookies",
"storage.GetCookies",
"storage.SetCookie"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagecommand",
"selector": {
"by": "method",
"variants": [
{
"value": "storage.deleteCookies",
"ref": "storage.DeleteCookies"
},
{
"value": "storage.getCookies",
"ref": "storage.GetCookies"
},
{
"value": "storage.setCookie",
"ref": "storage.SetCookie"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"StorageResult": {
"kind": "union",
"variants": [
"storage.DeleteCookiesResult",
"storage.GetCookiesResult",
"storage.SetCookieResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storageresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"storage.PartitionKey": {
"kind": "record",
"fields": [
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "sourceOrigin",
"wire": "sourceOrigin",
"required": false,
"type": {
"primitive": "string"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey",
"outbound": false,
"inbound": true
},
"storage.GetCookies": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "storage.getCookies"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "storage.GetCookiesParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagegetcookies",
"outbound": false,
"inbound": false
},
"storage.CookieFilter": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": false,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "domain",
"wire": "domain",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "path",
"wire": "path",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "size",
"wire": "size",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "httpOnly",
"wire": "httpOnly",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "secure",
"wire": "secure",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "sameSite",
"wire": "sameSite",
"required": false,
"type": {
"ref": "network.SameSite"
}
},
{
"name": "expiry",
"wire": "expiry",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagecookiefilter",
"outbound": true,
"inbound": false
},
"storage.BrowsingContextPartitionDescriptor": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "context"
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagebrowsingcontextpartitiondescriptor",
"outbound": true,
"inbound": false
},
"storage.StorageKeyPartitionDescriptor": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "storageKey"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "sourceOrigin",
"wire": "sourceOrigin",
"required": false,
"type": {
"primitive": "string"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagestoragekeypartitiondescriptor",
"outbound": true,
"inbound": false
},
"storage.PartitionDescriptor": {
"kind": "union",
"variants": [
"storage.BrowsingContextPartitionDescriptor",
"storage.StorageKeyPartitionDescriptor"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagepartitiondescriptor",
"selector": {
"by": "type",
"variants": [
{
"value": "context",
"ref": "storage.BrowsingContextPartitionDescriptor"
},
{
"value": "storageKey",
"ref": "storage.StorageKeyPartitionDescriptor"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"storage.GetCookiesParameters": {
"kind": "record",
"fields": [
{
"name": "filter",
"wire": "filter",
"required": false,
"type": {
"ref": "storage.CookieFilter"
}
},
{
"name": "partition",
"wire": "partition",
"required": false,
"type": {
"ref": "storage.PartitionDescriptor"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagegetcookiesparameters",
"outbound": true,
"inbound": false
},
"storage.GetCookiesResult": {
"kind": "record",
"fields": [
{
"name": "cookies",
"wire": "cookies",
"required": true,
"type": {
"list": {
"ref": "network.Cookie"
}
}
},
{
"name": "partitionKey",
"wire": "partitionKey",
"required": true,
"type": {
"ref": "storage.PartitionKey"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagegetcookiesresult",
"outbound": false,
"inbound": true
},
"storage.SetCookie": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "storage.setCookie"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "storage.SetCookieParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagesetcookie",
"outbound": false,
"inbound": false
},
"storage.PartialCookie": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"ref": "network.BytesValue"
}
},
{
"name": "domain",
"wire": "domain",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "path",
"wire": "path",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "httpOnly",
"wire": "httpOnly",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "secure",
"wire": "secure",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "sameSite",
"wire": "sameSite",
"required": false,
"type": {
"ref": "network.SameSite"
}
},
{
"name": "expiry",
"wire": "expiry",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagepartialcookie",
"outbound": true,
"inbound": false
},
"storage.SetCookieParameters": {
"kind": "record",
"fields": [
{
"name": "cookie",
"wire": "cookie",
"required": true,
"type": {
"ref": "storage.PartialCookie"
}
},
{
"name": "partition",
"wire": "partition",
"required": false,
"type": {
"ref": "storage.PartitionDescriptor"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagesetcookieparameters",
"outbound": true,
"inbound": false
},
"storage.SetCookieResult": {
"kind": "record",
"fields": [
{
"name": "partitionKey",
"wire": "partitionKey",
"required": true,
"type": {
"ref": "storage.PartitionKey"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagesetcookieresult",
"outbound": false,
"inbound": true
},
"storage.DeleteCookies": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "storage.deleteCookies"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "storage.DeleteCookiesParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagedeletecookies",
"outbound": false,
"inbound": false
},
"storage.DeleteCookiesParameters": {
"kind": "record",
"fields": [
{
"name": "filter",
"wire": "filter",
"required": false,
"type": {
"ref": "storage.CookieFilter"
}
},
{
"name": "partition",
"wire": "partition",
"required": false,
"type": {
"ref": "storage.PartitionDescriptor"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagedeletecookiesparameters",
"outbound": true,
"inbound": false
},
"storage.DeleteCookiesResult": {
"kind": "record",
"fields": [
{
"name": "partitionKey",
"wire": "partitionKey",
"required": true,
"type": {
"ref": "storage.PartitionKey"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-storagedeletecookiesresult",
"outbound": false,
"inbound": true
},
"LogEvent": {
"kind": "alias",
"type": {
"ref": "log.EntryAdded"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logevent"
},
"log.Level": {
"kind": "enum",
"values": [
"debug",
"info",
"warn",
"error"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-loglevel"
},
"log.Entry": {
"kind": "union",
"variants": [
"log.GenericLogEntry",
"log.ConsoleLogEntry",
"log.JavascriptLogEntry"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logentry",
"selector": {
"by": "type",
"variants": [
{
"value": "console",
"ref": "log.ConsoleLogEntry"
},
{
"value": "javascript",
"ref": "log.JavascriptLogEntry"
}
],
"default": "log.GenericLogEntry"
},
"objectOnly": true,
"outbound": false,
"inbound": true
},
"log.BaseLogEntry": {
"kind": "record",
"fields": [
{
"name": "level",
"wire": "level",
"required": true,
"type": {
"ref": "log.Level"
}
},
{
"name": "source",
"wire": "source",
"required": true,
"type": {
"ref": "script.Source"
}
},
{
"name": "text",
"wire": "text",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": false,
"type": {
"ref": "script.StackTrace"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logbaselogentry",
"outbound": false,
"inbound": false
},
"log.GenericLogEntry": {
"kind": "record",
"fields": [
{
"name": "level",
"wire": "level",
"required": true,
"type": {
"ref": "log.Level"
}
},
{
"name": "source",
"wire": "source",
"required": true,
"type": {
"ref": "script.Source"
}
},
{
"name": "text",
"wire": "text",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": false,
"type": {
"ref": "script.StackTrace"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-loggenericlogentry",
"outbound": false,
"inbound": true
},
"log.ConsoleLogEntry": {
"kind": "record",
"fields": [
{
"name": "level",
"wire": "level",
"required": true,
"type": {
"ref": "log.Level"
}
},
{
"name": "source",
"wire": "source",
"required": true,
"type": {
"ref": "script.Source"
}
},
{
"name": "text",
"wire": "text",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": false,
"type": {
"ref": "script.StackTrace"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "console"
}
},
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "args",
"wire": "args",
"required": true,
"type": {
"list": {
"ref": "script.RemoteValue"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logconsolelogentry",
"outbound": false,
"inbound": true
},
"log.JavascriptLogEntry": {
"kind": "record",
"fields": [
{
"name": "level",
"wire": "level",
"required": true,
"type": {
"ref": "log.Level"
}
},
{
"name": "source",
"wire": "source",
"required": true,
"type": {
"ref": "script.Source"
}
},
{
"name": "text",
"wire": "text",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "stackTrace",
"wire": "stackTrace",
"required": false,
"type": {
"ref": "script.StackTrace"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "javascript"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logjavascriptlogentry",
"outbound": false,
"inbound": true
},
"log.EntryAdded": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "log.entryAdded"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "log.Entry"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-logentryadded",
"outbound": false,
"inbound": false
},
"InputCommand": {
"kind": "union",
"variants": [
"input.PerformActions",
"input.ReleaseActions",
"input.SetFiles"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "input.performActions",
"ref": "input.PerformActions"
},
{
"value": "input.releaseActions",
"ref": "input.ReleaseActions"
},
{
"value": "input.setFiles",
"ref": "input.SetFiles"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"InputResult": {
"kind": "union",
"variants": [
"input.PerformActionsResult",
"input.ReleaseActionsResult",
"input.SetFilesResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"InputEvent": {
"kind": "alias",
"type": {
"ref": "input.FileDialogOpened"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputevent"
},
"input.ElementOrigin": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "element"
}
},
{
"name": "element",
"wire": "element",
"required": true,
"type": {
"ref": "script.SharedReference"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputelementorigin",
"outbound": true,
"inbound": false
},
"input.PerformActions": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "input.performActions"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "input.PerformActionsParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputperformactions",
"outbound": false,
"inbound": false
},
"input.PerformActionsParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "actions",
"wire": "actions",
"required": true,
"type": {
"list": {
"ref": "input.SourceActions"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputperformactionsparameters",
"outbound": true,
"inbound": false
},
"input.SourceActions": {
"kind": "union",
"variants": [
"input.NoneSourceActions",
"input.KeySourceActions",
"input.PointerSourceActions",
"input.WheelSourceActions"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputsourceactions",
"selector": {
"by": "type",
"variants": [
{
"value": "none",
"ref": "input.NoneSourceActions"
},
{
"value": "key",
"ref": "input.KeySourceActions"
},
{
"value": "pointer",
"ref": "input.PointerSourceActions"
},
{
"value": "wheel",
"ref": "input.WheelSourceActions"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"input.NoneSourceActions": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "none"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "actions",
"wire": "actions",
"required": true,
"type": {
"list": {
"ref": "input.NoneSourceAction"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputnonesourceactions",
"outbound": true,
"inbound": false
},
"input.NoneSourceAction": {
"kind": "alias",
"type": {
"ref": "input.PauseAction"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputnonesourceaction"
},
"input.KeySourceActions": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "key"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "actions",
"wire": "actions",
"required": true,
"type": {
"list": {
"ref": "input.KeySourceAction"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputkeysourceactions",
"outbound": true,
"inbound": false
},
"input.KeySourceAction": {
"kind": "union",
"variants": [
"input.PauseAction",
"input.KeyDownAction",
"input.KeyUpAction"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputkeysourceaction",
"selector": {
"by": "type",
"variants": [
{
"value": "pause",
"ref": "input.PauseAction"
},
{
"value": "keyDown",
"ref": "input.KeyDownAction"
},
{
"value": "keyUp",
"ref": "input.KeyUpAction"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"input.PointerSourceActions": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pointer"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "parameters",
"wire": "parameters",
"required": false,
"type": {
"ref": "input.PointerParameters"
}
},
{
"name": "actions",
"wire": "actions",
"required": true,
"type": {
"list": {
"ref": "input.PointerSourceAction"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointersourceactions",
"outbound": true,
"inbound": false
},
"input.PointerType": {
"kind": "enum",
"values": [
"mouse",
"pen",
"touch"
],
"primitive": "string",
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointertype"
},
"input.PointerParameters": {
"kind": "record",
"fields": [
{
"name": "pointerType",
"wire": "pointerType",
"required": false,
"type": {
"ref": "input.PointerType"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointerparameters",
"outbound": true,
"inbound": false
},
"input.PointerSourceAction": {
"kind": "union",
"variants": [
"input.PauseAction",
"input.PointerDownAction",
"input.PointerUpAction",
"input.PointerMoveAction"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointersourceaction",
"selector": {
"by": "type",
"variants": [
{
"value": "pause",
"ref": "input.PauseAction"
},
{
"value": "pointerDown",
"ref": "input.PointerDownAction"
},
{
"value": "pointerUp",
"ref": "input.PointerUpAction"
},
{
"value": "pointerMove",
"ref": "input.PointerMoveAction"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"input.WheelSourceActions": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "wheel"
}
},
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "actions",
"wire": "actions",
"required": true,
"type": {
"list": {
"ref": "input.WheelSourceAction"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputwheelsourceactions",
"outbound": true,
"inbound": false
},
"input.WheelSourceAction": {
"kind": "union",
"variants": [
"input.PauseAction",
"input.WheelScrollAction"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputwheelsourceaction",
"selector": {
"by": "type",
"variants": [
{
"value": "pause",
"ref": "input.PauseAction"
},
{
"value": "scroll",
"ref": "input.WheelScrollAction"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"input.PauseAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pause"
}
},
{
"name": "duration",
"wire": "duration",
"required": false,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpauseaction",
"outbound": true,
"inbound": false
},
"input.KeyDownAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "keyDown"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputkeydownaction",
"outbound": true,
"inbound": false
},
"input.KeyUpAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "keyUp"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputkeyupaction",
"outbound": true,
"inbound": false
},
"input.PointerUpAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pointerUp"
}
},
{
"name": "button",
"wire": "button",
"required": true,
"type": {
"ref": "js-uint"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointerupaction",
"outbound": true,
"inbound": false
},
"input.PointerDownAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pointerDown"
}
},
{
"name": "button",
"wire": "button",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "pressure",
"wire": "pressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "tangentialPressure",
"wire": "tangentialPressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "twist",
"wire": "twist",
"required": false,
"type": {
"primitive": "integer"
}
},
{
"name": "altitudeAngle",
"wire": "altitudeAngle",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "azimuthAngle",
"wire": "azimuthAngle",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointerdownaction",
"outbound": true,
"inbound": false
},
"input.PointerMoveAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "pointerMove"
}
},
{
"name": "x",
"wire": "x",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "y",
"wire": "y",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "duration",
"wire": "duration",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "origin",
"wire": "origin",
"required": false,
"type": {
"ref": "input.Origin"
}
},
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "pressure",
"wire": "pressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "tangentialPressure",
"wire": "tangentialPressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "twist",
"wire": "twist",
"required": false,
"type": {
"primitive": "integer"
}
},
{
"name": "altitudeAngle",
"wire": "altitudeAngle",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "azimuthAngle",
"wire": "azimuthAngle",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointermoveaction",
"outbound": true,
"inbound": false
},
"input.WheelScrollAction": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "scroll"
}
},
{
"name": "x",
"wire": "x",
"required": true,
"type": {
"ref": "js-int"
}
},
{
"name": "y",
"wire": "y",
"required": true,
"type": {
"ref": "js-int"
}
},
{
"name": "deltaX",
"wire": "deltaX",
"required": true,
"type": {
"ref": "js-int"
}
},
{
"name": "deltaY",
"wire": "deltaY",
"required": true,
"type": {
"ref": "js-int"
}
},
{
"name": "duration",
"wire": "duration",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "origin",
"wire": "origin",
"required": false,
"type": {
"ref": "input.Origin"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputwheelscrollaction",
"outbound": true,
"inbound": false
},
"input.PointerCommonProperties": {
"kind": "record",
"fields": [
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "pressure",
"wire": "pressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "tangentialPressure",
"wire": "tangentialPressure",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "twist",
"wire": "twist",
"required": false,
"type": {
"primitive": "integer"
}
},
{
"name": "altitudeAngle",
"wire": "altitudeAngle",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "azimuthAngle",
"wire": "azimuthAngle",
"required": false,
"type": {
"primitive": "number"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputpointercommonproperties",
"outbound": false,
"inbound": false
},
"input.Origin": {
"kind": "alias",
"type": {
"union": [
{
"const": "viewport"
},
{
"const": "pointer"
},
{
"ref": "input.ElementOrigin"
}
],
"scalar": "string",
"scalarValues": [
"viewport",
"pointer"
]
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-input-origin"
},
"input.PerformActionsResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputperformactionsresult"
},
"input.ReleaseActions": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "input.releaseActions"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "input.ReleaseActionsParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputreleaseactions",
"outbound": false,
"inbound": false
},
"input.ReleaseActionsParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputreleaseactionsparameters",
"outbound": true,
"inbound": false
},
"input.ReleaseActionsResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputreleaseactionsresult"
},
"input.SetFiles": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "input.setFiles"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "input.SetFilesParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputsetfiles",
"outbound": false,
"inbound": false
},
"input.SetFilesParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "element",
"wire": "element",
"required": true,
"type": {
"ref": "script.SharedReference"
}
},
{
"name": "files",
"wire": "files",
"required": true,
"type": {
"list": {
"primitive": "string"
}
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputsetfilesparameters",
"outbound": true,
"inbound": false
},
"input.SetFilesResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputsetfilesresult"
},
"input.FileDialogOpened": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "input.fileDialogOpened"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "input.FileDialogInfo"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputfiledialogopened",
"outbound": false,
"inbound": false
},
"input.FileDialogInfo": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
},
{
"name": "element",
"wire": "element",
"required": false,
"type": {
"ref": "script.SharedReference"
}
},
{
"name": "multiple",
"wire": "multiple",
"required": true,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-inputfiledialoginfo",
"outbound": false,
"inbound": true
},
"WebExtensionCommand": {
"kind": "union",
"variants": [
"webExtension.Install",
"webExtension.Uninstall"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensioncommand",
"selector": {
"by": "method",
"variants": [
{
"value": "webExtension.install",
"ref": "webExtension.Install"
},
{
"value": "webExtension.uninstall",
"ref": "webExtension.Uninstall"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"WebExtensionResult": {
"kind": "union",
"variants": [
"webExtension.InstallResult",
"webExtension.UninstallResult"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionresult",
"selector": {
"correlated": true
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"webExtension.Extension": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#type-webExtension-Extension"
},
"webExtension.Install": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "webExtension.install"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "webExtension.InstallParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensioninstall",
"outbound": false,
"inbound": false
},
"webExtension.ExtensionData": {
"kind": "union",
"variants": [
"webExtension.ExtensionArchivePath",
"webExtension.ExtensionBase64Encoded",
"webExtension.ExtensionPath"
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionextensiondata",
"selector": {
"by": "type",
"variants": [
{
"value": "archivePath",
"ref": "webExtension.ExtensionArchivePath"
},
{
"value": "base64",
"ref": "webExtension.ExtensionBase64Encoded"
},
{
"value": "path",
"ref": "webExtension.ExtensionPath"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"webExtension.ExtensionPath": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "path"
}
},
{
"name": "path",
"wire": "path",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionextensionpath",
"outbound": true,
"inbound": false
},
"webExtension.ExtensionArchivePath": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "archivePath"
}
},
{
"name": "path",
"wire": "path",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionextensionarchivepath",
"outbound": true,
"inbound": false
},
"webExtension.ExtensionBase64Encoded": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "base64"
}
},
{
"name": "value",
"wire": "value",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionextensionbase64encoded",
"outbound": true,
"inbound": false
},
"webExtension.InstallResult": {
"kind": "record",
"fields": [
{
"name": "extension",
"wire": "extension",
"required": true,
"type": {
"ref": "webExtension.Extension"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensioninstallresult",
"outbound": false,
"inbound": true
},
"webExtension.Uninstall": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "webExtension.uninstall"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "webExtension.UninstallParameters"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionuninstall",
"outbound": false,
"inbound": false
},
"webExtension.UninstallParameters": {
"kind": "record",
"fields": [
{
"name": "extension",
"wire": "extension",
"required": true,
"type": {
"ref": "webExtension.Extension"
}
}
],
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionuninstallparameters",
"outbound": true,
"inbound": false
},
"webExtension.UninstallResult": {
"kind": "alias",
"type": {
"ref": "EmptyResult"
},
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensionuninstallresult"
},
"PermissionsCommand": {
"kind": "alias",
"type": {
"ref": "permissions.setPermission"
}
},
"permissions.PermissionDescriptor": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
}
],
"outbound": true,
"inbound": false
},
"permissions.PermissionState": {
"kind": "enum",
"values": [
"granted",
"denied",
"prompt"
],
"primitive": "string"
},
"permissions.setPermission": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "permissions.setPermission"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "permissions.SetPermissionParameters"
}
}
],
"outbound": false,
"inbound": false
},
"permissions.SetPermissionParameters": {
"kind": "record",
"fields": [
{
"name": "descriptor",
"wire": "descriptor",
"required": true,
"type": {
"ref": "permissions.PermissionDescriptor"
}
},
{
"name": "state",
"wire": "state",
"required": true,
"type": {
"ref": "permissions.PermissionState"
}
},
{
"name": "origin",
"wire": "origin",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "embeddedOrigin",
"wire": "embeddedOrigin",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"primitive": "string"
}
}
],
"outbound": true,
"inbound": false
},
"speculation.PreloadingStatus": {
"kind": "enum",
"values": [
"pending",
"ready",
"success",
"failure"
],
"primitive": "string",
"specHref": "https://wicg.github.io/nav-speculation/prefetch.html#cddl-type-speculationpreloadingstatus"
},
"SpeculationEvent": {
"kind": "alias",
"type": {
"ref": "speculation.PrefetchStatusUpdated"
},
"specHref": "https://wicg.github.io/nav-speculation/prefetch.html#cddl-type-speculationevent"
},
"speculation.PrefetchStatusUpdated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "speculation.prefetchStatusUpdated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "speculation.PrefetchStatusUpdatedParameters"
}
}
],
"specHref": "https://wicg.github.io/nav-speculation/prefetch.html#cddl-type-speculationprefetchstatusupdated",
"outbound": false,
"inbound": false
},
"speculation.PrefetchStatusUpdatedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "status",
"wire": "status",
"required": true,
"type": {
"ref": "speculation.PreloadingStatus"
}
}
],
"specHref": "https://wicg.github.io/nav-speculation/prefetch.html#cddl-type-speculationprefetchstatusupdatedparameters",
"outbound": false,
"inbound": true
},
"UserAgentClientHintsCommand": {
"kind": "alias",
"type": {
"ref": "userAgentClientHints.SetClientHintsOverrideCommand"
},
"specHref": "https://wicg.github.io/ua-client-hints/#cddl-type-useragentclienthintscommand"
},
"userAgentClientHints.SetClientHintsOverrideCommand": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "userAgentClientHints.setClientHintsOverride"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "userAgentClientHints.SetClientHintsOverrideCommandParams"
}
}
],
"specHref": "https://wicg.github.io/ua-client-hints/#cddl-type-useragentclienthintssetclienthintsoverridecommand",
"outbound": false,
"inbound": false
},
"userAgentClientHints.ClientHintsMetadata": {
"kind": "record",
"fields": [
{
"name": "brands",
"wire": "brands",
"required": false,
"type": {
"list": {
"ref": "userAgentClientHints.BrandVersion"
}
}
},
{
"name": "fullVersionList",
"wire": "fullVersionList",
"required": false,
"type": {
"list": {
"ref": "userAgentClientHints.BrandVersion"
}
}
},
{
"name": "platform",
"wire": "platform",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "platformVersion",
"wire": "platformVersion",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "architecture",
"wire": "architecture",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "model",
"wire": "model",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "mobile",
"wire": "mobile",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "bitness",
"wire": "bitness",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "wow64",
"wire": "wow64",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "formFactors",
"wire": "formFactors",
"required": false,
"type": {
"list": {
"primitive": "string"
}
}
}
],
"specHref": "https://wicg.github.io/ua-client-hints/#cddl-type-useragentclienthintsclienthintsmetadata",
"outbound": true,
"inbound": false
},
"userAgentClientHints.BrandVersion": {
"kind": "record",
"fields": [
{
"name": "brand",
"wire": "brand",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "version",
"wire": "version",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://wicg.github.io/ua-client-hints/#cddl-type-useragentclienthintsbrandversion",
"outbound": true,
"inbound": false
},
"userAgentClientHints.SetClientHintsOverrideResult": {
"kind": "record",
"fields": [],
"specHref": "https://wicg.github.io/ua-client-hints/#cddl-type-useragentclienthintssetclienthintsoverrideresult",
"outbound": false,
"inbound": false
},
"bluetooth.BluetoothUuid": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothbluetoothuuid"
},
"bluetooth.BluetoothManufacturerData": {
"kind": "record",
"fields": [
{
"name": "key",
"wire": "key",
"required": true,
"type": {
"primitive": "integer"
}
},
{
"name": "data",
"wire": "data",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothbluetoothmanufacturerdata",
"outbound": true,
"inbound": false
},
"bluetooth.CharacteristicProperties": {
"kind": "record",
"fields": [
{
"name": "broadcast",
"wire": "broadcast",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "read",
"wire": "read",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "writeWithoutResponse",
"wire": "writeWithoutResponse",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "write",
"wire": "write",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "notify",
"wire": "notify",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "indicate",
"wire": "indicate",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "authenticatedSignedWrites",
"wire": "authenticatedSignedWrites",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "extendedProperties",
"wire": "extendedProperties",
"required": false,
"type": {
"primitive": "boolean"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothcharacteristicproperties",
"outbound": true,
"inbound": false
},
"bluetooth.RequestDevice": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothrequestdevice"
},
"bluetooth.RequestDeviceInfo": {
"kind": "record",
"fields": [
{
"name": "id",
"wire": "id",
"required": true,
"type": {
"ref": "bluetooth.RequestDevice"
}
},
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothrequestdeviceinfo",
"outbound": false,
"inbound": true
},
"bluetooth.RequestDevicePrompt": {
"kind": "alias",
"type": {
"primitive": "string"
},
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothrequestdeviceprompt"
},
"bluetooth.ScanRecord": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "uuids",
"wire": "uuids",
"required": false,
"type": {
"list": {
"ref": "bluetooth.BluetoothUuid"
}
}
},
{
"name": "appearance",
"wire": "appearance",
"required": false,
"type": {
"primitive": "number"
}
},
{
"name": "manufacturerData",
"wire": "manufacturerData",
"required": false,
"type": {
"list": {
"ref": "bluetooth.BluetoothManufacturerData"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothscanrecord",
"outbound": true,
"inbound": false
},
"BluetoothCommand": {
"kind": "union",
"variants": [
"bluetooth.HandleRequestDevicePrompt",
"bluetooth.SimulateAdapter",
"bluetooth.DisableSimulation",
"bluetooth.SimulatePreconnectedPeripheral",
"bluetooth.SimulateAdvertisement",
"bluetooth.SimulateGattConnectionResponse",
"bluetooth.SimulateGattDisconnection",
"bluetooth.SimulateService",
"bluetooth.SimulateCharacteristic",
"bluetooth.SimulateCharacteristicResponse",
"bluetooth.SimulateDescriptor",
"bluetooth.SimulateDescriptorResponse"
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothcommand",
"selector": {
"by": "method",
"variants": [
{
"value": "bluetooth.handleRequestDevicePrompt",
"ref": "bluetooth.HandleRequestDevicePrompt"
},
{
"value": "bluetooth.simulateAdapter",
"ref": "bluetooth.SimulateAdapter"
},
{
"value": "bluetooth.disableSimulation",
"ref": "bluetooth.DisableSimulation"
},
{
"value": "bluetooth.simulatePreconnectedPeripheral",
"ref": "bluetooth.SimulatePreconnectedPeripheral"
},
{
"value": "bluetooth.simulateAdvertisement",
"ref": "bluetooth.SimulateAdvertisement"
},
{
"value": "bluetooth.simulateGattConnectionResponse",
"ref": "bluetooth.SimulateGattConnectionResponse"
},
{
"value": "bluetooth.simulateGattDisconnection",
"ref": "bluetooth.SimulateGattDisconnection"
},
{
"value": "bluetooth.simulateService",
"ref": "bluetooth.SimulateService"
},
{
"value": "bluetooth.simulateCharacteristic",
"ref": "bluetooth.SimulateCharacteristic"
},
{
"value": "bluetooth.simulateCharacteristicResponse",
"ref": "bluetooth.SimulateCharacteristicResponse"
},
{
"value": "bluetooth.simulateDescriptor",
"ref": "bluetooth.SimulateDescriptor"
},
{
"value": "bluetooth.simulateDescriptorResponse",
"ref": "bluetooth.SimulateDescriptorResponse"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"bluetooth.HandleRequestDevicePrompt": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.handleRequestDevicePrompt"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.HandleRequestDevicePromptParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothhandlerequestdeviceprompt",
"outbound": false,
"inbound": false
},
"bluetooth.HandleRequestDevicePromptParameters": {
"kind": "union",
"variants": [
"bluetooth.HandleRequestDevicePromptParameters_AcceptParameters",
"bluetooth.HandleRequestDevicePromptParameters_CancelParameters"
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothhandlerequestdevicepromptparameters",
"selector": {
"by": "accept",
"variants": [
{
"value": true,
"ref": "bluetooth.HandleRequestDevicePromptParameters_AcceptParameters"
},
{
"value": false,
"ref": "bluetooth.HandleRequestDevicePromptParameters_CancelParameters"
}
]
},
"objectOnly": true,
"outbound": true,
"inbound": false
},
"bluetooth.SimulateAdapter": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateAdapter"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateAdapterParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateadapter",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateAdapterParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "leSupported",
"wire": "leSupported",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "state",
"wire": "state",
"required": true,
"type": {
"ref": "bluetooth.SimulateAdapterParametersState"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateadapterparameters",
"outbound": true,
"inbound": false
},
"bluetooth.DisableSimulation": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.disableSimulation"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.DisableSimulationParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothdisablesimulation",
"outbound": false,
"inbound": false
},
"bluetooth.DisableSimulationParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothdisablesimulationparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulatePreconnectedPeripheral": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulatePreconnectedPeripheral"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulatePreconnectedPeripheralParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatepreconnectedperipheral",
"outbound": false,
"inbound": false
},
"bluetooth.SimulatePreconnectedPeripheralParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "name",
"wire": "name",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "manufacturerData",
"wire": "manufacturerData",
"required": true,
"type": {
"list": {
"ref": "bluetooth.BluetoothManufacturerData"
}
}
},
{
"name": "knownServiceUuids",
"wire": "knownServiceUuids",
"required": true,
"type": {
"list": {
"ref": "bluetooth.BluetoothUuid"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatepreconnectedperipheralparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateAdvertisement": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateAdvertisement"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateAdvertisementParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateadvertisement",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateAdvertisementParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "scanEntry",
"wire": "scanEntry",
"required": true,
"type": {
"ref": "bluetooth.SimulateAdvertisementScanEntryParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateadvertisementparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateAdvertisementScanEntryParameters": {
"kind": "record",
"fields": [
{
"name": "deviceAddress",
"wire": "deviceAddress",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "rssi",
"wire": "rssi",
"required": true,
"type": {
"primitive": "number"
}
},
{
"name": "scanRecord",
"wire": "scanRecord",
"required": true,
"type": {
"ref": "bluetooth.ScanRecord"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateadvertisementscanentryparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateGattConnectionResponse": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateGattConnectionResponse"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateGattConnectionResponseParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulategattconnectionresponse",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateGattConnectionResponseParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "code",
"wire": "code",
"required": true,
"type": {
"primitive": "integer"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulategattconnectionresponseparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateGattDisconnection": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateGattDisconnection"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateGattDisconnectionParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulategattdisconnection",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateGattDisconnectionParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulategattdisconnectionparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateService": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateService"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateServiceParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateservice",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateServiceParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "uuid",
"wire": "uuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.SimulateServiceParametersType"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulateserviceparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateCharacteristic": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateCharacteristic"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateCharacteristicParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatecharacteristic",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateCharacteristicParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicProperties",
"wire": "characteristicProperties",
"required": false,
"type": {
"ref": "bluetooth.CharacteristicProperties"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.SimulateCharacteristicParametersType"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatecharacteristicparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateCharacteristicResponse": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateCharacteristicResponse"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateCharacteristicResponseParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatecharacteristicresponse",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateCharacteristicResponseParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.SimulateCharacteristicResponseParametersType"
}
},
{
"name": "code",
"wire": "code",
"required": true,
"type": {
"primitive": "integer"
}
},
{
"name": "data",
"wire": "data",
"required": false,
"type": {
"list": {
"primitive": "integer"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatecharacteristicresponseparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateDescriptor": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateDescriptor"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateDescriptorParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatedescriptor",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateDescriptorParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "descriptorUuid",
"wire": "descriptorUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.SimulateDescriptorParametersType"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatedescriptorparameters",
"outbound": true,
"inbound": false
},
"bluetooth.SimulateDescriptorResponse": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.simulateDescriptorResponse"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.SimulateDescriptorResponseParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatedescriptorresponse",
"outbound": false,
"inbound": false
},
"bluetooth.SimulateDescriptorResponseParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "descriptorUuid",
"wire": "descriptorUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.SimulateDescriptorResponseParametersType"
}
},
{
"name": "code",
"wire": "code",
"required": true,
"type": {
"primitive": "integer"
}
},
{
"name": "data",
"wire": "data",
"required": false,
"type": {
"list": {
"primitive": "integer"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothsimulatedescriptorresponseparameters",
"outbound": true,
"inbound": false
},
"BluetoothEvent": {
"kind": "union",
"variants": [
"bluetooth.RequestDevicePromptUpdated",
"bluetooth.GattConnectionAttempted"
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothevent",
"selector": {
"by": "method",
"variants": [
{
"value": "bluetooth.requestDevicePromptUpdated",
"ref": "bluetooth.RequestDevicePromptUpdated"
},
{
"value": "bluetooth.gattConnectionAttempted",
"ref": "bluetooth.GattConnectionAttempted"
}
]
},
"objectOnly": true,
"outbound": false,
"inbound": false
},
"bluetooth.RequestDevicePromptUpdated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.requestDevicePromptUpdated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.RequestDevicePromptUpdatedParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothrequestdevicepromptupdated",
"outbound": false,
"inbound": false
},
"bluetooth.RequestDevicePromptUpdatedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "prompt",
"wire": "prompt",
"required": true,
"type": {
"ref": "bluetooth.RequestDevicePrompt"
}
},
{
"name": "devices",
"wire": "devices",
"required": true,
"type": {
"list": {
"ref": "bluetooth.RequestDeviceInfo"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothrequestdevicepromptupdatedparameters",
"outbound": false,
"inbound": true
},
"bluetooth.GattConnectionAttempted": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.gattConnectionAttempted"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.GattConnectionAttemptedParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothgattconnectionattempted",
"outbound": false,
"inbound": false
},
"bluetooth.GattConnectionAttemptedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothgattconnectionattemptedparameters",
"outbound": false,
"inbound": true
},
"bluetooth.CharacteristicEventGenerated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.characteristicEventGenerated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.CharacteristicEventGeneratedParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothcharacteristiceventgenerated",
"outbound": false,
"inbound": false
},
"bluetooth.CharacteristicEventGeneratedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.CharacteristicEventGeneratedParametersType"
}
},
{
"name": "data",
"wire": "data",
"required": false,
"type": {
"list": {
"primitive": "integer"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothcharacteristiceventgeneratedparameters",
"outbound": false,
"inbound": false
},
"bluetooth.DescriptorEventGenerated": {
"kind": "record",
"fields": [
{
"name": "method",
"wire": "method",
"required": true,
"type": {
"const": "bluetooth.descriptorEventGenerated"
}
},
{
"name": "params",
"wire": "params",
"required": true,
"type": {
"ref": "bluetooth.DescriptorEventGeneratedParameters"
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothdescriptoreventgenerated",
"outbound": false,
"inbound": false
},
"bluetooth.DescriptorEventGeneratedParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "address",
"wire": "address",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "serviceUuid",
"wire": "serviceUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "characteristicUuid",
"wire": "characteristicUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "descriptorUuid",
"wire": "descriptorUuid",
"required": true,
"type": {
"ref": "bluetooth.BluetoothUuid"
}
},
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"ref": "bluetooth.DescriptorEventGeneratedParametersType"
}
},
{
"name": "data",
"wire": "data",
"required": false,
"type": {
"list": {
"primitive": "integer"
}
}
}
],
"specHref": "https://webbluetoothcg.github.io/web-bluetooth/#cddl-type-bluetoothdescriptoreventgeneratedparameters",
"outbound": false,
"inbound": false
},
"webExtension.InstallParameters": {
"kind": "record",
"fields": [
{
"name": "extensionData",
"wire": "extensionData",
"required": true,
"type": {
"ref": "webExtension.ExtensionData"
}
}
],
"extensible": true,
"specHref": "https://w3c.github.io/webdriver-bidi/#cddl-type-webextensioninstallparameters",
"outbound": true,
"inbound": false
},
"browser.ClientWindowInfoState": {
"kind": "enum",
"values": [
"fullscreen",
"maximized",
"minimized",
"normal"
],
"primitive": "string",
"synthetic": true,
"owner": "browser.ClientWindowInfo",
"label": "State"
},
"browser.ClientWindowNamedStateState": {
"kind": "enum",
"values": [
"fullscreen",
"maximized",
"minimized"
],
"primitive": "string",
"synthetic": true,
"owner": "browser.SetClientWindowStateParameters_ClientWindowNamedState",
"label": "State"
},
"browsingContext.InnerTextLocatorMatchType": {
"kind": "enum",
"values": [
"full",
"partial"
],
"primitive": "string",
"synthetic": true,
"owner": "browsingContext.InnerTextLocator",
"label": "MatchType"
},
"browsingContext.CaptureScreenshotParametersOrigin": {
"kind": "enum",
"values": [
"viewport",
"document"
],
"primitive": "string",
"synthetic": true,
"owner": "browsingContext.CaptureScreenshotParameters",
"label": "Origin"
},
"browsingContext.PrintParametersOrientation": {
"kind": "enum",
"values": [
"portrait",
"landscape"
],
"primitive": "string",
"synthetic": true,
"owner": "browsingContext.PrintParameters",
"label": "Orientation"
},
"emulation.MediaFeaturesAnyHover": {
"kind": "enum",
"values": [
"none",
"hover"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "AnyHover"
},
"emulation.MediaFeaturesAnyPointer": {
"kind": "enum",
"values": [
"none",
"coarse",
"fine"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "AnyPointer"
},
"emulation.MediaFeaturesColorGamut": {
"kind": "enum",
"values": [
"srgb",
"p3",
"rec2020"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "ColorGamut"
},
"emulation.MediaFeaturesDisplayMode": {
"kind": "enum",
"values": [
"fullscreen",
"standalone",
"minimal-ui",
"browser",
"picture-in-picture"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "DisplayMode"
},
"emulation.MediaFeaturesDynamicRange": {
"kind": "enum",
"values": [
"standard",
"high"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "DynamicRange"
},
"emulation.MediaFeaturesEnvironmentBlending": {
"kind": "enum",
"values": [
"opaque",
"additive",
"subtractive"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "EnvironmentBlending"
},
"emulation.MediaFeaturesForcedColors": {
"kind": "enum",
"values": [
"none",
"active"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "ForcedColors"
},
"emulation.MediaFeaturesGrid": {
"kind": "enum",
"values": [
0,
1
],
"primitive": "integer",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Grid"
},
"emulation.MediaFeaturesHover": {
"kind": "enum",
"values": [
"none",
"hover"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Hover"
},
"emulation.MediaFeaturesInvertedColors": {
"kind": "enum",
"values": [
"none",
"inverted"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "InvertedColors"
},
"emulation.MediaFeaturesNavControls": {
"kind": "enum",
"values": [
"none",
"back"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "NavControls"
},
"emulation.MediaFeaturesOverflowBlock": {
"kind": "enum",
"values": [
"none",
"scroll",
"optional-paged",
"paged"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "OverflowBlock"
},
"emulation.MediaFeaturesOverflowInline": {
"kind": "enum",
"values": [
"none",
"scroll"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "OverflowInline"
},
"emulation.MediaFeaturesPointer": {
"kind": "enum",
"values": [
"none",
"coarse",
"fine"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Pointer"
},
"emulation.MediaFeaturesPrefersColorScheme": {
"kind": "enum",
"values": [
"light",
"dark"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "PrefersColorScheme"
},
"emulation.MediaFeaturesPrefersContrast": {
"kind": "enum",
"values": [
"no-preference",
"more",
"less",
"custom"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "PrefersContrast"
},
"emulation.MediaFeaturesPrefersReducedData": {
"kind": "enum",
"values": [
"no-preference",
"reduce"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "PrefersReducedData"
},
"emulation.MediaFeaturesPrefersReducedMotion": {
"kind": "enum",
"values": [
"no-preference",
"reduce"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "PrefersReducedMotion"
},
"emulation.MediaFeaturesPrefersReducedTransparency": {
"kind": "enum",
"values": [
"no-preference",
"reduce"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "PrefersReducedTransparency"
},
"emulation.MediaFeaturesScan": {
"kind": "enum",
"values": [
"interlace",
"progressive"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Scan"
},
"emulation.MediaFeaturesScripting": {
"kind": "enum",
"values": [
"none",
"initial-only",
"enabled"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Scripting"
},
"emulation.MediaFeaturesUpdate": {
"kind": "enum",
"values": [
"none",
"slow",
"fast"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "Update"
},
"emulation.MediaFeaturesVideoColorGamut": {
"kind": "enum",
"values": [
"srgb",
"p3",
"rec2020"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "VideoColorGamut"
},
"emulation.MediaFeaturesVideoDynamicRange": {
"kind": "enum",
"values": [
"standard",
"high"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.MediaFeatures",
"label": "VideoDynamicRange"
},
"emulation.SetScrollbarTypeOverrideParametersScrollbarType": {
"kind": "enum",
"values": [
"classic",
"overlay"
],
"primitive": "string",
"synthetic": true,
"owner": "emulation.SetScrollbarTypeOverrideParameters",
"label": "ScrollbarType"
},
"network.InitiatorType": {
"kind": "enum",
"values": [
"parser",
"script",
"preflight",
"other"
],
"primitive": "string",
"synthetic": true,
"owner": "network.Initiator",
"label": "Type"
},
"network.ContinueWithAuthNoCredentialsAction": {
"kind": "enum",
"values": [
"default",
"cancel"
],
"primitive": "string",
"synthetic": true,
"owner": "network.ContinueWithAuthParameters_NoCredentials",
"label": "Action"
},
"network.SetCacheBehaviorParametersCacheBehavior": {
"kind": "enum",
"values": [
"default",
"bypass"
],
"primitive": "string",
"synthetic": true,
"owner": "network.SetCacheBehaviorParameters",
"label": "CacheBehavior"
},
"script.NodePropertiesMode": {
"kind": "enum",
"values": [
"open",
"closed"
],
"primitive": "string",
"synthetic": true,
"owner": "script.NodeProperties",
"label": "Mode"
},
"script.SerializationOptionsIncludeShadowTree": {
"kind": "enum",
"values": [
"none",
"open",
"all"
],
"primitive": "string",
"synthetic": true,
"owner": "script.SerializationOptions",
"label": "IncludeShadowTree"
},
"bluetooth.SimulateAdapterParametersState": {
"kind": "enum",
"values": [
"absent",
"powered-off",
"powered-on"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateAdapterParameters",
"label": "State"
},
"bluetooth.SimulateServiceParametersType": {
"kind": "enum",
"values": [
"add",
"remove"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateServiceParameters",
"label": "Type"
},
"bluetooth.SimulateCharacteristicParametersType": {
"kind": "enum",
"values": [
"add",
"remove"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateCharacteristicParameters",
"label": "Type"
},
"bluetooth.SimulateCharacteristicResponseParametersType": {
"kind": "enum",
"values": [
"read",
"write",
"subscribe-to-notifications",
"unsubscribe-from-notifications"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateCharacteristicResponseParameters",
"label": "Type"
},
"bluetooth.SimulateDescriptorParametersType": {
"kind": "enum",
"values": [
"add",
"remove"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateDescriptorParameters",
"label": "Type"
},
"bluetooth.SimulateDescriptorResponseParametersType": {
"kind": "enum",
"values": [
"read",
"write"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.SimulateDescriptorResponseParameters",
"label": "Type"
},
"bluetooth.CharacteristicEventGeneratedParametersType": {
"kind": "enum",
"values": [
"read",
"write-with-response",
"write-without-response",
"subscribe-to-notifications",
"unsubscribe-from-notifications"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.CharacteristicEventGeneratedParameters",
"label": "Type"
},
"bluetooth.DescriptorEventGeneratedParametersType": {
"kind": "enum",
"values": [
"read",
"write"
],
"primitive": "string",
"synthetic": true,
"owner": "bluetooth.DescriptorEventGeneratedParameters",
"label": "Type"
},
"browser.SetClientWindowStateParameters_ClientWindowNamedState": {
"kind": "record",
"fields": [
{
"name": "clientWindow",
"wire": "clientWindow",
"required": true,
"type": {
"ref": "browser.ClientWindow"
}
},
{
"name": "state",
"wire": "state",
"required": true,
"type": {
"ref": "browser.ClientWindowNamedStateState"
}
}
],
"synthetic": true,
"owner": "browser.SetClientWindowStateParameters",
"label": "ClientWindowNamedState",
"outbound": true,
"inbound": false
},
"browser.SetClientWindowStateParameters_ClientWindowRectState": {
"kind": "record",
"fields": [
{
"name": "clientWindow",
"wire": "clientWindow",
"required": true,
"type": {
"ref": "browser.ClientWindow"
}
},
{
"name": "state",
"wire": "state",
"required": true,
"type": {
"const": "normal"
}
},
{
"name": "width",
"wire": "width",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "height",
"wire": "height",
"required": false,
"type": {
"ref": "js-uint"
}
},
{
"name": "x",
"wire": "x",
"required": false,
"type": {
"ref": "js-int"
}
},
{
"name": "y",
"wire": "y",
"required": false,
"type": {
"ref": "js-int"
}
}
],
"synthetic": true,
"owner": "browser.SetClientWindowStateParameters",
"label": "ClientWindowRectState",
"outbound": true,
"inbound": false
},
"browser.DownloadBehavior_Allowed": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "allowed"
}
},
{
"name": "destinationFolder",
"wire": "destinationFolder",
"required": true,
"type": {
"primitive": "string"
}
}
],
"synthetic": true,
"owner": "browser.DownloadBehavior",
"label": "Allowed",
"outbound": true,
"inbound": false
},
"browser.DownloadBehavior_Denied": {
"kind": "record",
"fields": [
{
"name": "type",
"wire": "type",
"required": true,
"type": {
"const": "denied"
}
}
],
"synthetic": true,
"owner": "browser.DownloadBehavior",
"label": "Denied",
"outbound": true,
"inbound": false
},
"browsingContext.DownloadEndParams_CanceledParams": {
"kind": "record",
"fields": [
{
"name": "status",
"wire": "status",
"required": true,
"type": {
"const": "canceled"
}
},
{
"name": "download",
"wire": "download",
"required": true,
"type": {
"ref": "browsingContext.Download"
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"synthetic": true,
"owner": "browsingContext.DownloadEndParams",
"label": "CanceledParams",
"outbound": false,
"inbound": true
},
"browsingContext.DownloadEndParams_CompleteParams": {
"kind": "record",
"fields": [
{
"name": "status",
"wire": "status",
"required": true,
"type": {
"const": "complete"
}
},
{
"name": "download",
"wire": "download",
"required": true,
"type": {
"ref": "browsingContext.Download"
}
},
{
"name": "filepath",
"wire": "filepath",
"required": true,
"type": {
"primitive": "string",
"nullable": true
}
},
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
},
{
"name": "navigation",
"wire": "navigation",
"required": true,
"type": {
"ref": "browsingContext.Navigation",
"nullable": true
}
},
{
"name": "timestamp",
"wire": "timestamp",
"required": true,
"type": {
"ref": "js-uint"
}
},
{
"name": "url",
"wire": "url",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "userContext",
"wire": "userContext",
"required": false,
"type": {
"ref": "browser.UserContext"
}
}
],
"synthetic": true,
"owner": "browsingContext.DownloadEndParams",
"label": "CompleteParams",
"outbound": false,
"inbound": true
},
"emulation.SetGeolocationOverrideParameters_Coordinates": {
"kind": "record",
"fields": [
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
},
{
"name": "coordinates",
"wire": "coordinates",
"required": true,
"type": {
"ref": "emulation.GeolocationCoordinates",
"nullable": true
}
}
],
"synthetic": true,
"owner": "emulation.SetGeolocationOverrideParameters",
"label": "Coordinates",
"outbound": true,
"inbound": false
},
"emulation.SetGeolocationOverrideParameters_Error": {
"kind": "record",
"fields": [
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"ref": "browsingContext.BrowsingContext"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"ref": "browser.UserContext"
}
}
},
{
"name": "error",
"wire": "error",
"required": true,
"type": {
"ref": "emulation.GeolocationPositionError"
}
}
],
"synthetic": true,
"owner": "emulation.SetGeolocationOverrideParameters",
"label": "Error",
"outbound": true,
"inbound": false
},
"network.ContinueWithAuthParameters_Credentials": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "action",
"wire": "action",
"required": true,
"type": {
"const": "provideCredentials"
}
},
{
"name": "credentials",
"wire": "credentials",
"required": true,
"type": {
"ref": "network.AuthCredentials"
}
}
],
"synthetic": true,
"owner": "network.ContinueWithAuthParameters",
"label": "Credentials",
"outbound": true,
"inbound": false
},
"network.ContinueWithAuthParameters_NoCredentials": {
"kind": "record",
"fields": [
{
"name": "request",
"wire": "request",
"required": true,
"type": {
"ref": "network.Request"
}
},
{
"name": "action",
"wire": "action",
"required": true,
"type": {
"ref": "network.ContinueWithAuthNoCredentialsAction"
}
}
],
"synthetic": true,
"owner": "network.ContinueWithAuthParameters",
"label": "NoCredentials",
"outbound": true,
"inbound": false
},
"bluetooth.HandleRequestDevicePromptParameters_AcceptParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "prompt",
"wire": "prompt",
"required": true,
"type": {
"ref": "bluetooth.RequestDevicePrompt"
}
},
{
"name": "accept",
"wire": "accept",
"required": true,
"type": {
"const": true
}
},
{
"name": "device",
"wire": "device",
"required": true,
"type": {
"ref": "bluetooth.RequestDevice"
}
}
],
"synthetic": true,
"owner": "bluetooth.HandleRequestDevicePromptParameters",
"label": "AcceptParameters",
"outbound": true,
"inbound": false
},
"bluetooth.HandleRequestDevicePromptParameters_CancelParameters": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "prompt",
"wire": "prompt",
"required": true,
"type": {
"ref": "bluetooth.RequestDevicePrompt"
}
},
{
"name": "accept",
"wire": "accept",
"required": true,
"type": {
"const": false
}
}
],
"synthetic": true,
"owner": "bluetooth.HandleRequestDevicePromptParameters",
"label": "CancelParameters",
"outbound": true,
"inbound": false
},
"session.NewResultCapabilities": {
"kind": "record",
"fields": [
{
"name": "acceptInsecureCerts",
"wire": "acceptInsecureCerts",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "browserName",
"wire": "browserName",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "browserVersion",
"wire": "browserVersion",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "platformName",
"wire": "platformName",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "setWindowRect",
"wire": "setWindowRect",
"required": true,
"type": {
"primitive": "boolean"
}
},
{
"name": "userAgent",
"wire": "userAgent",
"required": true,
"type": {
"primitive": "string"
}
},
{
"name": "proxy",
"wire": "proxy",
"required": false,
"type": {
"ref": "session.ProxyConfiguration"
}
},
{
"name": "unhandledPromptBehavior",
"wire": "unhandledPromptBehavior",
"required": false,
"type": {
"ref": "session.UserPromptHandler"
}
},
{
"name": "webSocketUrl",
"wire": "webSocketUrl",
"required": false,
"type": {
"primitive": "string"
}
}
],
"extensible": true,
"synthetic": true,
"owner": "session.NewResult",
"label": "Capabilities",
"outbound": false,
"inbound": true
},
"browsingContext.AccessibilityLocatorValue": {
"kind": "record",
"fields": [
{
"name": "name",
"wire": "name",
"required": false,
"type": {
"primitive": "string"
}
},
{
"name": "role",
"wire": "role",
"required": false,
"type": {
"primitive": "string"
}
}
],
"synthetic": true,
"owner": "browsingContext.AccessibilityLocator",
"label": "Value",
"outbound": true,
"inbound": false
},
"browsingContext.ContextLocatorValue": {
"kind": "record",
"fields": [
{
"name": "context",
"wire": "context",
"required": true,
"type": {
"ref": "browsingContext.BrowsingContext"
}
}
],
"synthetic": true,
"owner": "browsingContext.ContextLocator",
"label": "Value",
"outbound": true,
"inbound": false
},
"script.NodePropertiesAttributes": {
"kind": "record",
"fields": [],
"map": {
"primitive": "string"
},
"synthetic": true,
"owner": "script.NodeProperties",
"label": "Attributes",
"outbound": false,
"inbound": true
},
"userAgentClientHints.SetClientHintsOverrideCommandParams": {
"kind": "record",
"fields": [
{
"name": "clientHints",
"wire": "clientHints",
"required": true,
"type": {
"ref": "userAgentClientHints.ClientHintsMetadata",
"nullable": true
}
},
{
"name": "contexts",
"wire": "contexts",
"required": false,
"type": {
"list": {
"primitive": "string"
}
}
},
{
"name": "userContexts",
"wire": "userContexts",
"required": false,
"type": {
"list": {
"primitive": "string"
}
}
}
],
"synthetic": true,
"owner": "userAgentClientHints.SetClientHintsOverrideCommand",
"label": "Params",
"outbound": true,
"inbound": false
}
},
"domains": {
"browser": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-browser"
},
"browsingContext": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-browsingContext"
},
"emulation": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-emulation"
},
"input": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-input"
},
"network": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-network"
},
"script": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-script"
},
"session": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-session"
},
"storage": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-storage"
},
"webExtension": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-webExtension"
},
"log": {
"specHref": "https://w3c.github.io/webdriver-bidi/#module-log"
}
},
"vendor": {
"moz": {
"extends": {
"webExtension.InstallParameters": {
"via": "webExtension.InstallParametersExtension",
"fields": [
{
"name": "moz:allowPrivateBrowsing",
"wire": "moz:allowPrivateBrowsing",
"required": false,
"type": {
"primitive": "boolean"
}
},
{
"name": "moz:permanent",
"wire": "moz:permanent",
"required": false,
"type": {
"primitive": "boolean"
}
}
]
}
}
}
}
}