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.0.15 to 8.1.0

build/protocols/appium.d.ts

19

build/index.d.ts

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

import type { Protocol } from './types.js';
import type AppiumCommands from './commands/appium.js';

@@ -11,11 +10,11 @@ import type ChromiumCommands from './commands/chromium.js';

import type WebDriverBidiCommands from './commands/webdriverBidi.js';
declare const WebDriverProtocol: Protocol;
declare const WebDriverBidiProtocol: Protocol;
declare const MJsonWProtocol: Protocol;
declare const JsonWProtocol: Protocol;
declare const AppiumProtocol: Protocol;
declare const ChromiumProtocol: Protocol;
declare const GeckoProtocol: Protocol;
declare const SauceLabsProtocol: Protocol;
declare const SeleniumProtocol: Protocol;
import WebDriverProtocol from './protocols/webdriver.js';
import WebDriverBidiProtocol from './protocols/webdriverBidi.js';
import MJsonWProtocol from './protocols/mjsonwp.js';
import JsonWProtocol from './protocols/jsonwp.js';
import AppiumProtocol from './protocols/appium.js';
import ChromiumProtocol from './protocols/chromium.js';
import GeckoProtocol from './protocols/gecko.js';
import SauceLabsProtocol from './protocols/saucelabs.js';
import SeleniumProtocol from './protocols/selenium.js';
type WebDriverCommandsAsync = {

@@ -22,0 +21,0 @@ [K in keyof WebDriverCommands]: (...args: Parameters<WebDriverCommands[K]>) => Promise<ReturnType<WebDriverCommands[K]>>;

@@ -1,12 +0,10 @@

import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const WebDriverProtocol = require('../protocols/webdriver.json');
const WebDriverBidiProtocol = require('../protocols/webdriverBidi.json');
const MJsonWProtocol = require('../protocols/mjsonwp.json');
const JsonWProtocol = require('../protocols/jsonwp.json');
const AppiumProtocol = require('../protocols/appium.json');
const ChromiumProtocol = require('../protocols/chromium.json');
const GeckoProtocol = require('../protocols/gecko.json');
const SauceLabsProtocol = require('../protocols/saucelabs.json');
const SeleniumProtocol = require('../protocols/selenium.json');
import WebDriverProtocol from './protocols/webdriver.js';
import WebDriverBidiProtocol from './protocols/webdriverBidi.js';
import MJsonWProtocol from './protocols/mjsonwp.js';
import JsonWProtocol from './protocols/jsonwp.js';
import AppiumProtocol from './protocols/appium.js';
import ChromiumProtocol from './protocols/chromium.js';
import GeckoProtocol from './protocols/gecko.js';
import SauceLabsProtocol from './protocols/saucelabs.js';
import SeleniumProtocol from './protocols/selenium.js';
export * from './types.js';

@@ -13,0 +11,0 @@ export {

export interface ProtocolCommandResponse {
[key: string]: any;
}
export interface SessionReturn extends /* DesiredCapabilities, */ ProtocolCommandResponse {
export interface SessionReturn extends ProtocolCommandResponse {
}

@@ -89,4 +89,4 @@ export interface StatusReturn extends ProtocolCommandResponse {

export type CommandPath = 'string';
export type CommandMethod = 'POST' | 'GET' | 'DELETE';
export type Protocol = Record<CommandPath, Record<CommandMethod, CommandEndpoint>>;
export type CommandMethod = 'POST' | 'GET' | 'DELETE' | 'socket';
export type Protocol = Record<string, Partial<Record<CommandMethod, CommandEndpoint>>>;
/**

@@ -103,3 +103,3 @@ * describes a command endpoint

*/
description: string;
description?: string;
/**

@@ -129,2 +129,3 @@ * link to specification reference

returns?: CommandReturnObject;
examples?: string[][];
}

@@ -134,3 +135,3 @@ export interface CommandReturnObject {

name: string;
description: string;
description?: string;
}

@@ -151,3 +152,3 @@ export interface CommandPathVariables {

description: string;
required: boolean;
required?: boolean;
}

@@ -164,3 +165,3 @@ export type Platform = 'ios' | 'android';

*/
export type SupportedEnvironments = Record<Platform, Record<Environments, string>>;
export type SupportedEnvironments = Partial<Record<Platform, Partial<Record<Environments, string>>>>;
export type SupportedMethods = ('session.status' | 'session.new' | 'session.subscribe' | 'session.unsubscribe' | 'browsingContext.captureScreenshot' | 'browsingContext.close' | 'browsingContext.create' | 'browsingContext.getTree' | 'browsingContext.handleUserPrompt' | 'browsingContext.navigate' | 'browsingContext.reload' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'browsingContext.navigationStarted' | 'browsingContext.fragmentNavigated' | 'browsingContext.domContentLoaded' | 'browsingContext.load' | 'browsingContext.downloadWillBegin' | 'browsingContext.navigationAborted' | 'browsingContext.navigationFailed' | 'browsingContext.userPromptClosed' | 'browsingContext.userPromptOpened' | 'script.disown' | 'script.callFunction' | 'script.evaluate' | 'script.getRealms' | 'script.realmCreated' | 'script.realmDestoyed' | 'log.entryAdded');

@@ -167,0 +168,0 @@ export interface BidiRequest {

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

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

},
"gitHead": "8260333e748b13ea014b2f9b580bac099c7cf1ab"
"gitHead": "f505134606f99129c816acb00f22e39032e60820"
}

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