An NDoc Documented Class Library |

# DefaultSelenium.ChooseCancelOnNextConfirmation Method

By default, Selenium's overridden window.confirm() function will return true, as if the user had manually clicked OK. After running this command, the next call to confirm() will return false, as if the user had clicked Cancel.

public void ChooseCancelOnNextConfirmation();

#### Implements

ISelenium.ChooseCancelOnNextConfirmation

#### See Also

DefaultSelenium Class | Selenium Namespace