Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: gofmt alignment in handler_snapshot.go

bot507070fdf6e3
diff --git a/handler_snapshot.go b/handler_snapshot.go
index df886d93..d4cfa1d9 100644
--- a/handler_snapshot.go
+++ b/handler_snapshot.go
@@ -20,10 +20,10 @@ func (b *Bridge) handleSnapshot(w http.ResponseWriter, r *http.Request) {
tabID := r.URL.Query().Get("tabId")
filter := r.URL.Query().Get("filter")
doDiff := r.URL.Query().Get("diff") == "true"
- format := r.URL.Query().Get("format") // "text", "yaml", "compact"
- output := r.URL.Query().Get("output") // "file" to save to disk
- outputPath := r.URL.Query().Get("path") // custom file path for output=file
- selector := r.URL.Query().Get("selector") // CSS selector to scope snapshot
+ format := r.URL.Query().Get("format") // "text", "yaml", "compact"
+ output := r.URL.Query().Get("output") // "file" to save to disk
+ outputPath := r.URL.Query().Get("path") // custom file path for output=file
+ selector := r.URL.Query().Get("selector") // CSS selector to scope snapshot
maxTokensStr := r.URL.Query().Get("maxTokens") // truncate output to ~N tokens
maxDepthStr := r.URL.Query().Get("depth")
maxDepth := -1