Skip to content

Commit cdfe3a3

Browse files
committed
Trim command names in new core runner
1 parent c6e81e2 commit cdfe3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/server/src/org/openqa/selenium/server/htmlrunner/CoreTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private List<LoggableStep> findCommands(WebDriver driver) {
8585
" continue;\n" +
8686
" }\n" +
8787
" var cells = tables[i].rows[rowCount].cells;\n" +
88-
" toReturn.push([cells[0].textContent, cells[1].textContent, cells[2].textContent]);\n" +
88+
" toReturn.push([cells[0].textContent.trim(), cells[1].textContent, cells[2].textContent]);\n" +
8989
" }\n" +
9090
"}\n" +
9191
"return toReturn;");

0 commit comments

Comments
 (0)