Hope you can help me, I need to click on a size button (related to shoes' size), but selenium is not able to find it with its xpath:
html/body/div[4]/div[3]/div/div[2]/div[3]/div/form[1]/div[4]/ul/li[5]/label/span
So I would like to know if I can get it somehow through its span class:
<span class="attr-name">42</span>
This span class is in a tree of a lot of divs
(ps: I would really like to post an image, but is saying I do not have enough reputation)