0

As you can see the console in chrome driver outputs "Maiya Health Frusso 1.0", How do I get that text and print it in python's console?

Wayne Gan
  • 39
  • 1
  • 3

1 Answers1

0

1st find the element using:

element = driver.find_element_by_class_name(<< CLASS NAME >>)

or

element = find_element(By.CLASS_NAME, << CLASS NAME >>)

Then:

print(element.text)