Skip to content

Commit b107fa2

Browse files
committed
Fixing use of deprecated API in guava
1 parent f273aa4 commit b107fa2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java/client/test/org/openqa/selenium/javascript/ClosureTestStatement.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import static org.junit.Assert.fail;
44

5-
import org.openqa.selenium.Dimension;
65
import org.openqa.selenium.JavascriptExecutor;
76
import org.openqa.selenium.WebDriver;
87
import org.openqa.selenium.WebDriverException;
@@ -38,9 +37,8 @@ public void evaluate() throws Throwable {
3837
URL testUrl = filePathToUrlFn.apply(testPath);
3938
LOG.info("Running: " + testUrl);
4039

41-
Stopwatch stopwatch = new Stopwatch();
42-
stopwatch.start();
43-
40+
Stopwatch stopwatch = Stopwatch.createStarted();
41+
4442
WebDriver driver = driverSupplier.get();
4543

4644
// Attempt to make the window as big as possible.

0 commit comments

Comments
 (0)