https://github.com/beemi/cypress-get-by-data-set-id
Cypress Get element by Data set id
https://github.com/beemi/cypress-get-by-data-set-id
Last synced: 5 months ago
JSON representation
Cypress Get element by Data set id
- Host: GitHub
- URL: https://github.com/beemi/cypress-get-by-data-set-id
- Owner: beemi
- Created: 2021-02-23T22:46:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-25T23:50:34.000Z (11 months ago)
- Last Synced: 2025-07-26T06:40:02.946Z (11 months ago)
- Language: JavaScript
- Size: 367 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](beemi.raja@gmail.com)