How to get all radio groups from a page ? #1811
-
Hey Team, This returns only the first radio group. How do i find all radio groups ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey,
We do not provide a way to find an array of all specific components. What we suggest is to find required component using a selector.
You can assign a
data-testid
attribute to a radioGroup and use it as a selector in.findRadioGroup('[data-testid=radioGroup1]')
.Hope that helps!