tiny refactoring needed in order to have a `ClientUtils.elementVisible(element)` method so we can have visibility information for each node