Console
getMessages
getMessages( messageType?: "log" | "debug" | "info" | "error" | "warning" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd" | "verbose" ) : ConsoleDriverMessage []
Parameters
Optional messageType: "log" | "debug" | "info" | "error" | "warning" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd" | "verbose"
Returns ConsoleDriverMessage []
waitForMessage
waitForMessage( message: string ) : Promise < void >
Parameters
Returns Promise < void >
Legend
Variable
Function
Function with type parameter
Type alias
Type alias with type parameter
Console listener. Makes message queue after instance creation. Supports filtering messages by type. Can be used for console message assertion or for wait for specific message.