int timeout = context.getTimeout();
context.getSubCommandMap().get(WAIT_FOR_PAGE_TO_LOAD).execute(context, Integer.toString(timeout));
}
return StringUtils.isNotEmpty(resultString) ? new Success(resultString) : SUCCESS;
} catch (SeleniumException e) {
return new Failure(e.getMessage().replaceAll("(\r?\n)+", " / "));
}
}