Skip to content

Conversation

mirao
Copy link
Contributor

@mirao mirao commented Jan 2, 2024

Motivation/Description of the PR

Applicable helpers:

  • Playwright
  • Puppeteer
  • WebDriver
  • REST
  • FileHelper
  • Appium
  • TestCafe

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • coverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • stepTimeout
  • wdio
  • subtitles

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

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
Copy link
Collaborator

hey @mirao may you check if we could use those https://www.npmjs.com/package/csstoxpath?activeTab=explore#text functions from the lib with our withText or withTextEquals?

Refactored withText() and withTextEquals() to use csstoxpath
@mirao
Copy link
Contributor Author

mirao commented Jan 3, 2024

@kobenguyent Done. Please look at it.

@kobenguyent
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

[Feature]: Add a locator builder method withTextEquals()
3 participants