Skip to content

Commit 0b0cfa0

Browse files
committed
Implement {get,set}MouseSpeed in the RC emulation as a no-op
1 parent b8b405f commit 0b0cfa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/client/src/com/thoughtworks/selenium/webdriven/WebDriverCommandProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ private void setUpMethodMap() {
250250
seleneseMethods.put("getExpression", new GetExpression());
251251
seleneseMethods.put("getHtmlSource", new GetHtmlSource());
252252
seleneseMethods.put("getLocation", new GetLocation());
253+
seleneseMethods.put("getMouseSpeed", new NoOp(10));
253254
seleneseMethods.put("getSelectedId", new FindFirstSelectedOptionProperty(javascriptLibrary,
254255
elementFinder, "id"));
255256
seleneseMethods.put("getSelectedIds", new FindSelectedOptionProperties(javascriptLibrary,
@@ -323,6 +324,7 @@ private void setUpMethodMap() {
323324
seleneseMethods.put(
324325
"setCursorPosition",
325326
new SetCursorPosition(javascriptLibrary, elementFinder));
327+
seleneseMethods.put("setMouseSpeed", new NoOp(null));
326328
seleneseMethods.put("setSpeed", new NoOp(null));
327329
seleneseMethods.put("setTimeout", new SetTimeout(timer));
328330
seleneseMethods.put("shiftKeyDown", new ShiftKeyDown(keyState));

0 commit comments

Comments
 (0)