Interface Script


@Beta public interface Script
  • Method Details

    • addConsoleMessageHandler

      long addConsoleMessageHandler(Consumer<ConsoleLogEntry> consumer)
    • removeConsoleMessageHandler

      void removeConsoleMessageHandler(long id)
    • addJavaScriptErrorHandler

      long addJavaScriptErrorHandler(Consumer<JavascriptLogEntry> consumer)
    • removeJavaScriptErrorHandler

      void removeJavaScriptErrorHandler(long id)
    • addDomMutationHandler

      long addDomMutationHandler(Consumer<DomMutation> event)
    • removeDomMutationHandler

      void removeDomMutationHandler(long id)
    • pin

      String pin(String script)
    • unpin

      void unpin(String id)
    • execute

      RemoteValue execute(String script, Object... args)