feat: 浏览器自动化操作开发

This commit is contained in:
DEV_DSW
2026-03-03 17:05:13 +08:00
parent d99f1dd98e
commit 20e825215f
18 changed files with 495 additions and 68 deletions

4
global.d.ts vendored
View File

@@ -80,8 +80,8 @@ declare global {
warn: (message: string, ...meta?: any[]) => void;
error: (message: string, ...meta?: any[]) => void;
},
// 任务操作
taskOperation: (params: any) => Promise<{success: boolean, error?: string}>,
// 执行脚本
executeScript: (options: any) => Promise<{success: boolean, error?: string}>,
}
interface Window {