Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: PyPI package for using Testing Library queries in Selenium code (pypi.org)
2 points by Smotko on Nov 13, 2022 | hide | past | favorite
Hello!

I have built a small Python package that allows you to call Testing Library DOM queries such as `getByRole` or `findAllByText` from Selenium code.

My goal was to allow automation engineers to write Selenium tests that closely resemble how your web pages are used. In other words less XPath selectors and more queries that are accessible to everyone! Since this is one of the guiding principles of the Testing Library[0] it felt valuable to make it available in Python land as well.

Let me know what you think!

[0] https://testing-library.com/docs/guiding-principles




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: