Search code examples
androidwebviewsubclasscalabash

Calabash Android: Cannot query subclass of WebView


I am currently attempting to use calabash-android to query the HTML content of a webview.

This webview is a custom subclass of android.webkit.WebView.

When I perform query ("webView") using the calabash-android I receive no results. When I perform query ("MyCustomWebView") the custom webview is returned, however, trying to perform a query such as query('MyCustomWebView css: "*"') the app crashes and the console sees connection refused.

Calabash-android Version: 0.5.8 Tested on Android Emulators: Nexus 5 5.0, Nexus 5 5.1 (All architectures)


Solution

  • This is fixed in calabash-android 0.5.12