Kopieren Sie die Klasse Selenium Python
content = driver.find_elements_by_xpath('//span[@class="rankingItem-value js-countable"]')[0].text
Elegant Emu
content = driver.find_elements_by_xpath('//span[@class="rankingItem-value js-countable"]')[0].text