コード例 #1
0
 /// <summary>
 /// Checks 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 AlertBoxCheckNotExists(this WisejWebDriver driver, string message = "",
                                           int timeoutInSeconds = 0)
 {
     driver.AlertBoxCheckNotExistsCore(MessageBoxIcon.None, message, timeoutInSeconds);
 }
コード例 #2
0
 /// <summary>
 /// Checks 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 AlertBoxCheckNotExists(this WisejWebDriver driver, MessageBoxIcon icon,
                                           int timeoutInSeconds = 0)
 {
     driver.AlertBoxCheckNotExistsCore(icon, null, timeoutInSeconds);
 }