Repository navigation
Bug 2099811 - [firefox-mcp] Report clicks that do not reach their element - #260
Draft
juliandescottes wants to merge 1 commit into
Draft
juliandescottes wants to merge 1 commit into
juliandescottes wants to merge 1 commit into
Conversation
…ment click_by_uid sent the pointer actions and always reported success. When the page moved or replaced the element during the click, or another element received the pointer events, no click event reached the element, and the agent could not tell why nothing happened. Count the click events that reach the element from a sandbox, and fail with the reason and a next step when none arrived. The new tests fail without the fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracks Bugzilla 2099811.
click_by_uidalways reported success, even when noclickevent reached the element. This happens when the page moves or replaces the element during the click, or when another element (an overlay) receives the pointer events.Changes:
clickByUidcounts theclickevents that reach the element (or a descendant), from a sandbox the page cannot see.Behavior changes for review:
Tests: new
tests/integration/firefox/click.test.ts. The three report cases fail without the fix. The full suite passes locally.