ISelenium IsAlertPresent Method WebDriver
Has an alert occurred?

This function never throws an exception

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

bool IsAlertPresent()

Return Value

true if there is an alert
See Also