@Override public String doRender(Object o) { if (!(o instanceof Action)) return null; Action action = (Action) o; Webelement self = action.getWebelement(); StringBuilder builder = new StringBuilder(); builder.append(self.getType() + " " + self.getName()); builder.append(" -> " + action.getName()); String arg = action.getArg().size() > 0 ? " " + action.getArg().toString() : ""; builder.append(arg); return builder.toString(); }