I’m just getting started with using Appium to automate an Android hybrid app. For native views, everything is peachy keen, but for WebViews, all of the HTML-related calls (elementByCssSelector, elementById) just time out.
I’ve found a reproducible test case that shows something bizarre going on with WebViews. It seems they are interpreted as a hierarchy of regular Android views, so I can actually access a <textarea> as if it were an EditText. Here’s the test case along with simple instructions for running it.
It would be very helpful to get some guidance on this, since otherwise I cannot seem to use Appium for Android hybrid apps.
I’m seeing the same behavior and I’ve been waiting for feedback on my other open issues. Unfortunately I can’t offer any help since I’m in the same boat. Let me know if you figure anything out!