问题描述
根据docs,选择值的方法仅适用于IOS。 Android有建议的解决方法吗?
解决方法
await waitFor(element(by.id('android_touchable_wrapper'))).toBeVisible()
await element(by.id('android_picker_headless').withAncestor(by.id('android_touchable_wrapper'))).atIndex(0).tap()
await element(by.text('Picker Value Dropdown 1')).tap()