Get help from the marimo community

Updated last month

Add data-* attribute to frontend UI elements for E2E testing

At a glance
Hi,
I would like to implement E2E testing in some of my notebooks, and for now it's hard to locate and interact with HTML elements from a Marimo notebook since they don't have a stable ID or other data-* attributes to target...
Is there a way to do so or should it be a new feature completely?
M
1 comment
could you target the html elements <marimo-x>? we'd also take a contribution if you'd like to add these html attributes to some of our elements.
Add a reply
Sign up and join the conversation on Discord