Skip to content

@serenity-is/corelib / Fluent / isVisibleLike

Function: isVisibleLike()

isVisibleLike(element): boolean

Defined in: src/base/fluent.ts:688

Tests whether the element is considered visible (jQuery :visible semantics).

Parameters

element

Element

Element to test.

Returns

boolean

true when the element has non-zero offsetWidth / offsetHeight or any client rects.