BrowserException class
Represents an error that occurred during browser automation or setup.
Used to signal issues like failed downloads, inability to find elements, or problems communicating with the WebDriver server.
- Implemented types
- Implementers
Constructors
- BrowserException(String message, [dynamic cause])
-
Creates a BrowserException with a descriptive
messageand an optionalcause.
Properties
- cause → dynamic
-
The underlying error or exception that caused this BrowserException, if any.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the exception, including the message
and the cause if available.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited