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.1.3 to 6.1.7

15

build/commands/elementSendKeys.js

@@ -10,2 +10,6 @@ "use strict";

var _path = _interopRequireDefault(require("path"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
async function elementSendKeys({

@@ -23,4 +27,13 @@ elementId,

const page = this.getPageHandle();
await page.keyboard.type(text);
const tagName = await (await elementHandle.getProperty('tagName')).jsonValue();
const type = await (await elementHandle.getProperty('type')).jsonValue();
if (tagName === 'INPUT' && type === 'file') {
const paths = (text || '').split('\n').map(p => _path.default.resolve(p));
await elementHandle.uploadFile(...paths);
} else {
await page.keyboard.type(text);
}
return null;
}

4

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

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

},
"gitHead": "f7b43b2fab60bf87b49352957b28709cc63a7f66"
"gitHead": "bde6507d480acb07da6868d624ee714096b15956"
}
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