Skip to content

Commit 00d5b15

Browse files
authored
[java] Fix issue "Incompatible types for '-' operation" in the Javascript executor example
1 parent 5b67ee1 commit 00d5b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎java/src/org/openqa/selenium/JavascriptExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public interface JavascriptExecutor {
105105
* ((JavascriptExecutor) driver).executeAsyncScript(
106106
* "window.setTimeout(arguments[arguments.length - 1], 500);");
107107
* System.out.println(
108-
* "Elapsed time: " + System.currentTimeMillis() - start);
108+
* "Elapsed time: " + (System.currentTimeMillis() - start));
109109
* }</pre>
110110
*
111111
* <p>

0 commit comments

Comments
 (0)