🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

playwright-record

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-record - npm Package Compare versions

Comparing version
1.0.10
to
1.0.11
+3
-3
dist/recorder.js

@@ -59,4 +59,3 @@ "use strict";

if (this.isRecording) {
this.cleanup();
// throw new Error('录制已经在进行中');
await this.cleanup();
}

@@ -163,3 +162,4 @@ this.ws = ws;

if (!this.isRecording) {
throw new Error('没有正在进行的录制');
console.info('没有正在进行的录制');
return;
}

@@ -166,0 +166,0 @@ // 停止文件监听

@@ -59,2 +59,3 @@ "use strict";

ws.on('close', () => {
handleMessage(ws, JSON.stringify({ command: 'stop' }));
logger_1.logger.info('客户端已断开连接');

@@ -61,0 +62,0 @@ });

{
"name": "playwright-record",
"version": "1.0.10",
"version": "1.0.11",
"description": "基于WebSocket和Playwright的自动化录制工具",

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