Alert class

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

Constructors

Alert(SyncRequestClient _client, WebDriverHandler _handler)

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text of the JavaScript alert(), confirm(), or prompt() dialog.
no setter

Methods

accept() → void
Accepts the currently displayed alert (may not be the alert for which this object was created).
dismiss() → 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) → 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