-
I have a button.
My e2e tests would like it if I could add data attributes to my button, for example
Is that possible? |
Beta Was this translation helpful? Give feedback.
Answered by
SiTaggart
Aug 18, 2020
Replies: 1 comment 1 reply
-
HI @sebm This has come up before, and i'm not sure where this syntax at Twilio has come from Let us know if that works. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sebm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI @sebm
This has come up before, and i'm not sure where this syntax at Twilio has come from
data={{ s: 'the-foo-button' }}
, but you can just give it an html data attributedata-s="the-foo-button"
.Let us know if that works.