Be able to compare props.children [featrue request]
Twiggeh opened this issue · comments
Twiggeh commented
I am not sure whether crs can compare children props, but it doesn't seem like it does.
I tried selecting a specific button with .react('Button', { props: { children: 'Upload !' } }
, but it couldn't find anything, looking at the getReact
output, there is no children in the logged props object.
Would be cool to be able to select buttons and stuff by the string they display :D
Robin Becker commented
+1 on this feature request.