playwright/docs
Andrey Lushnikov 622c73cc1e
feat: expect(locator).toHaveAttribute to assert attribute presence (#16767)
This patch changes `expect(locator).toHaveAttribute()` so that the
`value` argument can be omitted. When done so, the method will
assert attribute existance.

Fixes #16517
2022-08-25 05:28:34 -07:00
..
src feat: expect(locator).toHaveAttribute to assert attribute presence (#16767) 2022-08-25 05:28:34 -07:00