private void ExplicitCheckForPageReady(By by, int explicitWaitSeconds = 20) { waitFor.AjaxCallsToComplete(new TimeSpan(0, 0, explicitWaitSeconds)); var wait = new WebDriverWait(browser, TimeSpan.FromSeconds(explicitWaitSeconds)); wait.Until(ExpectedConditions.PresenceOfAllElementsLocatedBy(by)); }