I would like to move from Selenium 1 to Selenium 2. I use python binding however I can not find any get_text()
functions.
eg. selenium.find_elements_by_css_selector("locator").get_text()
Is there such function in python bindings for Selenium/Webdriver ?
use the '.text' property.
element.text
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With