Skip to content

Commit

Permalink
Implement {get,set}MouseSpeed in the RC emulation as a no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jul 27, 2016
1 parent b8b405f commit 0b0cfa0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ private void setUpMethodMap() {
seleneseMethods.put("getExpression", new GetExpression());
seleneseMethods.put("getHtmlSource", new GetHtmlSource());
seleneseMethods.put("getLocation", new GetLocation());
seleneseMethods.put("getMouseSpeed", new NoOp(10));
seleneseMethods.put("getSelectedId", new FindFirstSelectedOptionProperty(javascriptLibrary,
elementFinder, "id"));
seleneseMethods.put("getSelectedIds", new FindSelectedOptionProperties(javascriptLibrary,
Expand Down Expand Up @@ -323,6 +324,7 @@ private void setUpMethodMap() {
seleneseMethods.put(
"setCursorPosition",
new SetCursorPosition(javascriptLibrary, elementFinder));
seleneseMethods.put("setMouseSpeed", new NoOp(null));
seleneseMethods.put("setSpeed", new NoOp(null));
seleneseMethods.put("setTimeout", new SetTimeout(timer));
seleneseMethods.put("shiftKeyDown", new ShiftKeyDown(keyState));
Expand Down

0 comments on commit 0b0cfa0

Please sign in to comment.