thebrowsercompany / swift-webdriver

A Swift library for communicating with WebDriver (Appium/WinAppDriver) endpoints
BSD 3-Clause "New" or "Revised" License
105 stars 3 forks source link

Add support for Element.displayed #38

Closed tristanlabelle closed 1 year ago

tristanlabelle commented 1 year ago

@jeffdav I believe those test for different things. findElement should find anything that exists in the UI tree, displayed probably checks some visible flag or display: none in html. We'll see if this works for @stevenbrix 's scenario.

tristanlabelle commented 1 year ago

@jeffdav resetting your review now that this is in better shape :)

stevenbrix commented 1 year ago

@jeffdav yeah findElement still works when the element is in the tree but not visible on screen. excited to try this out @tristanlabelle !