2.8. Selecting Elements Based on Their Visibility
2.8.1. Problem
You need to select an element based on whether it’s
visible.
2.8.2. Solution
You can use either the :hidden
or :visible filter as necessary:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial