Class 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 org.openqa.selenium.devtools.Command<java.lang.Void> clearMessages()
      Deprecated.
      Does nothing.
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      Deprecated.
      Disables console domain, prevents further console messages from being reported to the client.
      static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Event<ConsoleMessage> messageAdded()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Console

        public Console()
        Deprecated.
    • Method Detail

      • clearMessages

        public static org.openqa.selenium.devtools.Command<java.lang.Void> clearMessages()
        Deprecated.
        Does nothing.
      • disable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
        Deprecated.
        Disables console domain, prevents further console messages from being reported to the client.
      • enable

        public static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Event<ConsoleMessage> messageAdded()
        Deprecated.