public Object callExtension(String extensionMethod, Map<String, ?> parameters) {
    Map<String, Object> paramsWithHandler = Maps.newHashMap();
    paramsWithHandler.putAll(parameters);
    paramsWithHandler.put("handlerName", extensionMethod);
    Response response = execute("selendroid-handleByExtension", paramsWithHandler);
    return response.getValue();
  }
Bring app under test back to foreground with its previous state.
selendroid-client/src/main/java/io/selendroid/client/SelendroidDriver.java