nightwatch-docs icon indicating copy to clipboard operation
nightwatch-docs copied to clipboard

Update documentation for `assert.hasAttribute`

Open garg3133 opened this issue 1 year ago • 1 comments

After a recent change in the code for assert.hasAttribute() command (https://github.com/nightwatchjs/nightwatch/pull/3651), it can now only check for a single attribute at one time, as opposed to checking for multiple attributes at the same time as written in docs.

So, the description and example for the assert.hasAttribute command needs to be updated.

https://nightwatchjs.org/api/assert/#assert-hasAttribute

garg3133 avatar Jun 12 '23 14:06 garg3133

There is no assert.hasAttribute() in the specified link https://nightwatchjs.org/api/assert/#assert-hasAttribute

It is present here https://nightwatchjs.org/api/assert/hasAttribute.html#assert.hasAttribute But documentation looks correct except that of less verbose.

nothuman2718 avatar Mar 07 '24 15:03 nothuman2718