I have got this HTML element in my Python (3.6.3) code (as a Selenium webelement of course):
<span class="ocenaCzastkowa masterTooltip" style="color:#000000;" alt="Kod:
pd1<br/>Opis: praca domowa<br/>Waga: 2,00<br/>Data: 12.09.2017<br/>Nauczyciel:
(NAME CENSORED)">5</span>
And I want to get the value at the end (which is 5 in this case) and I have got no idea how to get it.
Obviously, I can't use webelement.get_attribute()
because I don't know the name of the attribute.