refactor: DevTools → ethend 重命名 + 加入生产环境
- 目录 devtools/ → ethend/ - CLI 脚本 devtools.sh/.bat → ethend.sh/.bat - 环境变量 DEVTOOLS_PORT → ETHEND_PORT - docker-compose.yml 新增 ethend 服务(生产部署) - 同步更新全部文档、注释和配置文件 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Vendored
+1
-1
@@ -4,7 +4,7 @@ import json, time, base64, os
|
||||
from websocket import create_connection
|
||||
|
||||
PAGE_URL = "http://localhost:5199/"
|
||||
CDP_WS = "ws://127.0.0.1:9225/devtools/browser/b2fca0da-35d6-4180-8413-eddf53753c6a"
|
||||
CDP_WS = "ws://127.0.0.1:9225/ethend/browser/b2fca0da-35d6-4180-8413-eddf53753c6a"
|
||||
|
||||
def send_cmd(ws, method, params=None, msg_id=1):
|
||||
payload = json.dumps({"id": msg_id, "method": method, "params": params or {}})
|
||||
|
||||
Reference in New Issue
Block a user