@Override public void tap(int x, int y) { Map<String, Object> parameters = new HashMap<String, Object>(); parameters.put("x", x); parameters.put("y", y); executeMethod.execute("selendroid-adb-tap", parameters); }
@Override public void sendKeyEvent(int keyCode) { executeMethod.execute("selendroid-adb-sendKeyEvent", ImmutableMap.of("keyCode", keyCode)); }
@Override public void sendText(String text) { executeMethod.execute("selendroid-adb-sendText", ImmutableMap.of("text", text)); }