Skip to content

feat(backend): add web pipeline Phase 1 — XHR interceptor + accessibility snapshot (#1967)#3071

Merged
mrveiss merged 1 commit intoDev_new_guifrom
feat/1967-web-pipeline-p1
Mar 31, 2026
Merged

feat(backend): add web pipeline Phase 1 — XHR interceptor + accessibility snapshot (#1967)#3071
mrveiss merged 1 commit intoDev_new_guifrom
feat/1967-web-pipeline-p1

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 31, 2026

Summary

  • XHRInterceptor: JS injection to capture fetch/XMLHttpRequest calls with responses
  • AccessibilitySnapshot: Playwright accessibility tree capture with text rendering
  • find_by_role() and find_by_name() for tree queries (case-insensitive, DFS)
  • InterceptedRequest and AccessibilityNode dataclasses with serialization
  • 54 tests covering all paths

Closes #1967

Test plan

  • JS script generation and idempotency markers
  • Result collection: full payloads, errors, evaluate exceptions
  • Accessibility capture: None, exceptions, typed attrs, children
  • Text rendering: roles, names, values, checked/disabled markers
  • Find by role/name: nested, case-insensitive, no match
  • Node serialization: optional fields omitted, children recursive
  • flake8 passes

🤖 Generated with Claude Code

…lity snapshot (#1967)

XHRInterceptor patches fetch/XMLHttpRequest to capture network calls.
AccessibilitySnapshot captures and queries Playwright accessibility trees
with text rendering and role/name search. 54 tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrveiss mrveiss merged commit 09265fa into Dev_new_gui Mar 31, 2026
4 of 5 checks passed
@mrveiss mrveiss deleted the feat/1967-web-pipeline-p1 branch March 31, 2026 17:53
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant