Skip to content

Commit

Permalink
When emulating JWP move to, should be setting id from element (#4986)
Browse files Browse the repository at this point in the history
"element" contains the value we're interested in not "id" (which doesn't exist)
  • Loading branch information
dten authored and shs96c committed Nov 15, 2017
1 parent b29e332 commit 450b46e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 450b46e

Please sign in to comment.