Class Events<CONSOLEEVENT,​EXCEPTIONTHROWN>


  • public abstract class Events<CONSOLEEVENT,​EXCEPTIONTHROWN>
    extends java.lang.Object
    • Constructor Detail

      • Events

        public Events​(DevTools devtools)
    • Method Detail

      • addConsoleListener

        public void addConsoleListener​(java.util.function.Consumer<ConsoleEvent> listener)
      • addJavascriptExceptionListener

        public void addJavascriptExceptionListener​(java.util.function.Consumer<JavascriptException> listener)
      • disable

        public void disable()
      • enableRuntime

        protected abstract Command<java.lang.Void> enableRuntime()
      • disableRuntime

        protected abstract Command<java.lang.Void> disableRuntime()