diff --git a/src/WaitHelpers/ExpectedConditions.cs b/src/WaitHelpers/ExpectedConditions.cs index b007d75..b5262d6 100644 --- a/src/WaitHelpers/ExpectedConditions.cs +++ b/src/WaitHelpers/ExpectedConditions.cs @@ -432,9 +432,9 @@ public static Func ElementToBeClickable(By locator) { return (driver) => { - var element = ElementIfVisible(driver.FindElement(locator)); try { + var element = ElementIfVisible(driver.FindElement(locator)); if (element != null && element.Enabled) { return element;