Comparing version 7.7.3 to 7.7.4
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221176
4091
+ Added@wdio/protocols@7.7.4(transitive)
- Removed@wdio/protocols@7.5.3(transitive)
Updated@wdio/protocols@7.7.4