Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium text returns empty string python

new_name = driver.find_element_by_xpath(xp_name).get_attribute('textContent')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #text #returns #empty #string #python
ADD COMMENT
Topic
Name
7+4 =