/// <summary> /// Asserts a <see cref="MessageBox"/> with the specified parameters does not exist. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="title">The title of message box to search for.</param> /// <param name="ignoreIcon">If set to <c>true</c> ignores the MessageBox icon parameter.</param> /// <param name="icon">The MessageBox icon to look for.</param> /// <param name="message">The message to search for.</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the MessageBox (default is 0).</param> public static void MessageBoxAssertNotExists(this WisejWebDriver driver, string title, bool ignoreIcon, MessageBoxIcon icon, string message, long timeoutInSeconds = 0) { driver.MessageBoxAssertNotExistCore(title, ignoreIcon, icon, message, timeoutInSeconds); }
/// <summary> /// Asserts no <see cref="MessageBox"/> exists. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the MessageBox (default is 0).</param> public static void MessageBoxAssertNotExists(this WisejWebDriver driver, long timeoutInSeconds = 0) { driver.MessageBoxAssertNotExistCore(string.Empty, true, MessageBoxIcon.None, string.Empty, timeoutInSeconds); }
/// <summary> /// Asserts a <see cref="MessageBox"/> with the specified icon does not exist. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="icon">The MessageBoxIcon to look for.</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the MessageBox (default is 0).</param> public static void MessageBoxWithIconAssertNotExists(this WisejWebDriver driver, MessageBoxIcon icon, long timeoutInSeconds = 0) { driver.MessageBoxAssertNotExistCore(string.Empty, false, icon, string.Empty, timeoutInSeconds); }