Socket
Socket
Sign inDemoInstall

@wdio/protocols

Package Overview
Dependencies
Maintainers
3
Versions
139
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 9.0.0-alpha.78 to 9.0.0-alpha.113

124

build/protocols/webdriverBidi.d.ts

@@ -84,3 +84,3 @@ /**

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 ```";
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 setWindowRect: boolean;\n userAgent: string;\n proxy?: SessionProxyConfiguration;\n webSocketUrl?: string;\n };\n }\n ```";
};

@@ -141,2 +141,51 @@ };

};
readonly "browser.createUserContext": {
readonly socket: {
readonly command: "browserCreateUserContext";
readonly description: "WebDriver Bidi command to send command method \"browser.createUserContext\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browser-createUserContext";
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.BrowserCreateUserContextResult";
readonly description: "Command return value with the following interface:\n ```ts\n ;\n ```";
};
};
};
readonly "browser.getUserContexts": {
readonly socket: {
readonly command: "browserGetUserContexts";
readonly description: "WebDriver Bidi command to send command method \"browser.getUserContexts\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browser-getUserContexts";
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.BrowserGetUserContextsResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n userContexts: BrowserUserContextInfo[];\n }\n ```";
};
};
};
readonly "browser.removeUserContext": {
readonly socket: {
readonly command: "browserRemoveUserContext";
readonly description: "WebDriver Bidi command to send command method \"browser.removeUserContext\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.BrowserRemoveUserContextParameters`";
readonly description: "<pre>\\{<br /> userContext: BrowserUserContext;<br />\\}</pre>";
readonly required: true;
}];
};
};
readonly "browsingContext.activate": {

@@ -194,3 +243,3 @@ readonly socket: {

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

@@ -244,3 +293,3 @@ }];

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 description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> locator: BrowsingContextLocator;<br /> maxNodeCount?: JsUint;<br /> serializationOptions?: ScriptSerializationOptions;<br /> startNodes?: ScriptSharedReference[];<br />\\}</pre>";
readonly required: true;

@@ -338,3 +387,3 @@ }];

readonly type: "`remote.NetworkAddInterceptParameters`";
readonly description: "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>";
readonly description: "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>";
readonly required: true;

@@ -520,2 +569,56 @@ }];

};
readonly "storage.getCookies": {
readonly socket: {
readonly command: "storageGetCookies";
readonly description: "WebDriver Bidi command to send command method \"storage.getCookies\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-storage-getCookies";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.StorageGetCookiesParameters`";
readonly description: "<pre>\\{<br /> filter?: StorageCookieFilter;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.StorageGetCookiesResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n cookies: NetworkCookie[];\n partitionKey: StoragePartitionKey;\n }\n ```";
};
};
};
readonly "storage.setCookie": {
readonly socket: {
readonly command: "storageSetCookie";
readonly description: "WebDriver Bidi command to send command method \"storage.setCookie\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-storage-setCookie";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.StorageSetCookieParameters`";
readonly description: "<pre>\\{<br /> cookie: StoragePartialCookie;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.StorageSetCookieResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n partitionKey: StoragePartitionKey;\n }\n ```";
};
};
};
readonly "storage.deleteCookies": {
readonly socket: {
readonly command: "storageDeleteCookies";
readonly description: "WebDriver Bidi command to send command method \"storage.deleteCookies\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-storage-deleteCookies";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.StorageDeleteCookiesParameters`";
readonly description: "<pre>\\{<br /> filter?: StorageCookieFilter;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>";
readonly required: true;
}];
readonly returns: {
readonly type: "Object";
readonly name: "local.StorageDeleteCookiesResult";
readonly description: "Command return value with the following interface:\n ```ts\n {\n partitionKey: StoragePartitionKey;\n }\n ```";
};
};
};
readonly "input.performActions": {

@@ -547,4 +650,17 @@ readonly socket: {

};
readonly "input.setFiles": {
readonly socket: {
readonly command: "inputSetFiles";
readonly description: "WebDriver Bidi command to send command method \"input.setFiles\" with parameters.";
readonly ref: "https://w3c.github.io/webdriver-bidi/#command-input-setFiles";
readonly parameters: readonly [{
readonly name: "params";
readonly type: "`remote.InputSetFilesParameters`";
readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> element: ScriptSharedReference;<br /> files: string[];<br />\\}</pre>";
readonly required: true;
}];
};
};
};
export default protocol;
//# sourceMappingURL=webdriverBidi.d.ts.map

@@ -92,3 +92,3 @@ /**

"name": "local.SessionNewResult",
"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 ```"
"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 setWindowRect: boolean;\n userAgent: string;\n proxy?: SessionProxyConfiguration;\n webSocketUrl?: string;\n };\n }\n ```"
}

@@ -157,2 +157,57 @@ }

},
"browser.createUserContext": {
"socket": {
"command": "browserCreateUserContext",
"description": "WebDriver Bidi command to send command method \"browser.createUserContext\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browser-createUserContext",
"parameters": [
{
"name": "params",
"type": "`remote.EmptyParams`",
"description": "<pre>\\{\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.BrowserCreateUserContextResult",
"description": "Command return value with the following interface:\n ```ts\n ;\n ```"
}
}
},
"browser.getUserContexts": {
"socket": {
"command": "browserGetUserContexts",
"description": "WebDriver Bidi command to send command method \"browser.getUserContexts\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browser-getUserContexts",
"parameters": [
{
"name": "params",
"type": "`remote.EmptyParams`",
"description": "<pre>\\{\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.BrowserGetUserContextsResult",
"description": "Command return value with the following interface:\n ```ts\n {\n userContexts: BrowserUserContextInfo[];\n }\n ```"
}
}
},
"browser.removeUserContext": {
"socket": {
"command": "browserRemoveUserContext",
"description": "WebDriver Bidi command to send command method \"browser.removeUserContext\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext",
"parameters": [
{
"name": "params",
"type": "`remote.BrowserRemoveUserContextParameters`",
"description": "<pre>\\{<br /> userContext: BrowserUserContext;<br />\\}</pre>",
"required": true
}
]
}
},
"browsingContext.activate": {

@@ -217,3 +272,3 @@ "socket": {

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

@@ -273,3 +328,3 @@ }

"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>",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> locator: BrowsingContextLocator;<br /> maxNodeCount?: JsUint;<br /> serializationOptions?: ScriptSerializationOptions;<br /> startNodes?: ScriptSharedReference[];<br />\\}</pre>",
"required": true

@@ -379,3 +434,3 @@ }

"type": "`remote.NetworkAddInterceptParameters`",
"description": "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>",
"description": "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>",
"required": true

@@ -586,2 +641,62 @@ }

},
"storage.getCookies": {
"socket": {
"command": "storageGetCookies",
"description": "WebDriver Bidi command to send command method \"storage.getCookies\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-storage-getCookies",
"parameters": [
{
"name": "params",
"type": "`remote.StorageGetCookiesParameters`",
"description": "<pre>\\{<br /> filter?: StorageCookieFilter;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.StorageGetCookiesResult",
"description": "Command return value with the following interface:\n ```ts\n {\n cookies: NetworkCookie[];\n partitionKey: StoragePartitionKey;\n }\n ```"
}
}
},
"storage.setCookie": {
"socket": {
"command": "storageSetCookie",
"description": "WebDriver Bidi command to send command method \"storage.setCookie\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-storage-setCookie",
"parameters": [
{
"name": "params",
"type": "`remote.StorageSetCookieParameters`",
"description": "<pre>\\{<br /> cookie: StoragePartialCookie;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.StorageSetCookieResult",
"description": "Command return value with the following interface:\n ```ts\n {\n partitionKey: StoragePartitionKey;\n }\n ```"
}
}
},
"storage.deleteCookies": {
"socket": {
"command": "storageDeleteCookies",
"description": "WebDriver Bidi command to send command method \"storage.deleteCookies\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-storage-deleteCookies",
"parameters": [
{
"name": "params",
"type": "`remote.StorageDeleteCookiesParameters`",
"description": "<pre>\\{<br /> filter?: StorageCookieFilter;<br /> partition?: StoragePartitionDescriptor;<br />\\}</pre>",
"required": true
}
],
"returns": {
"type": "Object",
"name": "local.StorageDeleteCookiesResult",
"description": "Command return value with the following interface:\n ```ts\n {\n partitionKey: StoragePartitionKey;\n }\n ```"
}
}
},
"input.performActions": {

@@ -616,4 +731,19 @@ "socket": {

}
},
"input.setFiles": {
"socket": {
"command": "inputSetFiles",
"description": "WebDriver Bidi command to send command method \"input.setFiles\" with parameters.",
"ref": "https://w3c.github.io/webdriver-bidi/#command-input-setFiles",
"parameters": [
{
"name": "params",
"type": "`remote.InputSetFilesParameters`",
"description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> element: ScriptSharedReference;<br /> files: string[];<br />\\}</pre>",
"required": true
}
]
}
}
};
export default protocol;

4

package.json
{
"name": "@wdio/protocols",
"version": "9.0.0-alpha.78+fee2f8a88",
"version": "9.0.0-alpha.113+ceeac488e",
"description": "Utility package providing information about automation protocols",

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

},
"gitHead": "fee2f8a88d132537795eaf144abf1a7e242f99ff"
"gitHead": "ceeac488e86da4d6ffad891632183085e4332be7"
}

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