I'm using SeleniumBase and I need to click on an element identified like this below:
<span class="text">
Contato PF e PJ
</span>
I need to catch by the text inside (Contato PF e PJ). How can I do this with SeleniumBase?
from seleniumbase import BaseCase
self.click(...