Appium仅显示带有ReactNative应用程序的XCUIElementTypeOther的骨架源

时间:2019-01-31 10:59:51

标签: react-native appium react-native-ios webdriver-io appium-ios

有没有人有一个问题与appium,当你想它来打印您的iOS(ReactNative)应用程序的来源,那只能说明你有许多XCUIElementTypeOther,但没有标签/姓名/ ID的骨架?

1 个答案:

答案 0 :(得分:0)

您可以使用testID道具添加iOS的测试ID

<View testID="your-test-id-here" />