Get Checkbox Element on Android App - Node Version

Hello. I have an mobile app made with react-native. I use appium - javascript (node) version for testing. Can you tell how can I select all the checkboxes from a page? I already tried the solutions found here and I tried using this driver.elementsByXPath("//android.widget.Checkbox") but it’s not working, it’s rendering an empty array. Thanks.

Have you tried using ByClassName(‘android.widget.Checkbox’)?

I’d also recommend what @brian-themaven said.

Yes, I did, it didn’t worked. It was an image, not checkbox as input. Sorry if I waste your time :slight_smile:

1 Like

@laura.pop89 a lesson learned is no time wasted at all :slight_smile: