1.3.0 • Published 3 years ago

cypress-get-by-data-set-id v1.3.0

Weekly downloads
214
License
ISC
Repository
github
Last release
3 years ago

Cypress custom command

Cypress get element by data-set-id custom command.

Install and use

npm i -D cypress-get-by-data-set-id

In the spec file, I will use the name of the package.

import {registerCommand} from "cypress-get-by-data-set-id";
registerCommand();
...

Example:

cy.getByDataSetId('first-name')
                .should("be.visible")
                .click();

Contact

beemi.raja@gmail.com