Class Log
- java.lang.Object
-
- org.openqa.selenium.devtools.v114.log.Log
-
public class Log extends java.lang.ObjectProvides 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.
-
-
-
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()
-
-