Constructor
new AlertPromise(drivernon-null, alertnon-null)
Parameters:
| Name | Type | Description | 
|---|---|---|
driver | WebDriver | The driver controlling the browser this alert is attached to.  | 
alert | Promise.<!Alert> | A thenable that will be fulfilled with the promised alert.  | 
- Implements
 - IThenable.<!Alert>
 
- Source
 
Members
catch
- Source
 
then
- Source
 
Methods
accept()
Defers action until the alert has been located.
- Source
 
dismiss()
Defers action until the alert has been located.
- Source
 
getText()
Defer returning text until the promised alert has been resolved.
- Source
 
sendKeys()
Defers action until the alert has been located.
- Source