I need to get the number "3" from this HTML with python selenium
<div class="number">3</div>
This is the XPATH:
//*[@id="roulette-recent"]/div/div[1]/div[1]/div/div
I tried something like
number = navegador.find_element_by_xpath('//*[@id="rouletterecent"]/div/div[1]/div[1]/div/div').get_attribute('class')