Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium get h1 text python

# If you are wanting the text of the h1 element then you need to do this:

string = driver.find_element_by_tag_name(h3).text
 
PREVIOUS NEXT
Tagged: #selenium #text #python
ADD COMMENT
Topic
Name
5+1 =