Class ConsoleMessageImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleMessageImpl​(Connection connection, com.google.gson.JsonObject initializer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<JSHandle> args()
      List of arguments passed to a console function call.
      java.lang.String location()
      URL of the resource followed by 0-based line and column numbers in the resource formatted as URL:line:column.
      PageImpl page()
      The page that produced this console message, if any.
      java.lang.String text()
      The text of the console message.
      java.lang.String type()
      One of the following values: "log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd", "count", "timeEnd".
      • Methods inherited from class java.lang.Object

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

      • initializer

        private final com.google.gson.JsonObject initializer
    • Constructor Detail

      • ConsoleMessageImpl

        public ConsoleMessageImpl​(Connection connection,
                                  com.google.gson.JsonObject initializer)
    • Method Detail

      • type

        public java.lang.String type()
        Description copied from interface: ConsoleMessage
        One of the following values: "log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd", "count", "timeEnd".
        Specified by:
        type in interface ConsoleMessage
      • text

        public java.lang.String text()
        Description copied from interface: ConsoleMessage
        The text of the console message.
        Specified by:
        text in interface ConsoleMessage
      • location

        public java.lang.String location()
        Description copied from interface: ConsoleMessage
        URL of the resource followed by 0-based line and column numbers in the resource formatted as URL:line:column.
        Specified by:
        location in interface ConsoleMessage