diff --git a/java/client/src/org/openqa/selenium/remote/RemoteWebElement.java b/java/client/src/org/openqa/selenium/remote/RemoteWebElement.java index 5a79bb4b00ae1..da5dc67c965c8 100644 --- a/java/client/src/org/openqa/selenium/remote/RemoteWebElement.java +++ b/java/client/src/org/openqa/selenium/remote/RemoteWebElement.java @@ -391,7 +391,6 @@ public String toString() { public Map toJson() { return ImmutableMap.of( - Dialect.OSS.getEncodedElementKey(), getId(), Dialect.W3C.getEncodedElementKey(), getId()); } }