On my browser I have elements that share same classes with each other like
<span class="a8Pemb OFFNJ Jz5Gae">...</span>
and
<span class="a8Pemb OFFNJ">...</span>
However when I used page.getByXPath("//span[@class='a8Pemb OFFNJ']");
it only returns me the second elements with exact same class names. I want to get all of them IN ORDER, which means I don't want to call a separate query for the first elements. How can I do this?