CommandTimeoutException

@Serializable
data class CommandTimeoutException(val method: String, val requestId: Long, val timeout: Long)

Exception thrown when a CDP command does not receive a response within the configured timeout.

The timeout is configurable through the browser configuration (commandTimeout, see dev.kdriver.core.browser.Config).

Constructors

Link copied to clipboard
constructor(method: String, requestId: Long, timeout: Long)

Properties

Link copied to clipboard

The CDP method that was being called.

Link copied to clipboard

The id of the request that timed out, useful to correlate with sent messages.

Link copied to clipboard

The maximum time in milliseconds that was waited for the response.