TimeoutWaitingForElementException

@Serializable
data class TimeoutWaitingForElementException(val selector: String, val timeout: Long) : IllegalStateException

Exception thrown when a timeout occurs while waiting for a specific element in the browser context.

Constructors

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

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

The CSS selector of the element that was being waited for.

Link copied to clipboard

The maximum time in milliseconds to wait for the element.