/// <summary> /// Asserts an <see cref="AlertBox"/> matching the specified message does not exist. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="message">The AlertBox message to search for (default is an empty string).</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the AlertBox (default is 0).</param> public static void AlertBoxAssertNotExists(this WisejWebDriver driver, string message = "", long timeoutInSeconds = 0) { driver.AlertBoxAssertNotExistsCore(true, MessageBoxIcon.None, message, timeoutInSeconds); }
/// <summary> /// Asserts an <see cref="AlertBox"/> matching the specified icon does not exist. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="icon">The AlertBox icon to look for.</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the AlertBox (default is 0).</param> public static void AlertBoxAssertNotExists(this WisejWebDriver driver, MessageBoxIcon icon, long timeoutInSeconds = 0) { driver.AlertBoxAssertNotExistsCore(false, icon, string.Empty, timeoutInSeconds); }