@import play.test.Helpers; @args String arg;

@(null == arg ? "" : "Test")
@for(String command: _body.toString().split("\n")) { @if (command.trim().startsWith("//") || command.trim().startsWith("#")) {
${command}
} else { @{ String[] parts = Helpers.seleniumCommand(command) }@ @if (null != parts && parts.length > 0) {
@(parts[0]) | @(parts.length > 1 ? parts[1] : "") | @(parts.length > 2 ? parts[2] : "")
} } }