Skip to content

Commit

Permalink
fix for #263 to override Selenium Displayed endpoint call
Browse files Browse the repository at this point in the history
  • Loading branch information
laolubenson committed Oct 1, 2018
1 parent 9d34643 commit 547e694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appium-dotnet-driver/Appium/AppiumWebElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public virtual void DisableCache()

public override string Text => CacheValue("text", () => base.Text)?.ToString();

public override bool Displayed => Convert.ToBoolean(CacheValue("displayed", () => base.Displayed));
public override bool Displayed => Convert.ToBoolean(CacheValue("displayed", () => Execute(DriverCommand.IsElementDisplayed, new Dictionary<string, object>{{"id", Id}}).Value));

public override bool Enabled => Convert.ToBoolean(CacheValue("enabled", () => base.Enabled));

Expand Down

0 comments on commit 547e694

Please sign in to comment.