@DoCommand protected Result doCommand(Context context, ICommand command, String... curArgs) { try { if (context.isInteractive()) { System.out.println(">>> Press ENTER to continue <<<"); System.in.read(); } return command.execute(context, curArgs); } catch (SeleneseCommandErrorException e) { return e.getError(); } catch (Exception e) { return new Error(e); } }