Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

tweak to browser command logging

Dane Schneider8386638113f5
diff --git a/app/cli/cmd/browser.go b/app/cli/cmd/browser.go
index 7b3d807e..67a7869a 100644
--- a/app/cli/cmd/browser.go
+++ b/app/cli/cmd/browser.go
@@ -133,7 +133,11 @@ func openChromeWithLogs(urls []string) error {
// This sometimes also includes target info
info := e.TargetInfo
if info.Type == "page" {
- pages[info.TargetID] = info.URL
+ url := info.URL
+ if url == "about:blank" {
+ url = urls[0]
+ }
+ pages[info.TargetID] = url
}
case *target.EventTargetDestroyed: