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