When emulating JWP move to, should be setting id from element
"element" contains the value we're interested in not "id" (which doesn't exist)
@@ -295,7 +295,7 @@ public W3CHttpCommandCodec() {
PointerInput.Origin origin = PointerInput.Origin.pointer();
if (parameters.containsKey("element")) {
RemoteWebElement element = new RemoteWebElement();
- element.setId((String) parameters.get("id"));
+ element.setId((String) parameters.get("element"));
origin = PointerInput.Origin.fromElement(element);
}
int x = parameters.containsKey("xoffset") ? ((Number) parameters.get("xoffset")).intValue() : 0;
