I have the following source and I want to get text from a particular attribute of tag image

I'm able to get to the image tag using the following xpath.
//*[name()='g' and contains(@entityid, '61042482270050282')]/*[name()='image']
But I do not know how I can grab the text that is underlined in red in the image that is down_state_16x16 using python in selenium
Источник: https://stackoverflow.com/questions/780 ... icular-tag