Class Log


  • public class Log
    extends java.lang.Object
    Provides access to log entries.
    • Constructor Summary

      Constructors 
      Constructor Description
      Log()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> clear()
      Clears the log.
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      Disables log domain, prevents further log entries from being reported to the client.
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
      Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.
      static org.openqa.selenium.devtools.Event<LogEntry> entryAdded()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> startViolationsReport​(java.util.List<ViolationSetting> config)
      start violation reporting.
      static org.openqa.selenium.devtools.Command<java.lang.Void> stopViolationsReport()
      Stop violation reporting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Log

        public Log()
    • Method Detail

      • clear

        public static org.openqa.selenium.devtools.Command<java.lang.Void> clear()
        Clears the log.
      • disable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
        Disables log domain, prevents further log entries from being reported to the client.
      • enable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
        Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.
      • startViolationsReport

        public static org.openqa.selenium.devtools.Command<java.lang.Void> startViolationsReport​(java.util.List<ViolationSetting> config)
        start violation reporting.
      • stopViolationsReport

        public static org.openqa.selenium.devtools.Command<java.lang.Void> stopViolationsReport()
        Stop violation reporting.
      • entryAdded

        public static org.openqa.selenium.devtools.Event<LogEntry> entryAdded()