Comparing version 8.3.5 to 8.3.8
@@ -1,20 +0,2 @@ | ||
import type { Options } from '@wdio/types'; | ||
import type { Client, AttachOptions } from '../types'; | ||
declare class Devtools { | ||
static newSession(options: Options.WebDriver, modifier?: (...args: any[]) => any, userPrototype?: {}, customCommandWrapper?: (...args: any[]) => any): Promise<Client>; | ||
/** | ||
* allows user to attach to existing sessions | ||
*/ | ||
static attachToSession(options: AttachOptions, modifier?: (...args: any[]) => any, userPrototype?: {}, commandWrapper?: (...args: any[]) => any): Promise<Client>; | ||
/** | ||
* Changes The instance session id and browser capabilities for the new session | ||
* directly into the passed in browser object | ||
* | ||
* @param {Object} instance the object we get from a new browser session. | ||
* @returns {string} the new session id of the browser | ||
*/ | ||
static reloadSession(instance: Client): Promise<string>; | ||
static get Devtools(): typeof Devtools; | ||
} | ||
export = Devtools; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
class Devtools { | ||
@@ -30,1 +29,2 @@ static async newSession(options, modifier, userPrototype = {}, customCommandWrapper) { | ||
module.exports = Devtools; | ||
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { ExtendedCapabilities } from '../types.js'; | ||
@@ -3,0 +3,0 @@ import type DevToolsDriver from '../devtoolsdriver.js'; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type DevToolsDriver from '../devtoolsdriver.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { EventEmitter } from 'node:events'; | ||
@@ -3,0 +3,0 @@ import type { Options, Capabilities } from '@wdio/types'; |
{ | ||
"name": "devtools", | ||
"version": "8.3.5", | ||
"version": "8.3.8", | ||
"description": "A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer", | ||
@@ -60,3 +60,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "cc6deb72e7c4f064074ca8a2e101da7c08db8b4b" | ||
"gitHead": "a32ecf2abb9202d532fb98b7c23ceed9dbb2f6ee" | ||
} |
Sorry, the diff of this file is not supported yet
231848
4260