public static void setGlobalExceptionHandler() {
    Thread.setDefaultUncaughtExceptionHandler(new ExceptionDumper());
  }
Handle uncaught exceptions by logging them to the crash log file, then kill the application.
selendroid-server/src/main/java/io/selendroid/server/UncaughtExceptionHandling.java