selenium dapatkan h1 teks 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
Shanti