Supplies a set of common conditions that can be waited when using OpenQA.Selenium.Support.UI.WebDriverWait.
public static class ExpectedConditionsInheritance System.Object 🡒 ExpectedConditions
IWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(3))
IWebElement element = wait.Until(ExpectedConditions.ElementExists(By.Id("element_id")));
- AlertIsPresent()
- AttributeMatches(OpenQA.Selenium.By, string, string)
- ElementExists(OpenQA.Selenium.By)
- ElementIsSelected(OpenQA.Selenium.By)
- ElementIsVisible(OpenQA.Selenium.By)
- ElementToBeClickable(OpenQA.Selenium.By)
- EnabilityOfAllElementsLocatedBy(OpenQA.Selenium.By)
- FrameToBeAvailableAndSwitchToIt(OpenQA.Selenium.By)
- InvisibilityOfAllElementsLocatedBy(OpenQA.Selenium.By)
- InvisibilityOfElementLocated(OpenQA.Selenium.By)
- PageHasBeenLoaded()
- PresenceOfAllElementsLocatedBy(OpenQA.Selenium.By)
- SelectedOfAllElementsLocatedBy(OpenQA.Selenium.By)
- TextMatches(OpenQA.Selenium.By, string)
- UrlMatches(string)
- VisibilityOfAllElementsLocatedBy(OpenQA.Selenium.By)