public interface ConsoleMessage
ConsoleMessage objects are dispatched by page via the Page.onConsole() event.| Modifier and Type | Method and Description |
|---|---|
List<JSHandle> |
args()
List of arguments passed to a
console function call. |
String |
location()
URL of the resource followed by 0-based line and column numbers in the resource formatted as
URL:line:column. |
String |
text()
The text of the console message.
|
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". |
List<JSHandle> args()
console function call. See also Page.onConsole().String location()
URL:line:column.String text()
String type()
"log", "debug", "info", "error", "warning", "dir", "dirxml", "table",
"trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd",
"count", "timeEnd".Copyright © 2021. All rights reserved.