Within a table div, there are two child divs. The first child div represents the table header, and the second child contains the values corresponding to those headers.
The parent div is in bold, and the children are in italic bold.
<div class="sc-jgHCyG eZqcrI"> // >>>>>>>> Parent div
<div class="sc-cTkwdZ fFvlhF"> // >>>>>>>>>>>> Child div - table headers
<div class="sc-cBNfnY sc-eggNIi kHBkvh JiLrb align-items-center justify-content-between" draggable="false"
width="1.8050541516245486">
<div class="sc-iWFSnp cmuvkJ">
<div></div>
</div>
</div>
<div class="sc-cBNfnY sc-eggNIi fhvIWI JiLrb align-items-center justify-content-between" draggable="false"
width="7.2202166064981945">
<div class="sc-iWFSnp cmuvkJ">
<div>Ticket</div>
</div>
<div><span class="sc-hTZhsR cQSaWH"><svg class="MuiSvgIcon-root" focusable="false" viewBox="0 0 24 24"
aria-hidden="true"><path
d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></svg></span></div>
</div>
(continues with other table headers)
</div>
<div> // >>>>>>>>>>>>>>>> second child div
(contains table values for each header)
</div>
</div>
To extract all the Gross values from the table, regardless of their position, the following XPath can be used:
//div[contains(text(), 'Gross')]/../../../following-sibling::div//div[@class='sc-cBNfnY fhvIWI']
This XPath will retrieve all 7 Gross values present in the table cells.
39.39
43.19
26.25
30.27
38.91
31.99
29.99