server/src/main/java/com/amplify/honeydew_server/actions/IsTextPresent.java in honeydew-0.14.0 vs server/src/main/java/com/amplify/honeydew_server/actions/IsTextPresent.java in honeydew-0.15.0
- old
+ new
@@ -12,8 +12,8 @@
super(uiDevice);
}
@Override
public Result execute(Map<String, Object> arguments) throws UiObjectNotFoundException {
- return getUiObject(arguments).exists() ? Result.OK : Result.FAILURE;
+ return isUiObjectAvailable(getUiObject(arguments), arguments) ? Result.OK : Result.FAILURE;
}
}