Styrow.dev
Question 61 of 99

How can we get text of a web element.

Question

How can we get text of a web element.

Answer

driver.find_element(By.ID,“Value”).text, this specific method will return innertext of the control.