yashaka / selene

User-oriented Web UI browser tests in Python
https://yashaka.github.io/selene/
MIT License
676 stars 145 forks source link

condition.each_of(count) in addition to condition.each #532

Open yashaka opened 1 month ago

yashaka commented 1 month ago

so you can specify the number of collection size and achieve better waiting:

browser.all('li').should(have.text_matching('\d').each_of(5))