Class Console
- java.lang.Object
-
- org.openqa.selenium.devtools.console.Console
-
@Deprecated public class Console extends java.lang.Object
Deprecated.This domain is deprecated - use Runtime or Log instead.
-
-
Constructor Summary
Constructors Constructor Description Console()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Command<java.lang.Void>
clearMessages()
Deprecated.Does nothing.static Command<java.lang.Void>
disable()
Deprecated.Disables console domain, prevents further console messages from being reported to the client.static Command<java.lang.Void>
enable()
Deprecated.Enables console domain, sends the messages collected so far to the client by means of the `messageAdded` notification.static Event<ConsoleMessage>
messageAdded()
Deprecated.
-
-
-
Method Detail
-
clearMessages
public static Command<java.lang.Void> clearMessages()
Deprecated.Does nothing.
-
disable
public static Command<java.lang.Void> disable()
Deprecated.Disables console domain, prevents further console messages from being reported to the client.
-
enable
public static Command<java.lang.Void> enable()
Deprecated.Enables console domain, sends the messages collected so far to the client by means of the `messageAdded` notification.
-
messageAdded
public static Event<ConsoleMessage> messageAdded()
Deprecated.
-
-