I am currently investigating the visibility of the following element:
<ul class = 'pagination-buttons no-bullets'>
https://i.sstatic.net/oOo7S.png
When
<ul class = 'pagination-buttons no-bullets'>
is visible, its parent element will have a class = 'page-number-section'
. On the other hand, when it is invisible, the parent element will have a class = 'page-number-section cloaked'
. Notably, the attributes of the element itself remain unchanged regardless of its visibility.
While I could check the visibility by examining its parent's class, I am curious if there exists an alternative method. For instance, is there a way like
pageObj.QuerySelector().visible()
that can be utilized?
Thank you