public class AlertOverride
extends java.lang.Object
Constructor and Description |
---|
AlertOverride(boolean enableOverrides) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNextAlert(org.openqa.selenium.WebDriver driver) |
java.lang.String |
getNextConfirmation(org.openqa.selenium.WebDriver driver) |
boolean |
isAlertPresent(org.openqa.selenium.WebDriver driver) |
boolean |
isConfirmationPresent(org.openqa.selenium.WebDriver driver) |
boolean |
isPromptPresent(org.openqa.selenium.WebDriver driver) |
void |
replaceAlertMethod(org.openqa.selenium.WebDriver driver) |
public void replaceAlertMethod(org.openqa.selenium.WebDriver driver)
public java.lang.String getNextAlert(org.openqa.selenium.WebDriver driver)
public boolean isAlertPresent(org.openqa.selenium.WebDriver driver)
public java.lang.String getNextConfirmation(org.openqa.selenium.WebDriver driver)
public boolean isConfirmationPresent(org.openqa.selenium.WebDriver driver)
public boolean isPromptPresent(org.openqa.selenium.WebDriver driver)