Package org.fluentlenium.core.alert
Class AlertImpl
- java.lang.Object
-
- org.fluentlenium.core.alert.AlertImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept()
void
dismiss()
org.openqa.selenium.Alert
getAlert()
java.lang.String
getText()
boolean
present()
Check if this alert is present.void
prompt(java.lang.String text)
Send input to the alert prompt.void
sendKeys(java.lang.String keysToSend)
-
-
-
Method Detail
-
getAlert
public org.openqa.selenium.Alert getAlert()
-
prompt
public void prompt(java.lang.String text)
Description copied from interface:Alert
Send input to the alert prompt.
-
present
public boolean present()
Description copied from interface:Alert
Check if this alert is present.
-
getText
public java.lang.String getText()
- Specified by:
getText
in interfaceorg.openqa.selenium.Alert
-
accept
public void accept()
- Specified by:
accept
in interfaceorg.openqa.selenium.Alert
-
sendKeys
public void sendKeys(java.lang.String keysToSend)
- Specified by:
sendKeys
in interfaceorg.openqa.selenium.Alert
-
dismiss
public void dismiss()
- Specified by:
dismiss
in interfaceorg.openqa.selenium.Alert
-
-