Add 'Is Visible' validation step to transactions

Transactions currently have functionality that allow checking the existence of a DOM element (‘Element should exist’) however this will validate the existence of an element, not whether it’s actually visible in the ‘browser’.

This feature request is for an ‘Element is visible’ check to be added, similar to ‘Element should exist’ but rather than checking for existence within the DOM it also detects whether or not the element is visible to the user.

For example the element:

<span style=”display:none;”>This is hidden</span>

Would return true for an ‘Element should exist’ check, but false for an ‘Element is visible’ check.

This will allow the validating of whether CSS/JS has run correctly on elements that are loaded into the DOM but whose visibility is changed by CSS/JS after page load or a particular action.

Please authenticate to join the conversation.

Upvoters
Status

Product Review

Board

💡 Feature Request

Tags

Transaction Checks

Date

4 months ago

Subscribe to post

Get notified by email when there are changes.