title: React native + Appium, how to find an element
body: <p>I'm trying (for too long...) to get appium working with react native, but can't seem to find any element.</p>
  
  <p>I'm using an emulator, Nexus 6, android 6.0, ubuntu, appium 1.6.0, RN 0.39.2.</p>
  
  <p>I'm trying to get the most basic example to work:</p>
  
  <pre><code>// foo.js
  render () {
    return (
      &lt;Text&gt;foo&lt;/Text&gt;
    )
  }
  
  // spec.js
  // ... some setup ...
        driver
          .elementByAccessibilityId('foo')
            .click()
  </code></pre>
  
  <p>and I'm getting...</p>
  
  <pre><code>      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.
  </code></pre>
  
  <p>I also tried setting:
  <code>&lt;Text accessible accessibilityLabel={ 'foo' }&gt;foo&lt;/Text&gt;</code></p>
  
  <p>same response ...</p>
  
  <p>any ideas?</p>