TestProject Forum

What's the difference between `is visible` and `is present' in Validation?

What are the major differences between these two keywords?

I read the explanatory text and still don’t know much about it. Are there actual cases for comparison?


Hi Ryan.
Is Visible → If the element is in the DOM, but not visible (has some hidden attribute)
Is Preset → If the element is present in the DOM, it can be hidden or not.

1 Like

Thanks for the clarification, Ran :slight_smile: