ConsoleDomain

Deprecated

Deprecated in the Chrome DevTools protocol

This domain is deprecated - use Runtime or Log instead.

Official doc

Functions

Link copied to clipboard

Does nothing.

Link copied to clipboard
suspend fun disable(): DisableResponse

Disables console domain, prevents further console messages from being reported to the client.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification.

Link copied to clipboard
fun events(): Flow<ConsoleEvent>

Subscribes to all events related to this domain.

Link copied to clipboard
Link copied to clipboard

Issued when new console message is added.