I want to get the text which is splitted into multiple tags and regroup it in one webelement (as follows):
<h2>Title</h2>
<h3>A. first header </h3>
<p>This is the first line text.</p>
<h3>B. second header</h3>
<p>
<span class="bold">text2 in bold</span> and the rest of the text line.
</p>
<p>
<span class="bold">text3 in bold</span> and the rest of the text line.
</p>
Thus to verify the content of all tags in one go (compare with one constant for example).
Thanks for helping.