diff --git a/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java b/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java index 28c60de1171a4..fd1aea0e6bc0c 100644 --- a/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java +++ b/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java @@ -833,7 +833,6 @@ protected class RemoteTimeouts implements Timeouts { public Timeouts implicitlyWait(long time, TimeUnit unit) { execute(DriverCommand.SET_TIMEOUT, ImmutableMap.of( - "implicit", TimeUnit.MILLISECONDS.convert(time, unit), "type", "implicit", "ms", TimeUnit.MILLISECONDS.convert(time, unit))); return this; @@ -841,7 +840,6 @@ public Timeouts implicitlyWait(long time, TimeUnit unit) { public Timeouts setScriptTimeout(long time, TimeUnit unit) { execute(DriverCommand.SET_TIMEOUT, ImmutableMap.of( - "script", TimeUnit.MILLISECONDS.convert(time, unit), "type", "script", "ms", TimeUnit.MILLISECONDS.convert(time, unit))); return this; @@ -849,7 +847,6 @@ public Timeouts setScriptTimeout(long time, TimeUnit unit) { public Timeouts pageLoadTimeout(long time, TimeUnit unit) { execute(DriverCommand.SET_TIMEOUT, ImmutableMap.of( - "pageLoad", TimeUnit.MILLISECONDS.convert(time, unit), "type", "page load", "ms", TimeUnit.MILLISECONDS.convert(time, unit))); return this;