There is html on the screen that looks like this.
screen:
target1 target2 target3 target4
code:
<div>
target1
<span>target2</span>
<span>target3</span>
target4
</div>
When i click on target4, I want to get the text "target4"
How do you approach it?