Sha256: 230aa4890e2c4454edeaae82ffdf8e2693f6d9e78c4e11b783d4a3f28a22d248
Contents?: true
Size: 696 Bytes
Versions: 38
Compression:
Stored size: 696 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.wait; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; public class WaitForText implements Action { @Override public Result execute(String... args) { boolean timedOut = !InstrumentationBackend.solo.waitForText(args[0], 1, 90000); if(timedOut) { return new Result(false, "Time out while waiting for text:" + args[0]); } else { return Result.successResult(); } } @Override public String key() { return "wait_for_text"; } }
Version data entries
38 entries across 38 versions & 1 rubygems