I have HTML structure like this :
<div>
<span id="author-comment-2">Author</span>
<div>
<div class="author">I don't want this text</div>
</div>
</div>
<div>
<span id="author-comment-3">Author</span>
<div>
<div class="author">I want this text</div>
</div>
</div>
<div>
<span id="author-comment-4">Author</span>
<div>
<div class="author">I don't want this text</div>
</div>
</div>
I just want the text 'I want this text'. So how can I get it by using Puppeteer because it is don't have ID or Class that I can use to reference to it?
Thank you for advance answer.