<div class="test"> <span>
<div>CONTENT </div>
</span>
<div>
<ul>
<li> <span>More text</span>
EXAMPLE1</li>
<li>EXAMPLE2</li>
</ul>
</div>
</div>
Is there a way to extract all the inner content from the div with test class? I'm looking for an array of strings like: ["CONTENT","More text","EXAMPLE1","EXAMPLE2"].