WebDriverAlert
class WebDriverAlert (View source)
An abstraction allowing the driver to manipulate the javascript alerts
Properties
protected | $executor |
Methods
__construct($executor)
No description
accept()
Accept alert
dismiss()
Dismiss alert
string
getText()
Get alert text
sendKeys(string $value)
Send keystrokes to javascript prompt() dialog
Details
__construct($executor)
No description
WebDriverAlert
accept()
Accept alert
WebDriverAlert
dismiss()
Dismiss alert
string
getText()
Get alert text
WebDriverAlert
sendKeys(string $value)
Send keystrokes to javascript prompt() dialog