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

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

    Constructors
    Constructor
    Description
    Log()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.openqa.selenium.devtools.Command<Void>
    Clears the log.
    static org.openqa.selenium.devtools.Command<Void>
    Disables log domain, prevents further log entries from being reported to the client.
    static org.openqa.selenium.devtools.Command<Void>
    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>
     
    static org.openqa.selenium.devtools.Command<Void>
    start violation reporting.
    static org.openqa.selenium.devtools.Command<Void>
    Stop violation reporting.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()