Skip to content

cdp: AXNodeId is a string per spec#2232

Merged
krichprollsch merged 1 commit intomainfrom
axtree-nodeid-string
Apr 24, 2026
Merged

cdp: AXNodeId is a string per spec#2232
krichprollsch merged 1 commit intomainfrom
axtree-nodeid-string

Conversation

@krichprollsch
Copy link
Copy Markdown
Member

AXNodeId is defined as string in CDP spec.
This this a difference with DOM.NodeId which is an int.

https://chromedevtools.github.io/devtools-protocol/tot/Accessibility/#type-AXNodeId https://chromedevtools.github.io/devtools-protocol/tot/DOM/#type-NodeId

This PR fix an issue with go-rod CDP client failing to load AXTree form Lightpanda due to AXNodeId invalid type.

@krichprollsch krichprollsch requested a review from arrufat April 24, 2026 09:27
@krichprollsch krichprollsch self-assigned this Apr 24, 2026
@karlseguin
Copy link
Copy Markdown
Collaborator

LGTM

@krichprollsch krichprollsch merged commit 5b9c057 into main Apr 24, 2026
12 checks passed
@krichprollsch krichprollsch deleted the axtree-nodeid-string branch April 24, 2026 11:22
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants