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.
📲 Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.