xc-mcp
Version:
MCP server that wraps Xcode command-line tools for iOS/macOS development workflows
33 lines • 925 B
TypeScript
/**
* Element information extracted from accessibility tree
*/
export interface AccessibilityElement {
type: string;
label?: string;
identifier?: string;
bounds?: {
x: number;
y: number;
width: number;
height: number;
};
enabled?: boolean;
visible?: boolean;
hittable?: boolean;
}
/**
* Extract interactive elements from an app's accessibility tree
*
* This queries the accessibility tree to find buttons, text fields, and other
* interactive elements, returning their positions and properties.
*/
export declare function extractAccessibilityElements(udid: string, bundleId: string): Promise<AccessibilityElement[]>;
/**
* Get screen dimensions for the simulator
*/
export declare function getScreenDimensions(udid: string): Promise<{
width: number;
height: number;
scale: number;
} | null>;
//# sourceMappingURL=element-extraction.d.ts.map