How can I setup the file picker in the patrol automation test?
06:41 06 Nov 2025

Can anyone have the idea on file picker in patrol automation testing for Andriod?

I have tried in some ways,

await $.native2.pickMultipleImagesFromGallery(
  imageIndexes: [1,2],
  imageSelector: NativeSelector(
    android: AndroidSelector(

      className: 'android.view.View',
    )
  )
).catchError((_) {});

await $.native2.tap(NativeSelector(
  android: AndroidSelector(
    text: 'Done'
  )
));

But none of it is working.

Can anyone help me in picking the files/image using the patrol ?

flutter-integration-test flutter-patrol