bughelp wanted
Repository metrics
- Stars
- (2,754 stars)
- PR merge metrics
- (PR metrics pending)
Description
It is very common that you want to look for a snippet of text, rather than a text element that as a whole contains exactly what you look for; like when looking for a username on a page.
The current browser.is_text_present however only matches a text element 1:1. (and the documentation about this is not very clear that this is what is going on).
So if we have
<h1>Welcome, DeathSlayer!</h1>
Then browser.is_text_present("DeathSlayer") will return false, as will browser.is_text_present("Welcome, DeathSlayer") (because of the missing exclamation mark).
Could another command be introduced for this?