chai-webdriverio icon indicating copy to clipboard operation
chai-webdriverio copied to clipboard

Add "class" assertion

Open vgrigoruk opened this issue 5 years ago • 0 comments

Add an assertion for checking that element class equals/matches a value:

expect('.element').to.have.class(String|Regex)

Currently, can be achieved via attribute assertion (implemented in #53)

vgrigoruk avatar Nov 15 '19 10:11 vgrigoruk