Do you mean the list elements are not in the DOM tree? The elements should be able to be queried using `li[hidden]` selector.