how to get element by text using selenium python code example Example: how to get text of a tag in selenium python element.text