Method | Description | |
---|---|---|
AlertOverride ( IWebDriver driver ) : System |
Initializes a new instance of the AlertOverride class.
|
|
GetNextAlert ( ) : string |
Gets the next JavaScript alert message.
|
|
GetNextConfirmation ( ) : string |
Gets the next JavaScript confirm message.
|
|
IsAlertPresent ( ) : bool |
Gets a value indicating whether a JavaScript alert is present.
|
|
IsConfirmationPresent ( ) : bool |
Gets a value indicating whether a JavaScript confirm is present.
|
|
ReplaceAlertMethod ( ) : void |
Replaces the JavaScript alert() and confirm() methods.
|
public AlertOverride ( IWebDriver driver ) : System | ||
driver | IWebDriver | The driver to use in overriding the JavaScript alert() and confirm() methods. |
return | System |