Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

chooseCancelOnNextConfirmation-action-selcore

API Doc

chooseCancelOnNextConfirmation ()

(inherited from Selenium Core)

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. Selenium will then resume using the
default behavior for future confirmations, automatically returning
true (OK) unless/until you explicitly call this command for each
confirmation.

last edited on Mar 28, 2009 12:32
Adaptavist Theme Builder Powered by Atlassian Confluence