v0.3.1 — Headless CDP Automation
Headless Browser Automation
moonpub configure 静默无头运行,不弹浏览器窗口。
moonpub login # 首次扫码,保存 cookie
moonpub configure # headless 全自动,6/6 通过
moonpub configure --headed # 调试:打开浏览器 + 截图
moonpub test-zanshang --headed # 单独调试某步骤CLI 新增
configure [<steps>..] [--headed]step-test [--headed]test-zanshang [--headed]test-chuangzuo [--headed]test-yulan [--headed]
核心修复
- 留言
cdp_click_exact_last+ Escape 正确关闭对话框 - Cookie 持久化:
~/.config/moonpub/session.json - Step 内部不加
if headed包装,避免时序依赖被破坏