WebDriverAlert
class WebDriverAlert (View source)
An abstraction allowing the driver to manipulate the javascript alerts
Properties
protected ExecuteMethod | $executor |
Methods
accept()
Accept alert
dismiss()
Dismiss alert
string
getText()
Get alert text
sendKeys(string $value)
Send keystrokes to javascript prompt() dialog
Details
__construct(ExecuteMethod $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