O texto de selênio retorna python vazio de corda

new_name = driver.find_element_by_xpath(xp_name).get_attribute('textContent')
Yellowed Yak