Package com.microsoft.playwright.impl
Class ConsoleMessageImpl
java.lang.Object
com.microsoft.playwright.impl.ConsoleMessageImpl
- All Implemented Interfaces:
ConsoleMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Connectionprivate final com.google.gson.JsonObjectprivate PageImpl -
Constructor Summary
ConstructorsConstructorDescriptionConsoleMessageImpl(Connection connection, com.google.gson.JsonObject initializer) -
Method Summary
Modifier and TypeMethodDescriptionargs()List of arguments passed to aconsolefunction call.location()URL of the resource followed by 0-based line and column numbers in the resource formatted asURL:line:column.page()The page that produced this console message, if any.text()The text of the console message.type()One of the following values:"log","debug","info","error","warning","dir","dirxml","table","trace","clear","startGroup","startGroupCollapsed","endGroup","assert","profile","profileEnd","count","timeEnd".
-
Field Details
-
connection
-
page
-
initializer
private final com.google.gson.JsonObject initializer
-
-
Constructor Details
-
ConsoleMessageImpl
-
-
Method Details
-
type
Description copied from interface:ConsoleMessageOne of the following values:"log","debug","info","error","warning","dir","dirxml","table","trace","clear","startGroup","startGroupCollapsed","endGroup","assert","profile","profileEnd","count","timeEnd".- Specified by:
typein interfaceConsoleMessage
-
text
Description copied from interface:ConsoleMessageThe text of the console message.- Specified by:
textin interfaceConsoleMessage
-
args
Description copied from interface:ConsoleMessageList of arguments passed to aconsolefunction call. See alsoPage.onConsoleMessage().- Specified by:
argsin interfaceConsoleMessage
-
location
Description copied from interface:ConsoleMessageURL of the resource followed by 0-based line and column numbers in the resource formatted asURL:line:column.- Specified by:
locationin interfaceConsoleMessage
-
page
Description copied from interface:ConsoleMessageThe page that produced this console message, if any.- Specified by:
pagein interfaceConsoleMessage
-