With the code String result = driver.findElement (By.id ("ulDezenas")).GetText ();
I can get the result 001122334455, which is present in uldezenas.
I want to get the numbers, however separated, in this way 00 11 22 33 44 55.
I already tried the split command, but I could not, unfortunately.
HTML
<ul class="numbers diaDeSorte" id="ulDezenas">
<li>00</li>
<li>11</li>
<li>22</li>
<li>33</li>
<li>44</li>
<li>55</li>
<li>66</li>
</ul>