public static void main(String[] args) {
    try {
      configureLogging();
    } catch (Exception e1) {
      log.severe("Error occurred while registering logging file handler.");
    }
    log.info("################# Selendroid #################");
    SelendroidConfiguration config = parseConfig(args);
    // Log the loaded configuration
    log.info("################# Configuration in use #################");
    log.info(config.toString());

    //to be backward compatible
    if (LogLevelEnum.ERROR.equals(config.getLogLevel())) {
      Logger.getLogger(LOGGER_NAME).setLevel(LogLevelEnum.VERBOSE.level);
    } else {
      Logger.getLogger(LOGGER_NAME).setLevel(config.getLogLevel().level);
    }
    new SelendroidLauncher(config).launchServer();
  }
Starts the Selendroid standalone server and waits until it's ready to accept requests.
@throws io.selendroid.server.common.exceptions.SelendroidException if the server didn't come up
selendroid-standalone/src/main/java/io/selendroid/standalone/SelendroidLauncher.java