Alert class
A JavaScript alert(), confirm(), or prompt() dialog
Constructors
- Alert(AsyncRequestClient _client, WebDriverHandler _handler)
Properties
Methods
-
accept(
) → Future< void> - Accepts the currently displayed alert (may not be the alert for which this object was created).
-
dismiss(
) → Future< void> - Dismisses the currently displayed alert (may not be the alert for which this object was created).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendKeys(
String keysToSend) → Future< void> - Sends keys to the currently displayed alert (may not be the alert for which this object was created).
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override