How to work with the first 4 elements that have a specific attribute? It is necessary to work with elements, with style = 'display: none' html structure:
<div class="wrapper"> <div>item</div> <div>item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> <div style="display: none;">item</div> </div>