feat: add browser argument builder and discovery

This commit is contained in:
QiuSW
2026-07-22 14:55:35 +08:00
parent a5260496f3
commit cf828aec21
6 changed files with 285 additions and 3 deletions
+2
View File
@@ -20,6 +20,8 @@ type BrowserManager interface {
`Stop(force=false)` 只执行优雅关闭;强制关闭必须由明确用户动作或 CLI `--force` 触发。
参数数组由 `internal/platform/browser.BuildArgs` 生成;Chrome/Edge executable 由同包 `Discoverer.Resolve` 解析。二者都不接收 shell 命令行字符串。
## CLI 目标形状
```text