@Override
  public Response safeHandle(HttpRequest request) throws JSONException {
    SelendroidLogger.info("set command configuration command");
    JSONObject payload = getPayload(request);
    Session session = getSelendroidDriver(request).getSession();
    String command = payload.getString("command");
    payload.remove("command");
    session.setCommandConfiguration(command, payload);

    return new SelendroidResponse(getSessionId(request), "");
  }
Allow a command to be configured during runtime.
selendroid-server/src/main/java/io/selendroid/server/handler/SetCommandConfiguration.java