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

auto-chrome

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-chrome - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

test/init.js

17

lib/Chrome.js

@@ -43,3 +43,3 @@ const Event = require('./Event');

*/
async newPage(url = 'about:blank') {
async newPage(url = 'about:newtab') {

@@ -85,4 +85,19 @@ let { targetId } = await this.send('Target.createTarget', { url })

}
/**
* 初始化标签页
*/
async initPage() {
let [...pages] = await this.pages
this.page = await this.newPage()
for (let [id, page] of pages) {
await page.close()
}
}
}
module.exports = Chrome

2

package.json
{
"name": "auto-chrome",
"version": "0.3.3",
"version": "0.3.4",
"description": "使用Node.js操作Chrome或Chromium,高仿真的用户行为模拟器",

@@ -5,0 +5,0 @@ "main": "index.js",

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