Skip to content

[BUG-259] Web Xpath Fixes#685

Merged
mahbd merged 3 commits intodevfrom
bug-259-xpath-issue
Apr 16, 2026
Merged

[BUG-259] Web Xpath Fixes#685
mahbd merged 3 commits intodevfrom
bug-259-xpath-issue

Conversation

@mdshakib007
Copy link
Copy Markdown
Collaborator

PR Type

BUG FIX

Overview

This PR refactors the hasOwnText function to improve text extraction accuracy and updates the output format used in page map generation. It also adds XPath generation to the page map extraction process, enabling better identification and tracking of interactive elements.

Additionally, the getXPath function has been updated to return full absolute XPaths, ensuring more deterministic and reliable page_map_json outputs. Attribute collection for action elements has also been enhanced to provide richer context for downstream processing.

@mdshakib007 mdshakib007 requested a review from mahbd April 16, 2026 11:06
@mdshakib007 mdshakib007 self-assigned this Apr 16, 2026
@mahbd mahbd merged commit 1bd10d3 into dev Apr 16, 2026
6 checks passed
@mahbd mahbd deleted the bug-259-xpath-issue branch April 16, 2026 11:08
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.

2 participants