Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: locate element with withClassAttr #4321

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

Find an element with class attribute

// find div with class contains 'form'
locate('div').withClassAttr('text');

Type of change

  • 🚀 New functionality
  • 📋 Documentation changes/updates

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit 45f5a13 into 3.x Apr 28, 2024
13 checks passed
@kobenguyent kobenguyent deleted the locator-with-class-attr branch April 28, 2024 16:09
@kobenguyent kobenguyent mentioned this pull request May 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants