Skip to content

Commit 35fd44a

Browse files
committed
Removing a workaround that temporarily fixed marionette incompatibility in findElements command
1 parent 73760b1 commit 35fd44a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

java/client/src/org/openqa/selenium/firefox/internal/MarionetteConnection.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -245,21 +245,6 @@ public Response execute(Command command) throws IOException {
245245
response.setValue(wrappedElement);
246246
}
247247
}
248-
249-
if (DriverCommand.FIND_ELEMENTS.equals(command.getName())
250-
|| DriverCommand.FIND_CHILD_ELEMENTS.equals(command.getName()))
251-
{
252-
if (response.getStatus() == ErrorCodes.SUCCESS) {
253-
List<Object> wrapped = Lists.newArrayList();
254-
List<Object> elementIds = (List<Object>) response.getValue();
255-
for (Object elementId: elementIds) {
256-
Map<String, Object> wrappedElement = Maps.newHashMap();
257-
wrappedElement.put("ELEMENT", elementId.toString());
258-
wrapped.add(wrappedElement);
259-
}
260-
response.setValue(wrapped);
261-
}
262-
}
263248
}
264249
}
265250

0 commit comments

Comments
 (0)