public class AlertImpl extends java.lang.Object implements Alert
| Constructor and Description |
|---|
AlertImpl(org.openqa.selenium.Alert alert)
Creates a new alert object.
|
AlertImpl(org.openqa.selenium.WebDriver driver)
Creates a new alert object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
present()
Check if this alert is present.
|
void |
prompt(java.lang.String text)
Send input to the alert prompt.
|
public AlertImpl(org.openqa.selenium.WebDriver driver)
driver - selenium driverpublic AlertImpl(org.openqa.selenium.Alert alert)
alert - selenium alertpublic void prompt(java.lang.String text)
Alerttext - test to send to the promptpublic boolean present()
AlertCopyright © 2018 FluentLenium. All Rights Reserved.