You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have html files not using ids. With beautifulsoup it is easy to find such element using find("Some text"):
<spanstyle="color: #012345">Some text</span>
Is the only way to find this to use FindAll("span") and then iterating through all found spans? In this case, how can I check whether a particular span element contains text? I wouldn't like to disable debugging, since, I guess, empty span is not necessary a critical error.
The text was updated successfully, but these errors were encountered:
Hi, this isn't supported currently (could be included in future versions)
Iterating through all spans and calling the method Text() on them would be an alternative option atm.
Hi!
I have html files not using ids. With beautifulsoup it is easy to find such element using find("Some text"):
Is the only way to find this to use FindAll("span") and then iterating through all found spans? In this case, how can I check whether a particular span element contains text? I wouldn't like to disable debugging, since, I guess, empty span is not necessary a critical error.
The text was updated successfully, but these errors were encountered: