featurist / browser-monkey

Reliable DOM testing
https://browsermonkey.org
53 stars 6 forks source link

fixed issue when expecting multiple text matches #63

Closed dereke closed 7 years ago

dereke commented 7 years ago

fixes an issue where you want to match multiple elements with the same text

<div>a</div>
<div>a</div>
monkey.find('div').shouldHave({text: ['a', 'a']})`