El texto de Selenium devuelve cadena vacía Python

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