Class Log

java.lang.Object
org.openqa.selenium.devtools.v150.log.Log

public class Log extends Object
Provides access to log entries.
  • Constructor Details

    • Log

      public Log()
  • Method Details

    • clear

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

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

      public static org.openqa.selenium.devtools.Command<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<Void> startViolationsReport(List<ViolationSetting> config)
      start violation reporting.
    • stopViolationsReport

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

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