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.5.0 to 0.5.1

5

History.md

@@ -10,1 +10,6 @@ ## 版本更新

* 增加page.goBack()、page.goForward()
#### 0.5.1
* 捕获ws模块抛出的未知bug,退出浏览器

11

index.js
"use strict"
const childProcess = require('child_process')
const readline = require('readline');
const readline = require('readline')
const WebSocket = require('ws')

@@ -60,3 +60,10 @@ const Chrome = require('./lib/Chrome')

let ws = new WebSocket(webSocketDebuggerUrl, { perMessageDeflate: false });
let ws
try {
ws = new WebSocket(webSocketDebuggerUrl, { perMessageDeflate: false });
} catch (error) {
chromeProcess.kill()
throw error
}

@@ -63,0 +70,0 @@ let awaitOpen = new zPromise()

2

package.json
{
"name": "auto-chrome",
"version": "0.5.0",
"version": "0.5.1",
"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