(@webdriverio): add check of element size if subtree is hidden to isElementDisplayed#11755
(@webdriverio): add check of element size if subtree is hidden to isElementDisplayed#11755christian-bromann merged 4 commits intowebdriverio:mainfrom HannaTarasevich:fix.11710
Conversation
christian-bromann
left a comment
There was a problem hiding this comment.
This seems reasonable to me. Unfortunately we don't have an extensive test suite for this as the script was pretty much copied from safaridriver afaik. I will go ahead and merge but in case there are issues raised of isDisplayed not working correctly anymore I will revert the change.
Let's see, anyway, thanks a lot for your contribution, great work 👍
|
Just some details in case of any issues: The modification now ensures that an element is marked as not visible when both its subtree is hidden and it lacks its own bounding values. This adjustment aims to improve the accuracy of visibility checks. Thanks! |
|
Hi @christian-bromann, |
|
I just released |
Proposed changes
Fix #11710
Types of changes
Checklist
Further comments
Reviewers: @webdriverio/project-committers