Alert class

A JavaScript alert(), confirm(), or prompt() dialog

Constructors

Alert(AsyncRequestClient _client, WebDriverHandler _handler)

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text Future<String>
The text of the JavaScript alert(), confirm(), or prompt() dialog.
read-only

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 non-existent 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
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override