public interface ConsoleMessage
ConsoleMessage
objects are dispatched by page via the Page.onConsoleMessage()
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.onConsoleMessage()
.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 © 2022. All rights reserved.