private static void parseUntilConditions(GalenPageActionWait wait, String[] args) {
if (args[2].equals("until")) {
if (args.length > 3) {
List<GalenPageActionWait.Until> untilElements = new LinkedList<GalenPageActionWait.Until>();
UntilType currentType = null;
for (int i = 3; i < args.length; i++) {
UntilType type = UntilType.parseNonStrict(args[i]);
if (type != null) {
currentType = type;
}
else {