Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1.5 KB

File metadata and controls

15 lines (14 loc) · 1.5 KB

ExpectedConditions.ElementToBeClickable(OpenQA.Selenium.By) Method

An expectation for checking if an element is visible and enabled such that you can click it.

public static System.Func<OpenQA.Selenium.IWebDriver,OpenQA.Selenium.IWebElement> ElementToBeClickable(OpenQA.Selenium.By by);

Parameters

by OpenQA.Selenium.By
The locator used to find the element.

Returns

System.Func<OpenQA.Selenium.IWebDriver,OpenQA.Selenium.IWebElement>
The OpenQA.Selenium.IWebElement once it is located and click-able (visible and enabled).