selenium webdriver python get text from classname code example Example: how to get text of a tag in selenium python element.text