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 8.6.9 to 8.7.0

12

package.json
{
"name": "devtools",
"version": "8.6.9",
"version": "8.7.0",
"description": "A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer",

@@ -42,11 +42,11 @@ "author": "Christian Bromann <mail@bromann.dev>",

"@types/node": "^18.0.0",
"@wdio/config": "8.6.8",
"@wdio/config": "8.7.0",
"@wdio/logger": "8.6.6",
"@wdio/protocols": "8.6.6",
"@wdio/types": "8.6.8",
"@wdio/utils": "8.6.8",
"@wdio/types": "8.7.0",
"@wdio/utils": "8.7.0",
"chrome-launcher": "^0.15.0",
"edge-paths": "^3.0.5",
"import-meta-resolve": "^2.1.0",
"puppeteer-core": "19.8.0",
"puppeteer-core": "19.8.3",
"query-selector-shadow-dom": "^1.0.0",

@@ -61,3 +61,3 @@ "ua-parser-js": "^1.0.1",

},
"gitHead": "4e55b777974baeea7d74ff43964c114fc8c5f60f"
"gitHead": "2615d963dc561aed0920c519ed5c27720e1a636c"
}

@@ -36,15 +36,13 @@ DevTools

*/
await browser.call(async () => {
const puppeteer = await browser.getPuppeteer()
const page = (await puppeteer.pages())[0]
await page.setRequestInterception(true)
page.on('request', interceptedRequest => {
if (interceptedRequest.url().endsWith('webdriverio.png')) {
return interceptedRequest.continue({
url: 'https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png'
})
}
const puppeteer = await browser.getPuppeteer()
const page = (await puppeteer.pages())[0]
await page.setRequestInterception(true)
page.on('request', interceptedRequest => {
if (interceptedRequest.url().endsWith('webdriverio.png')) {
return interceptedRequest.continue({
url: 'https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png'
})
}
interceptedRequest.continue()
})
interceptedRequest.continue()
})

@@ -57,3 +55,3 @@

/**
* now on the https://webdriver.io page you see the Puppeteer logo
* now on the https://v6.webdriver.io page you see the Puppeteer logo
* instead of the WebdriverIO one

@@ -60,0 +58,0 @@ */

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