Class AlertOverride
- java.lang.Object
-
- com.thoughtworks.selenium.webdriven.commands.AlertOverride
-
public class AlertOverride extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlertOverride(boolean enableOverrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNextAlert(org.openqa.selenium.WebDriver driver)java.lang.StringgetNextConfirmation(org.openqa.selenium.WebDriver driver)booleanisAlertPresent(org.openqa.selenium.WebDriver driver)booleanisConfirmationPresent(org.openqa.selenium.WebDriver driver)booleanisPromptPresent(org.openqa.selenium.WebDriver driver)voidreplaceAlertMethod(org.openqa.selenium.WebDriver driver)
-
-
-
Method Detail
-
replaceAlertMethod
public void replaceAlertMethod(org.openqa.selenium.WebDriver driver)
-
getNextAlert
public java.lang.String getNextAlert(org.openqa.selenium.WebDriver driver)
-
isAlertPresent
public boolean isAlertPresent(org.openqa.selenium.WebDriver driver)
-
getNextConfirmation
public java.lang.String getNextConfirmation(org.openqa.selenium.WebDriver driver)
-
isConfirmationPresent
public boolean isConfirmationPresent(org.openqa.selenium.WebDriver driver)
-
isPromptPresent
public boolean isPromptPresent(org.openqa.selenium.WebDriver driver)
-
-