https://htmx.org logo
I released a new version of my tiny html_form_to_d...
# 🔥-django-htmx
s
I released a new version of my tiny html_form_to_dict() library: https://github.com/guettli/html_form_to_dict This is a tiny library which provides a method called html_form_to_dict(). This method takes a string containing HTML and returns a dictionary of the values of the first form. The data returned by html_form_to_dict() is a FormDict which has the method submit(). This way you can submit the data like a real browser would. This mean you can do simple end-to-end testing of form handling without a real browser (like selenium/puppeteer/playwright). Feedback is welcome