How to pick image using photo library in maestro with test which works both for ios and android? #2619
Replies: 4 comments 4 replies
-
so now i am doing something like,
however this does not work as expected, it seems like maybe we cant take photos in the pipeline. Is there a way to preload the images? Am i missing something obvious? any guidance would be really appreciated 🙏 |
Beta Was this translation helpful? Give feedback.
-
I think you need to account for OS version too - iOS 16/17/18 and Android 12/13/14 are going to have different stuff for this |
Beta Was this translation helpful? Give feedback.
-
The one you've given looks like it takes a photo on Android and tries to pick from the gallery on iOS? Makes some sense since the iOS sim doesn't have a camera... |
Beta Was this translation helpful? Give feedback.
-
I think this is what you want:
Assumes you've already hit an "attach from media library" button or similar, and the OS-specific gallery is now on screen. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to pick image using photo library in maestro with test which works both for ios and android?
Currently I am using something like this, But i am unsure why isnt it working. I would be really helpful if someone could guide me to the right direction.
Beta Was this translation helpful? Give feedback.
All reactions