Pratik Patel
03/27/2025, 1:46 PMtestTag
.
But on iOS, Appium Inspector just shows a bunch of nested XCUIElementTypeOther
elements — nothing is accessible via accessibilityId
, XPATH, etc.
We tried adding Modifier.semantics { contentDescription = "..." }
alongside testTag
, built the Compose framework with ./gradlew linkDebugFrameworkIosSimulatorArm64
, added it to Xcode (Embed & Sign), cleaned DerivedData, and rebuilt the app. Still, the elements aren’t exposed in Appium or Xcode Accessibility Inspector.
Anyone got Compose-based elements discoverable on iOS for Appium? Are we missing something? Does anyone have an example of the repository where accessbility ID for iOS can be viewed using Appium Inspector? Any other e2e tool that has better support for KMP app?