I am trying (too long ...) to get appium to work with native reaction, but cannot find any element.
I am using an emulator, Nexus 6, android 6.0, ubuntu, appium 1.6.0, RN 0.39.2.
I am trying to find the simplest example:
render () {
return (
<Text>foo</Text>
)
}
driver
.elementByAccessibilityId('foo')
.click()
and I get ...
1) should be able to find 'Buttons' and click it
0 passing (13s)
1 failing
1) Android find and click should be able to find 'Buttons' and click it:
Error: [elementByAccessibilityId("foo")] Error response status: 7, , NoSuchElement - An element could not be located on the page using the given search parameters. Selenium error: An element could not be located on the page using the given search parameters.
I also tried to install:
<Text accessible accessibilityLabel={ 'foo' }>foo</Text>
the same answer...
any ideas?
source
share