Skip to content

Commit

Permalink
add xpath to AXNode type
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcguire12 committed Feb 4, 2025
1 parent 79a2b1f commit 8212480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface AXNode {
backendDOMNodeId?: number;
parentId?: string;
childIds?: string[];
xpath?: string;
}

export type AccessibilityNode = {
Expand All @@ -19,6 +20,7 @@ export type AccessibilityNode = {
parentId?: string;
nodeId?: string;
backendDOMNodeId?: number;
xpath?: string;
};

export interface TreeResult {
Expand Down

0 comments on commit 8212480

Please sign in to comment.