Код: Выделить всё
Код: Выделить всё
driver = await buildDriver({
platformName: 'Android',
'appium:automationName': 'UiAutomator2',
'appium:deviceName': 'Android',
'appium:app': '/app-release.apk',
'appium:autoGrantPermissions': true,
});
const splash = await driver.$('~home-tab-button');
await splash.waitForExist({
timeout: 30000
});


Обновление: I также попробовал версию app-debug.apk, но не получилось с идентификаторами в Appium Inspector.
Обновление: просмотр некоторых ошибок в Appium + response-native + testID. Похоже, разработчики Appium сваливают вину на React Native
Подробнее здесь: https://stackoverflow.com/questions/790 ... -in-appium
Мобильная версия