Show HN: PyPI package for using Testing Library queries in Selenium code

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

2 points Smotko 4 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton