/// <summary>
 /// An expectation for checking that an element contains specific text.
 /// </summary>
 /// <param name="locator">The <see cref="By"/> locator of the <see cref="IWebElement"/></param>
 /// <param name="expectedCount">The expected number of <see cref="IWebElement"/> that are found from the <see cref="By"/> locator</param>
 /// <param name="maxWaitTimeInSeconds">Maximum amount of seconds as <see cref="int"/> to wait for the <see cref="IWebElement"/> count is</param>
 /// <returns><see langword="true"/> there are the expected number of <see cref="IWebElement"/>'s; otherwise, <see langword="false"/></returns>
 public static bool WaitUntilElementCountIs(this ISearchContext iSearchContext, By locator, int expectedCount, int maxWaitTimeInSeconds = GlobalConstants.MaxWaitTimeInSeconds)
 {
     return(iSearchContext.WaitUntil(ExpectedCondition.ElementCountIs(locator, expectedCount), maxWaitTimeInSeconds));
 }