/// <summary> /// Checks 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="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 MessageBoxCheckNotExists(this WisejWebDriver driver, string title, MessageBoxIcon icon, string message, int timeoutInSeconds = 0) { driver.MessageBoxCheckNotExistCore(title, icon, message, timeoutInSeconds); }
/// <summary> /// Checks 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 MessageBoxCheckNotExists(this WisejWebDriver driver, int timeoutInSeconds = 0) { driver.MessageBoxCheckNotExistCore(null, MessageBoxIcon.None, null, timeoutInSeconds); }
/// <summary> /// Checks a <see cref="MessageBox"/> with the specified title does not exist. /// </summary> /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param> /// <param name="title">The MessageBox title to search for.</param> /// <param name="timeoutInSeconds">The number of seconds to wait for the MessageBox (default is 0).</param> public static void MessageBoxWithTitleCheckNotExists(this WisejWebDriver driver, string title, int timeoutInSeconds = 0) { driver.MessageBoxCheckNotExistCore(title, MessageBoxIcon.None, null, timeoutInSeconds); }