Skip to content

fix(webapp_internal): improve click interception handling and simplif… - #2068

Merged
98llm merged 1 commit into
release/v2.14.4rc1from
hotfix/button
Jul 29, 2026
Merged

fix(webapp_internal): improve click interception handling and simplif…#2068
98llm merged 1 commit into
release/v2.14.4rc1from
hotfix/button

Conversation

@98llm

@98llm 98llm commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

…y click strategy

  • Add ElementClickInterceptedException handling in base click method with debug logging
  • Initialize id_container and id_parent_element variables to prevent undefined reference errors
  • Implement enforce_on_top timeout mechanism to detect overlay interception during first half of timeout window
  • Add element_is_on_top() validation check to ensure elements are not intercepted by overlays
  • Simplify click strategy logic by removing progressive strategy index approach
  • Replace max_click_attempts constraint with flexible timeout-based retry loop
  • Remove unused initial_program variable declaration
  • Track current_clicked_element consistently across recapture attempts
  • Add explanatory comments for overlay detection and timeout behavior
  • Improve click verification loop to rely on timeout rather than fixed attempt count

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Hotfix - Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Manual
  • SmartTest

Test Configuration:

  • Add your description.

…y click strategy

- Add ElementClickInterceptedException handling in base click method with debug logging
- Initialize id_container and id_parent_element variables to prevent undefined reference errors
- Implement enforce_on_top timeout mechanism to detect overlay interception during first half of timeout window
- Add element_is_on_top() validation check to ensure elements are not intercepted by overlays
- Simplify click strategy logic by removing progressive strategy index approach
- Replace max_click_attempts constraint with flexible timeout-based retry loop
- Remove unused initial_program variable declaration
- Track current_clicked_element consistently across recapture attempts
- Add explanatory comments for overlay detection and timeout behavior
- Improve click verification loop to rely on timeout rather than fixed attempt count
@98llm
98llm merged commit 946132f into release/v2.14.4rc1 Jul 29, 2026
1 check passed
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