Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wdio/protocols

Package Overview
Dependencies
Maintainers
3
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/protocols - npm Package Compare versions

Comparing version 8.22.0 to 8.23.0

6

build/commands/saucelabs.d.ts

@@ -58,3 +58,3 @@ import type { ProtocolCommandResponse } from '../types.js';

* // predefined network condition
* browser.throttleNetwork('offline')
* browser.sauceThrottleNetwork('offline')
* ```*

@@ -64,3 +64,3 @@ * @example

* // custom network condition
* browser.throttleNetwork({
* browser.sauceThrottleNetwork({
* download: 1000,

@@ -72,3 +72,3 @@ * upload: 500,

*/
throttleNetwork(condition: (string | object)): Promise<void>;
sauceThrottleNetwork(condition: (string | object)): Promise<void>;
/**

@@ -75,0 +75,0 @@ * Saucelabs Protocol Command

@@ -62,3 +62,3 @@ export default {

POST: {
command: 'throttleNetwork',
command: 'sauceThrottleNetwork',
description: 'With network conditioning you can test your site on a variety of network connections, including Edge, 3G, and even offline. You can throttle the data throughput, including the maximum download and upload throughput, and use latency manipulation to enforce a minimum delay in connection round-trip time (RTT).',

@@ -69,7 +69,7 @@ ref: 'https://wiki.saucelabs.com/display/DOCS/Custom+Sauce+Labs+WebDriver+Extensions+for+Network+and+Log+Commands#CustomSauceLabsWebDriverExtensionsforNetworkandLogCommands-ThrottleNetworkCapabilities',

'// predefined network condition',
"browser.throttleNetwork('offline')",
"browser.sauceThrottleNetwork('offline')",
],
[
'// custom network condition',
'browser.throttleNetwork({',
'browser.sauceThrottleNetwork({',
' download: 1000,',

@@ -76,0 +76,0 @@ ' upload: 500,',

@@ -15,372 +15,530 @@ /**

*/
declare const _default: {
sendCommand: {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
declare const protocol: {
readonly sendCommand: {
readonly socket: {
readonly command: "send";
readonly description: "Send socket commands via WebDriver Bidi";
readonly ref: "https://github.com/w3c/webdriver-bidi";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "CommandData";
readonly description: "socket payload";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "CommandResponse";
readonly description: "WebDriver Bidi response";
};
};
};
sendAsyncCommand: {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly sendAsyncCommand: {
readonly socket: {
readonly command: "sendAsync";
readonly description: "Send asynchronous socket commands via WebDriver Bidi";
readonly ref: "https://github.com/w3c/webdriver-bidi";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "CommandData";
readonly description: "socket payload";
readonly required: true;
}];
readonly returns: {
readonly type: "Number";
readonly name: "id";
readonly description: "id of WebDriver Bidi request";
};
};
};
"session.status": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "session.status": {
readonly socket: {
readonly command: "sessionStatus";
readonly description: "WebDriver Bidi command to send command method \"session.status\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-session-status";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.EmptyParams`";
readonly description: "<pre>\\{\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.SessionStatusResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n ready: boolean;\n message: string;\n }\n ```";
};
};
};
"session.new": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "session.new": {
readonly socket: {
readonly command: "sessionNew";
readonly description: "WebDriver Bidi command to send command method \"session.new\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-session-new";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.SessionNewParameters`";
readonly description: "<pre>\\{<br /> capabilities: SessionCapabilitiesRequest;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.SessionNewResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n sessionId: string;\n capabilities: {\n acceptInsecureCerts: boolean;\n browserName: string;\n browserVersion: string;\n platformName: string;\n proxy: {\n proxyType?: \"pac\" | \"direct\" | \"autodetect\" | \"system\" | \"manual\";\n proxyAutoconfigUrl?: string;\n ftpProxy?: string;\n httpProxy?: string;\n noProxy?: string[];\n sslProxy?: string;\n socksProxy?: string;\n socksVersion?: number;\n };\n setWindowRect: boolean;\n };\n }\n ```";
};
};
};
"session.end": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "session.end": {
readonly socket: {
readonly command: "sessionEnd";
readonly description: "WebDriver Bidi command to send command method \"session.end\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-session-end";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.EmptyParams`";
readonly description: "<pre>\\{\\}</pre>";
readonly required: true;
}];
};
};
"session.subscribe": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "session.subscribe": {
readonly socket: {
readonly command: "sessionSubscribe";
readonly description: "WebDriver Bidi command to send command method \"session.subscribe\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-session-subscribe";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.SessionSubscriptionRequest`";
readonly description: "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>";
readonly required: true;
}];
};
};
"session.unsubscribe": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "session.unsubscribe": {
readonly socket: {
readonly command: "sessionUnsubscribe";
readonly description: "WebDriver Bidi command to send command method \"session.unsubscribe\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.SessionSubscriptionRequest`";
readonly description: "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>";
readonly required: true;
}];
};
};
"browser.close": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browser.close": {
readonly socket: {
readonly command: "browserClose";
readonly description: "WebDriver Bidi command to send command method \"browser.close\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browser-close";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.EmptyParams`";
readonly description: "<pre>\\{\\}</pre>";
readonly required: true;
}];
};
};
"browsingContext.captureScreenshot": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "browsingContext.activate": {
readonly socket: {
readonly command: "browsingContextActivate";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.activate\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextActivateParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "browsingContext.captureScreenshot": {
readonly socket: {
readonly command: "browsingContextCaptureScreenshot";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.captureScreenshot\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-captureScreenshot";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextCaptureScreenshotParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> /\\*\\*<br /> \\* @default 'viewport'<br /> \\*/<br /> origin?: \"viewport\" &#124; \"document\";<br /> format?: BrowsingContextImageFormat;<br /> clip?: BrowsingContextClipRectangle;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextCaptureScreenshotResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n data: string;\n }\n ```";
};
};
};
"browsingContext.close": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.close": {
readonly socket: {
readonly command: "browsingContextClose";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.close\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-close";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextCloseParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> promptUnload?: boolean;<br />\\}</pre>";
readonly required: true;
}];
};
};
"browsingContext.create": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "browsingContext.create": {
readonly socket: {
readonly command: "browsingContextCreate";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.create\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-create";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextCreateParameters`";
readonly description: "<pre>\\{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br /> background?: boolean;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextCreateResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n context: BrowsingContextBrowsingContext;\n }\n ```";
};
};
};
"browsingContext.getTree": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "browsingContext.getTree": {
readonly socket: {
readonly command: "browsingContextGetTree";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.getTree\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-getTree";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextGetTreeParameters`";
readonly description: "<pre>\\{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextGetTreeResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n contexts: BrowsingContextInfoList;\n }\n ```";
};
};
};
"browsingContext.handleUserPrompt": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.handleUserPrompt": {
readonly socket: {
readonly command: "browsingContextHandleUserPrompt";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.handleUserPrompt\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextHandleUserPromptParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />\\}</pre>";
readonly required: true;
}];
};
};
"browsingContext.navigate": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "browsingContext.locateNodes": {
readonly socket: {
readonly command: "browsingContextLocateNodes";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.locateNodes\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-locateNodes";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextLocateNodesParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> locator: BrowsingContextLocator;<br /> maxNodeCount?: JsUint;<br /> ownership?: ScriptResultOwnership;<br /> sandbox?: string;<br /> serializationOptions?: ScriptSerializationOptions;<br /> startNodes?: ScriptSharedReference[];<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextLocateNodesResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n nodes: ScriptNodeRemoteValue[];\n }\n ```";
};
};
};
"browsingContext.print": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "browsingContext.navigate": {
readonly socket: {
readonly command: "browsingContextNavigate";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.navigate\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-navigate";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextNavigateParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextNavigateResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n navigation: BrowsingContextNavigation | null;\n url: string;\n }\n ```";
};
};
};
"browsingContext.reload": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.print": {
readonly socket: {
readonly command: "browsingContextPrint";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.print\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-print";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextPrintParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" &#124; \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint &#124; string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.BrowsingContextPrintResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n data: string;\n }\n ```";
};
};
};
"script.addPreloadScript": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.reload": {
readonly socket: {
readonly command: "browsingContextReload";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.reload\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextReloadParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>";
readonly required: true;
}];
};
};
"script.disown": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.setViewport": {
readonly socket: {
readonly command: "browsingContextSetViewport";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.setViewport\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextSetViewportParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> viewport?: BrowsingContextViewport &#124; null;<br /> devicePixelRatio?: number &#124; null;<br />\\}</pre>";
readonly required: true;
}];
};
};
"script.callFunction": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "browsingContext.traverseHistory": {
readonly socket: {
readonly command: "browsingContextTraverseHistory";
readonly description: "WebDriver Bidi command to send command method \"browsingContext.traverseHistory\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-traverseHistory";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowsingContextTraverseHistoryParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> delta: JsInt;<br />\\}</pre>";
readonly required: true;
}];
};
};
"script.evaluate": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "network.addIntercept": {
readonly socket: {
readonly command: "networkAddIntercept";
readonly description: "WebDriver Bidi command to send command method \"network.addIntercept\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-addIntercept";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkAddInterceptParameters`";
readonly description: "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.NetworkAddInterceptResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n intercept: NetworkIntercept;\n }\n ```";
};
};
};
"script.getRealms": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
readonly "network.continueRequest": {
readonly socket: {
readonly command: "networkContinueRequest";
readonly description: "WebDriver Bidi command to send command method \"network.continueRequest\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-continueRequest";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkContinueRequestParameters`";
readonly description: "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkCookieHeader[];<br /> headers?: NetworkHeader[];<br /> method?: string;<br /> url?: string;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "network.continueResponse": {
readonly socket: {
readonly command: "networkContinueResponse";
readonly description: "WebDriver Bidi command to send command method \"network.continueResponse\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-continueResponse";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkContinueResponseParameters`";
readonly description: "<pre>\\{<br /> request: NetworkRequest;<br /> cookies?: NetworkSetCookieHeader[];<br /> credentials?: NetworkAuthCredentials;<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "network.continueWithAuth": {
readonly socket: {
readonly command: "networkContinueWithAuth";
readonly description: "WebDriver Bidi command to send command method \"network.continueWithAuth\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkContinueWithAuthParameters`";
readonly description: "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "network.failRequest": {
readonly socket: {
readonly command: "networkFailRequest";
readonly description: "WebDriver Bidi command to send command method \"network.failRequest\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-failRequest";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkFailRequestParameters`";
readonly description: "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "network.provideResponse": {
readonly socket: {
readonly command: "networkProvideResponse";
readonly description: "WebDriver Bidi command to send command method \"network.provideResponse\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-provideResponse";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkProvideResponseParameters`";
readonly description: "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkSetCookieHeader[];<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "network.removeIntercept": {
readonly socket: {
readonly command: "networkRemoveIntercept";
readonly description: "WebDriver Bidi command to send command method \"network.removeIntercept\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.NetworkRemoveInterceptParameters`";
readonly description: "<pre>\\{<br /> intercept: NetworkIntercept;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "script.addPreloadScript": {
readonly socket: {
readonly command: "scriptAddPreloadScript";
readonly description: "WebDriver Bidi command to send command method \"script.addPreloadScript\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptAddPreloadScriptParameters`";
readonly description: "<pre>\\{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> sandbox?: string;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.ScriptAddPreloadScriptResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n script: ScriptPreloadScript;\n }\n ```";
};
};
};
"script.removePreloadScript": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "script.disown": {
readonly socket: {
readonly command: "scriptDisown";
readonly description: "WebDriver Bidi command to send command method \"script.disown\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-disown";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptDisownParameters`";
readonly description: "<pre>\\{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />\\}</pre>";
readonly required: true;
}];
};
};
"input.performActions": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "script.callFunction": {
readonly socket: {
readonly command: "scriptCallFunction";
readonly description: "WebDriver Bidi command to send command method \"script.callFunction\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-callFunction";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptCallFunctionParameters`";
readonly description: "<pre>\\{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptLocalValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptLocalValue;<br /> userActivation?: boolean;<br />\\}</pre>";
readonly required: true;
}];
};
};
"input.releaseActions": {
socket: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
readonly "script.evaluate": {
readonly socket: {
readonly command: "scriptEvaluate";
readonly description: "WebDriver Bidi command to send command method \"script.evaluate\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-evaluate";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptEvaluateParameters`";
readonly description: "<pre>\\{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> userActivation?: boolean;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.ScriptEvaluateResult";
readonly description: "Command return value with the following interface:\n ```ts\n ;\n ```";
};
};
};
readonly "script.getRealms": {
readonly socket: {
readonly command: "scriptGetRealms";
readonly description: "WebDriver Bidi command to send command method \"script.getRealms\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-getRealms";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptGetRealmsParameters`";
readonly description: "<pre>\\{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.ScriptGetRealmsResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n realms: ScriptRealmInfo[];\n }\n ```";
};
};
};
readonly "script.removePreloadScript": {
readonly socket: {
readonly command: "scriptRemovePreloadScript";
readonly description: "WebDriver Bidi command to send command method \"script.removePreloadScript\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.ScriptRemovePreloadScriptParameters`";
readonly description: "<pre>\\{<br /> script: ScriptPreloadScript;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "input.performActions": {
readonly socket: {
readonly command: "inputPerformActions";
readonly description: "WebDriver Bidi command to send command method \"input.performActions\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-input-performActions";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.InputPerformActionsParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "input.releaseActions": {
readonly socket: {
readonly command: "inputReleaseActions";
readonly description: "WebDriver Bidi command to send command method \"input.releaseActions\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-input-releaseActions";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.InputReleaseActionsParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>";
readonly required: true;
}];
};
};
};
export default _default;
export default protocol;
//# sourceMappingURL=webdriverBidi.d.ts.map

@@ -15,3 +15,3 @@ /**

*/
export default {
const protocol = {
"sendCommand": {

@@ -66,3 +66,3 @@ "socket": {

"type": "`remote.EmptyParams`",
"description": "<pre>{}</pre>",
"description": "<pre>\\{\\}</pre>",
"required": true

@@ -87,3 +87,3 @@ }

"type": "`remote.SessionNewParameters`",
"description": "<pre>{<br /> capabilities: SessionCapabilitiesRequest;<br />}</pre>",
"description": "<pre>\\{<br /> capabilities: SessionCapabilitiesRequest;<br />\\}</pre>",
"required": true

@@ -108,3 +108,3 @@ }

"type": "`remote.EmptyParams`",
"description": "<pre>{}</pre>",
"description": "<pre>\\{\\}</pre>",
"required": true

@@ -124,3 +124,3 @@ }

"type": "`remote.SessionSubscriptionRequest`",
"description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
"description": "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>",
"required": true

@@ -140,3 +140,3 @@ }

"type": "`remote.SessionSubscriptionRequest`",
"description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
"description": "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>",
"required": true

@@ -156,3 +156,3 @@ }

"type": "`remote.EmptyParams`",
"description": "<pre>{}</pre>",
"description": "<pre>\\{\\}</pre>",
"required": true

@@ -163,2 +163,17 @@ }

},
"browsingContext.activate": {
"socket": {
"command": "browsingContextActivate",
"description": "WebDriver Bidi command to send command method \"browsingContext.activate\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate",
"parameters": [
{
"name": "params",
"type": "`remote.BrowsingContextActivateParameters`",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
"required": true
}
]
}
},
"browsingContext.captureScreenshot": {

@@ -173,3 +188,3 @@ "socket": {

"type": "`remote.BrowsingContextCaptureScreenshotParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> /\\*\\*<br /> \\* @default 'viewport'<br /> \\*/<br /> origin?: \"viewport\" &#124; \"document\";<br /> format?: BrowsingContextImageFormat;<br /> clip?: BrowsingContextClipRectangle;<br />\\}</pre>",
"required": true

@@ -194,3 +209,3 @@ }

"type": "`remote.BrowsingContextCloseParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> promptUnload?: boolean;<br />\\}</pre>",
"required": true

@@ -210,3 +225,3 @@ }

"type": "`remote.BrowsingContextCreateParameters`",
"description": "<pre>{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br />}</pre>",
"description": "<pre>\\{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br /> background?: boolean;<br />\\}</pre>",
"required": true

@@ -231,3 +246,3 @@ }

"type": "`remote.BrowsingContextGetTreeParameters`",
"description": "<pre>{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />}</pre>",
"description": "<pre>\\{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />\\}</pre>",
"required": true

@@ -252,3 +267,3 @@ }

"type": "`remote.BrowsingContextHandleUserPromptParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />\\}</pre>",
"required": true

@@ -259,2 +274,22 @@ }

},
"browsingContext.locateNodes": {
"socket": {
"command": "browsingContextLocateNodes",
"description": "WebDriver Bidi command to send command method \"browsingContext.locateNodes\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-locateNodes",
"parameters": [
{
"name": "params",
"type": "`remote.BrowsingContextLocateNodesParameters`",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> locator: BrowsingContextLocator;<br /> maxNodeCount?: JsUint;<br /> ownership?: ScriptResultOwnership;<br /> sandbox?: string;<br /> serializationOptions?: ScriptSerializationOptions;<br /> startNodes?: ScriptSharedReference[];<br />\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.BrowsingContextLocateNodesResult",
"description": "Command return value with the following interface:\n ```ts\n {\n nodes: ScriptNodeRemoteValue[];\n }\n ```"
}
}
},
"browsingContext.navigate": {

@@ -269,3 +304,3 @@ "socket": {

"type": "`remote.BrowsingContextNavigateParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>",
"required": true

@@ -290,3 +325,3 @@ }

"type": "`remote.BrowsingContextPrintParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" &#124; \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint &#124; string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" &#124; \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint &#124; string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />\\}</pre>",
"required": true

@@ -311,3 +346,3 @@ }

"type": "`remote.BrowsingContextReloadParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>",
"required": true

@@ -318,5 +353,145 @@ }

},
"browsingContext.setViewport": {
"socket": {
"command": "browsingContextSetViewport",
"description": "WebDriver Bidi command to send command method \"browsingContext.setViewport\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport",
"parameters": [
{
"name": "params",
"type": "`remote.BrowsingContextSetViewportParameters`",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> viewport?: BrowsingContextViewport &#124; null;<br /> devicePixelRatio?: number &#124; null;<br />\\}</pre>",
"required": true
}
]
}
},
"browsingContext.traverseHistory": {
"socket": {
"command": "browsingContextTraverseHistory",
"description": "WebDriver Bidi command to send command method \"browsingContext.traverseHistory\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-traverseHistory",
"parameters": [
{
"name": "params",
"type": "`remote.BrowsingContextTraverseHistoryParameters`",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> delta: JsInt;<br />\\}</pre>",
"required": true
}
]
}
},
"network.addIntercept": {
"socket": {
"command": "networkAddIntercept",
"description": "WebDriver Bidi command to send command method \"network.addIntercept\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-addIntercept",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkAddInterceptParameters`",
"description": "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.NetworkAddInterceptResult",
"description": "Command return value with the following interface:\n ```ts\n {\n intercept: NetworkIntercept;\n }\n ```"
}
}
},
"network.continueRequest": {
"socket": {
"command": "networkContinueRequest",
"description": "WebDriver Bidi command to send command method \"network.continueRequest\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueRequest",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkContinueRequestParameters`",
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkCookieHeader[];<br /> headers?: NetworkHeader[];<br /> method?: string;<br /> url?: string;<br />\\}</pre>",
"required": true
}
]
}
},
"network.continueResponse": {
"socket": {
"command": "networkContinueResponse",
"description": "WebDriver Bidi command to send command method \"network.continueResponse\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueResponse",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkContinueResponseParameters`",
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> cookies?: NetworkSetCookieHeader[];<br /> credentials?: NetworkAuthCredentials;<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
"required": true
}
]
}
},
"network.continueWithAuth": {
"socket": {
"command": "networkContinueWithAuth",
"description": "WebDriver Bidi command to send command method \"network.continueWithAuth\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkContinueWithAuthParameters`",
"description": "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>",
"required": true
}
]
}
},
"network.failRequest": {
"socket": {
"command": "networkFailRequest",
"description": "WebDriver Bidi command to send command method \"network.failRequest\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-failRequest",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkFailRequestParameters`",
"description": "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>",
"required": true
}
]
}
},
"network.provideResponse": {
"socket": {
"command": "networkProvideResponse",
"description": "WebDriver Bidi command to send command method \"network.provideResponse\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-provideResponse",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkProvideResponseParameters`",
"description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkSetCookieHeader[];<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
"required": true
}
]
}
},
"network.removeIntercept": {
"socket": {
"command": "networkRemoveIntercept",
"description": "WebDriver Bidi command to send command method \"network.removeIntercept\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept",
"parameters": [
{
"name": "params",
"type": "`remote.NetworkRemoveInterceptParameters`",
"description": "<pre>\\{<br /> intercept: NetworkIntercept;<br />\\}</pre>",
"required": true
}
]
}
},
"script.addPreloadScript": {
"socket": {
"command": "scriptAddPreloadScriptCommand",
"command": "scriptAddPreloadScript",
"description": "WebDriver Bidi command to send command method \"script.addPreloadScript\" with parameters.",

@@ -327,7 +502,12 @@ "ref": "https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript",

"name": "params",
"type": "object",
"description": "<pre>{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> sandbox?: string;<br />}</pre>",
"type": "`remote.ScriptAddPreloadScriptParameters`",
"description": "<pre>\\{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> sandbox?: string;<br />\\}</pre>",
"required": true
}
]
],
"returns": {
"type": "Object",
"name": "local.ScriptAddPreloadScriptResult",
"description": "Command return value with the following interface:\n ```ts\n {\n script: ScriptPreloadScript;\n }\n ```"
}
}

@@ -344,3 +524,3 @@ },

"type": "`remote.ScriptDisownParameters`",
"description": "<pre>{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />}</pre>",
"description": "<pre>\\{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />\\}</pre>",
"required": true

@@ -360,3 +540,3 @@ }

"type": "`remote.ScriptCallFunctionParameters`",
"description": "<pre>{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptArgumentValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptArgumentValue;<br />}</pre>",
"description": "<pre>\\{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptLocalValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptLocalValue;<br /> userActivation?: boolean;<br />\\}</pre>",
"required": true

@@ -376,3 +556,3 @@ }

"type": "`remote.ScriptEvaluateParameters`",
"description": "<pre>{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br />}</pre>",
"description": "<pre>\\{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> userActivation?: boolean;<br />\\}</pre>",
"required": true

@@ -397,3 +577,3 @@ }

"type": "`remote.ScriptGetRealmsParameters`",
"description": "<pre>{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />}</pre>",
"description": "<pre>\\{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />\\}</pre>",
"required": true

@@ -411,3 +591,3 @@ }

"socket": {
"command": "scriptRemovePreloadScriptCommand",
"command": "scriptRemovePreloadScript",
"description": "WebDriver Bidi command to send command method \"script.removePreloadScript\" with parameters.",

@@ -419,3 +599,3 @@ "ref": "https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript",

"type": "`remote.ScriptRemovePreloadScriptParameters`",
"description": "<pre>{<br /> script: ScriptPreloadScript;<br />}</pre>",
"description": "<pre>\\{<br /> script: ScriptPreloadScript;<br />\\}</pre>",
"required": true

@@ -435,3 +615,3 @@ }

"type": "`remote.InputPerformActionsParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />\\}</pre>",
"required": true

@@ -451,3 +631,3 @@ }

"type": "`remote.InputReleaseActionsParameters`",
"description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
"required": true

@@ -459,1 +639,2 @@ }

};
export default protocol;

@@ -182,5 +182,2 @@ export interface ProtocolCommandResponse {

}
export interface BidiResponse {
id: number;
}
export type Context = string | DetailedContext;

@@ -187,0 +184,0 @@ /**

{
"name": "@wdio/protocols",
"version": "8.22.0",
"version": "8.23.0",
"description": "Utility package providing information about automation protocols",

@@ -30,3 +30,3 @@ "author": "Christian Bromann <mail@bromann.dev>",

},
"gitHead": "81496a30b1c50e7d4129be6997f1a557f9659224"
"gitHead": "b17ce5f554deb8588cc156ad9676bd4bd13defe7"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc