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

devtools

Package Overview
Dependencies
Maintainers
7
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 6.3.6 to 6.4.0

6

build/index.js

@@ -77,4 +77,4 @@ "use strict";

const environmentPrototype = {
getPuppeteer: {
value: () => browser
puppeteer: {
value: browser
}

@@ -94,3 +94,3 @@ };

const prototype = _objectSpread(_objectSpread(_objectSpread({}, protocolCommands), environmentPrototype), userPrototype);
const prototype = _objectSpread(_objectSpread(_objectSpread({}, protocolCommands), userPrototype), environmentPrototype);

@@ -97,0 +97,0 @@ const monad = (0, _utils.webdriverMonad)(params, modifier, prototype);

@@ -7,3 +7,2 @@ /// <reference types="node"/>

isDevTools: boolean;
getPuppeteer: (...args: any[]) => any;
}

@@ -10,0 +9,0 @@ }

{
"name": "devtools",
"version": "6.3.6",
"version": "6.4.0",
"description": "A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer",

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

"@wdio/protocols": "6.3.6",
"@wdio/utils": "6.3.6",
"@wdio/utils": "6.4.0",
"chrome-launcher": "^0.13.1",

@@ -46,3 +46,3 @@ "puppeteer-core": "^5.1.0",

},
"gitHead": "ef0a63beabfc75970731da7d00562f6a448606ee"
"gitHead": "ee83c6560fb2bef85d3af570b4aee24de0936018"
}

@@ -39,4 +39,3 @@ DevTools

await browser.call(async () => {
const puppeteerBrowser = browser.getPuppeteer()
const page = (await puppeteerBrowser.pages())[0]
const page = (await browser.puppeteer.pages())[0]
await page.setRequestInterception(true)

@@ -43,0 +42,0 @@ page.on('request', interceptedRequest => {

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