private void doAddExtraAUTArg(String key, Object value) {
    JSONObject extraArgs = getExtraAUTArgs();

    if (extraArgs == null) {
      extraArgs = new JSONObject();
    }

    try {
      extraArgs.put(key, value);
      setCapability(EXTRA_ARGS, extraArgs);
    } catch (JSONException e) {
      throw new RuntimeException(
        String.format(
          "Failed to add extra AUT arg with key %s and value %s",
          key,
          value.toString()
        ),
        e
      );
    }
  }
Full name of class to run on the device before starting the app under test.
The class must be a part of an extension dex pushed to the device.
selendroid-common/src/main/java/io/selendroid/common/SelendroidCapabilities.java