feat(sdk): export isUnreadableCaptureContentError

Merged
OK
3h ago
+43-0
  • Android snapshots can come back unreadable (empty-helper-output, content-poor-app-window, system-window-only) while the app is loading. agent-device already retries internally and throws a retriable COMMAND_FAILED.
  • Callers that poll (e.g. locator assertions in test runners) need to tell this apart from real failures. This exports isUnreadableCaptureContentError from the root entry, with docs and a test.
  • Context: flaky toBeVisible on Android in react-navigation CI, consumer fix in tester-army/e2e.