I have following elements on the page:
<span class="card-body">
<span>No tickets</span>
<h5 class="card-title">..</h5>
<p class="card-text card-text-top">..</p>
<p class="card-text">..</p>
</span>
There are several the same card-body
elements in the DOM, however, I would like to identify the first one that does not contain <span>No tickets</span>
child element.
What is the most correct locator which I should use, while working with selenium and C#?