There was an error while loading. Please reload this page.
1 parent f273aa4 commit b107fa2Copy full SHA for b107fa2
java/client/test/org/openqa/selenium/javascript/ClosureTestStatement.java
@@ -2,7 +2,6 @@
2
3
import static org.junit.Assert.fail;
4
5
-import org.openqa.selenium.Dimension;
6
import org.openqa.selenium.JavascriptExecutor;
7
import org.openqa.selenium.WebDriver;
8
import org.openqa.selenium.WebDriverException;
@@ -38,9 +37,8 @@ public void evaluate() throws Throwable {
38
37
URL testUrl = filePathToUrlFn.apply(testPath);
39
LOG.info("Running: " + testUrl);
40
41
- Stopwatch stopwatch = new Stopwatch();
42
- stopwatch.start();
43
-
+ Stopwatch stopwatch = Stopwatch.createStarted();
+
44
WebDriver driver = driverSupplier.get();
45
46
// Attempt to make the window as big as possible.
0 commit comments