Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get text selenium

add ".text" to the end of the finding element function, so for example,

to get the text from something like :
browser.find_element_by_xpath('Insert xpath')

you do:
browser.find_element_by_xpath('Insert xpath').text
 
PREVIOUS NEXT
Tagged: #text #selenium
ADD COMMENT
Topic
Name
3+5 =