Determines whether this OpenQA.Selenium.IWebDriver instance has alert.
public static bool HasAlert(this OpenQA.Selenium.IWebDriver driver);
driver OpenQA.Selenium.IWebDriver
This OpenQA.Selenium.IWebDriver instance.
System.Boolean
True if the specified driver has alert; otherwise, False.