MCPcopy Index your code
hub / github.com/callstack/agent-device / readAndroidTextAtPoint

Function readAndroidTextAtPoint

src/platforms/android/fill-verification.ts:88–94  ·  view source on GitHub ↗
(
  device: DeviceInfo,
  x: number,
  y: number,
)

Source from the content-addressed store, hash-verified

86}
87
88export async function readAndroidTextAtPoint(
89 device: DeviceInfo,
90 x: number,
91 y: number,
92): Promise<string | null> {
93 return readAndroidTextAtPointInHierarchy(await captureAndroidUiHierarchyXml(device), x, y);
94}
95
96export function verifyAndroidFilledTextInHierarchy(
97 xml: string,

Callers 1

handleReadCommandFunction · 0.85

Tested by

no test coverage detected