Comparing version 6.3.6 to 6.4.0
@@ -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 => { |
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
85295
2068
147
+ Added@wdio/utils@6.4.0(transitive)
+ Addedua-parser-js@0.7.40(transitive)
- Removed@wdio/utils@6.3.6(transitive)
- Removedua-parser-js@0.7.39(transitive)
Updated@wdio/utils@6.4.0