Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for assert.hasAttribute #246

Open
garg3133 opened this issue Jun 12, 2023 · 1 comment
Open

Update documentation for assert.hasAttribute #246

garg3133 opened this issue Jun 12, 2023 · 1 comment

Comments

@garg3133
Copy link
Member

After a recent change in the code for assert.hasAttribute() command (nightwatchjs/nightwatch#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

@nothuman2718
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants