cucumbercalabashcalabash-ios

Calabash iOS - How to clear text in a webview


clear_text doesn't work for me when testing a webview. Does anyone know of a different method for webview/cordova apps? The locator I'm using is "webView css:'input#username'" but that seems to be fine as enter_text is working.

Any suggestions?

Thanks, Lewis.


Solution

  • Thanks but set_text("webView css:'input#username'", "") didn't work. I ended up using the solution you mentioned here

    Thanks.