Skip to content

Track upstream click dispatch gap for inline onclick fixtures #62

@fitchmultz

Description

@fitchmultz

Summary

External testing still reports click @e... / semanticAction-resolved clicks on buttons with inline onclick="fn()" attributes failing to fire app handlers, while programmatic eval --stdin element.click() works.

Current wrapper state

The extension now handles the wrapper-owned part:

  • Top-level click-dispatch diagnostics cover exact CSS/XPath selectors and eligible @e... refs using latest snapshot role/name metadata.
  • A miss fails loudly with details.clickDispatch instead of silently reporting success.
  • Docs explain inspect-click-dispatch-miss / retry-click-after-dispatch-miss and the static-fixture-only programmatic .click() workaround.
  • SUPPORT_MATRIX tracks RQ-0120.

Evidence

  • Maintainer minimal direct probe on a simple file fixture showed inline onclick firing for selector and @ref clicks, so inline attributes are not universally broken.
  • External richer fixture still fails, and the new diagnostic confirms no trusted DOM event reaches the intended element.

In-scope next action

Keep this issue as the local tracking link for upstream/root-cause follow-up. Need a minimal upstream repro HTML/command set where direct agent-browser click @e... fails but eval --stdin element.click() succeeds. The extension should not auto-replay with element.click() because it changes semantics to an untrusted scripted event and could bypass user stop boundaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWaiting on external input, access, decision, or upstream evidence before local work is justifiedbugSomething isn't workingneeds-reproNeeds a minimal reproducible command/artifact setquestionFurther information is requestedupstream-boundaryRequires upstream, browser-host, or environment support outside this thin wrapper

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions