You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(IWebelement element) method will encounter a bug if there is a cover layer of loading over the element
#14
Hi, just as title described,It is seems that if there is a cover layer of loading over the element(this element will be enabled and displayed at this time),the ElementToBeClickable method will throw a specified element cannot be clicked exception.
Hi, just as title described,It is seems that if there is a cover layer of loading over the element(this element will be enabled and displayed at this time),the ElementToBeClickable method will throw a specified element cannot be clicked exception.
Append the source code about above method:
public static Func<IWebDriver, IWebElement> ElementToBeClickable( IWebElement element) { return (Func<IWebDriver, IWebElement>) (driver => { try { if (element != null && element.Displayed && element.Enabled) return element; return (IWebElement) null; } catch (StaleElementReferenceException ex) { return (IWebElement) null; } }); }
The text was updated successfully, but these errors were encountered: