featurist / browser-monkey

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

shouldHave attributes #17

Closed dereke closed 8 years ago

dereke commented 8 years ago

sometimes it is useful to verify that an element has some attributes. it would be cool if we could do something like:

find('a').shouldHave({ attributes: { href: '/home' } })

dereke commented 8 years ago

https://github.com/featurist/browser-monkey/pull/18