Skip to content

Commit 0b2ca93

Browse files
zipperlelukeis
authored andcommitted
Fix css tag selector (#2772)
The css selector for tags was falsely prefixed id selector.
1 parent 06affd8 commit 0b2ca93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/remote/http/W3CHttpCommandCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public W3CHttpCommandCodec() {
130130

131131
case "tag name":
132132
toReturn.put("using", "css selector");
133-
toReturn.put("value", "#" + cssEscape(value));
133+
toReturn.put("value", cssEscape(value));
134134
break;
135135

136136
case "xpath":

0 commit comments

Comments
 (0)