public void runBeforeApplicationCreateBootstrap(
      Instrumentation instrumentation, String[] bootstrapClasses) {
    if (!isWithExtension) {
      SelendroidLogger.error("Cannot run bootstrap. Must load an extension first.");
      return;
    }

    for (String bootstrapClassName : bootstrapClasses) {
      try {
        SelendroidLogger.info("Running beforeApplicationCreate bootstrap: " + bootstrapClassName);
        loadBootstrap(bootstrapClassName).runBeforeApplicationCreate(instrumentation);
        SelendroidLogger.info("\"Running beforeApplicationCreate bootstrap: " + bootstrapClassName);
      } catch (Exception e) {
        throw new SelendroidException("Cannot run bootstrap " + bootstrapClassName, e);
      }
    }
  }
Run bootstrap all BootstrapHandler#runBeforeApplicationCreate classes provided in order.
selendroid-server/src/main/java/io/selendroid/server/extension/ExtensionLoader.java