isHidden function

bool isHidden(
  1. dynamic item
)

Checks if a PageLoaderElement/PageObject is hidden based on "visibility" style.

A PageLoaderElement/PageObject is considered hidden if its visibility style is either hidden or collapse.

Implementation

bool isHidden(item) =>
    _isHidden(_rootElementOfAndRethrow(item, 'isHidden/isNotHidden'));