On the page there is such an element on the text contained in it, i.e. you need to make a request that would be Jacqueline Cako and 11/4
<div class="ipe-Participant "> <span class="ipe-Participant_OppName">Jacqueline Cako</span> <span class="ipe-Participant_OppOdds ">11/4</span> </div> How to find exactly the div?
Results does not give:
webEngine.executeScript("document.evaluate('//*[contains(text(), \"Jacqueline Cako\") and contains(text(), \"13/8\")]', document, null, XPathResult.ANY_TYPE, null).iterateNext().innerText;"); Thank you in advance