Sha256: d054daf24378a441db72e58df29692f42a33ea2bbe2962b1df8769e67b05e4cf
Contents?: true
Size: 547 Bytes
Versions: 93
Compression:
Stored size: 547 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.webview; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; import android.webkit.WebView; public class GetLoadProgress implements Action { @Override public Result execute(String... args) { CalabashChromeClient ccc = CalabashChromeClient.findAndPrepareWebViews().get(0); WebView webView = ccc.getWebView(); return new Result(true, "" + webView.getProgress()); } @Override public String key() { return "get_load_progress"; } }
Version data entries
93 entries across 93 versions & 2 rubygems