Package org.openqa.selenium.devtools.log
Class Log
- java.lang.Object
-
- org.openqa.selenium.devtools.log.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 Command<java.lang.Void>
clear()
Clears the log.static Command<java.lang.Void>
disable()
Disables log domain, prevents further log entries from being reported to the client.static Command<java.lang.Void>
enable()
Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.static Event<LogEntry>
entryAdded()
static Command<java.lang.Void>
startViolationsReport(java.util.List<ViolationSetting> config)
start violation reporting.static Command<java.lang.Void>
stopViolationsReport()
Stop violation reporting.
-
-
-
Method Detail
-
clear
public static Command<java.lang.Void> clear()
Clears the log.
-
disable
public static Command<java.lang.Void> disable()
Disables log domain, prevents further log entries from being reported to the client.
-
enable
public static 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 Command<java.lang.Void> startViolationsReport(java.util.List<ViolationSetting> config)
start violation reporting.
-
stopViolationsReport
public static Command<java.lang.Void> stopViolationsReport()
Stop violation reporting.
-
-