High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: pierce Shadow DOM in Accessibility.getFullAXTree (issue #381) (#403)
Alice Losasso8b2c204ce526
diff --git a/internal/bridge/observe/snapshot.go b/internal/bridge/observe/snapshot.goindex 8458a2b0..e3996424 100644--- a/internal/bridge/observe/snapshot.go+++ b/internal/bridge/observe/snapshot.go@@ -106,7 +106,11 @@ func FetchAXTree(ctx context.Context) ([]RawAXNode, error) {}func fetchAXTreeForFrame(ctx context.Context, frameID string) ([]RawAXNode, error) {- params := map[string]any{}+ params := map[string]any{+ // pierce:true makes the accessibility tree traverse Shadow DOM boundaries,+ // exposing content inside shadow roots (issue #381).+ "pierce": true,+ }if frameID != "" {params["frameId"] = frameID}