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

devtools

Package Overview
Dependencies
Maintainers
3
Versions
386
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devtools - npm Package Compare versions

Comparing version 7.7.3 to 7.7.4

8

build/index.d.ts
import type { Options } from '@wdio/types';
import { SUPPORTED_BROWSER } from './constants';
import type { AttachOptions, WDIODevtoolsOptions as WDIODevtoolsOptionsExtension } from './types';
import type { Client, AttachOptions, WDIODevtoolsOptions as WDIODevtoolsOptionsExtension } from './types';
export declare const sessionMap: Map<any, any>;
export default class DevTools {
static newSession(options: Options.WebDriver, modifier?: Function, userPrototype?: {}, customCommandWrapper?: Function): Promise<any>;
static reloadSession(instance: any): Promise<any>;
static newSession(options: Options.WebDriver, modifier?: Function, userPrototype?: {}, customCommandWrapper?: Function): Promise<Client>;
static reloadSession(instance: any): Promise<string>;
/**
* allows user to attach to existing sessions
*/
static attachToSession(options: AttachOptions, modifier?: Function, userPrototype?: {}, customCommandWrapper?: Function): Promise<any>;
static attachToSession(options: AttachOptions, modifier?: Function, userPrototype?: {}, customCommandWrapper?: Function): Promise<Client>;
}

@@ -13,0 +13,0 @@ export { SUPPORTED_BROWSER };

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

import type { Capabilities } from '@wdio/types';
/// <reference types="node" />
import { EventEmitter } from 'events';
import type { Options, Capabilities } from '@wdio/types';
import type { ProtocolCommandsAsync } from '@wdio/protocols';
import { LaunchOptions, BrowserLaunchArgumentOptions, BrowserConnectOptions, ConnectOptions } from 'puppeteer-core';

@@ -25,2 +28,10 @@ export interface ExtendedCapabilities extends Capabilities.Capabilities, WDIODevtoolsOptions {

}
export interface BaseClient extends EventEmitter {
sessionId: string;
capabilities: Capabilities.DesiredCapabilities | Capabilities.W3CCapabilities;
requestedCapabilities: Capabilities.DesiredCapabilities | Capabilities.W3CCapabilities;
options: Options.WebDriver;
}
export interface Client extends BaseClient, ProtocolCommandsAsync {
}
//# sourceMappingURL=types.d.ts.map
{
"name": "devtools",
"version": "7.7.3",
"version": "7.7.4",
"description": "A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer",

@@ -28,3 +28,3 @@ "author": "Christian Bromann <christian@saucelabs.com>",

"@wdio/logger": "7.7.0",
"@wdio/protocols": "7.5.3",
"@wdio/protocols": "7.7.4",
"@wdio/types": "7.7.3",

@@ -43,3 +43,3 @@ "@wdio/utils": "7.7.3",

},
"gitHead": "622993743a170d0f9d782cf50284c6d41f483100"
"gitHead": "098c8f8402cbab8cf656aad9b5f5b571d03aaee2"
}

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