Settings

Theme

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

pypi.org

2 points by Smotko 3 years ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection