Socket
Socket
Sign inDemoInstall

@wdio/protocols

Package Overview
Dependencies
Maintainers
0
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.115 to 9.0.0-alpha.321

24

build/commands/selenium.d.ts

@@ -14,2 +14,26 @@ import type { ProtocolCommandResponse } from '../types.js';

*
* List files from remote machine available for download.
* @ref https://www.seleniumhq.org/
*
*/
getDownloadableFiles(): Promise<ProtocolCommandResponse>;
/**
* Selenium Protocol Command
*
* Download a file from remote machine on which the browser is running.
* @ref https://www.seleniumhq.org/
*
*/
download(name: string): Promise<ProtocolCommandResponse>;
/**
* Selenium Protocol Command
*
* Remove all downloadable files from remote machine on which the browser is running.
* @ref https://www.seleniumhq.org/
*
*/
deleteDownloadableFiles(): Promise<void>;
/**
* Selenium Protocol Command
*
* Receive hub config remotely.

@@ -16,0 +40,0 @@ * @ref https://github.com/nicegraham/selenium-grid2-api#gridapihub

10

build/commands/webdriver.d.ts

@@ -1,2 +0,2 @@

import type { SessionReturn, DeleteSessionOpts, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js';
import type { SessionReturn, DeleteSessionOpts, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse, Credential } from '../types.js';
export default interface WebdriverCommands {

@@ -577,3 +577,3 @@ /**

*/
addVirtualAuthenticator(protocol?: string, transport?: string, hasResidentKey?: boolean, hasUserVerification?: boolean, isUserConsenting?: boolean, isUserVerified?: boolean, extensions?: string[], uvm?: object[]): Promise<void>;
addVirtualAuthenticator(protocol?: string, transport?: string, hasResidentKey?: boolean, hasUserVerification?: boolean, isUserConsenting?: boolean, isUserVerified?: boolean, extensions?: string[], uvm?: object[]): Promise<string>;
/**

@@ -594,3 +594,3 @@ * Webdriver Protocol Command

*/
addCredential(credentialId: string, isResidentCredential: boolean, rpId: string, privateKey: string, userHandle: string, signCount: number, largeBlob: string): Promise<void>;
addCredential(authenticatorId: string, credentialId: string, isResidentCredential: boolean, rpId: string, privateKey: string, userHandle: string, signCount: number, largeBlob?: string): Promise<void>;
/**

@@ -603,3 +603,3 @@ * Webdriver Protocol Command

*/
getCredentials(authenticatorId: string): Promise<void>;
getCredentials(authenticatorId: string): Promise<Credential[]>;
/**

@@ -628,4 +628,4 @@ * Webdriver Protocol Command

*/
setUserVerified(authenticatorId: string, credentialId: string): Promise<void>;
setUserVerified(authenticatorId: string): Promise<void>;
}
//# sourceMappingURL=webdriver.d.ts.map

@@ -20,2 +20,37 @@ declare const _default: {

};
'/session/:sessionId/se/files': {
GET: {
command: string;
description: string;
ref: string;
parameters: never[];
returns: {
type: string;
name: string;
description: string;
};
};
POST: {
command: string;
description: string;
ref: string;
parameters: {
name: string;
type: string;
description: string;
required: boolean;
}[];
returns: {
type: string;
name: string;
description: string;
};
};
DELETE: {
command: string;
description: string;
ref: string;
parameters: never[];
};
};
'/grid/api/hub/': {

@@ -22,0 +57,0 @@ GET: {

@@ -22,2 +22,39 @@ export default {

},
'/session/:sessionId/se/files': {
GET: {
command: 'getDownloadableFiles',
description: 'List files from remote machine available for download.',
ref: 'https://www.seleniumhq.org/',
parameters: [],
returns: {
type: 'Object',
name: 'names',
description: 'Object containing a list of downloadable files on remote machine.',
},
},
POST: {
command: 'download',
description: 'Download a file from remote machine on which the browser is running.',
ref: 'https://www.seleniumhq.org/',
parameters: [
{
name: 'name',
type: 'string',
description: 'Name of the file to be downloaded',
required: true,
},
],
returns: {
type: 'Object',
name: 'data',
description: 'Object containing downloaded file name and its content',
},
},
DELETE: {
command: 'deleteDownloadableFiles',
description: 'Remove all downloadable files from remote machine on which the browser is running.',
ref: 'https://www.seleniumhq.org/',
parameters: [],
},
},
'/grid/api/hub/': {

@@ -24,0 +61,0 @@ GET: {

@@ -1081,2 +1081,7 @@ declare const _default: {

}[];
returns: {
type: string;
name: string;
description: string;
};
};

@@ -1101,2 +1106,6 @@ };

ref: string;
variables: {
name: string;
description: string;
}[];
parameters: {

@@ -1120,2 +1129,7 @@ name: string;

parameters: never[];
returns: {
type: string;
name: string;
description: string;
};
};

@@ -1145,3 +1159,3 @@ DELETE: {

};
'/session/:sessionId/webauthn/authenticator/:authenticatorId/credentials/:credentialId/uv': {
'/session/:sessionId/webauthn/authenticator/:authenticatorId/uv': {
POST: {

@@ -1148,0 +1162,0 @@ command: string;

@@ -18,2 +18,10 @@ export interface ProtocolCommandResponse {

}
export interface Credential {
credentialId: string;
isResidentCredential: boolean;
rpId: string;
privateKey: string;
userHandle: string;
signCount: number;
}
export interface RectReturn {

@@ -20,0 +28,0 @@ x: number;

{
"name": "@wdio/protocols",
"version": "9.0.0-alpha.115+8196c4ccb",
"version": "9.0.0-alpha.321+63953a607",
"description": "Utility package providing information about automation protocols",

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

},
"gitHead": "8196c4ccb4f66e217e161804ef549f18b60dccb3"
"gitHead": "63953a6079023cb390a113fe5ce1c1b01b8e4bb6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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