mokr.browser.console
Classes
Representation of console messages, dispatched on |
Module Contents
- class mokr.browser.console.ConsoleMessage(kind: str, text: str, args: list[mokr.execution.JavascriptHandle] = None)
Representation of console messages, dispatched on
consoleevent inmokr.browser.Page.- Parameters:
kind (str) – The type of message.
text (str) – The message body.
args (list[JavascriptHandle], optional) – Arguments attached to this message. Defaults to None.
- property kind: str
Return type of this message.
- property text: str
Return text representation of the message body.
- property args: list[mokr.execution.JavascriptHandle]
Return list of argumentss (JavascriptHandle) of this message.