is there any way to save snapshot on device?
title
I'm trying to take a screenshot and save it on device. I've tried client.device.takeSnapshot(reconnect=True).save("name.png") but it store the screenshot on desktop. I've read docs and look for similar question buy I haven't found something useful so far
Hey @jrafaaael , what's the use case? AndroidViewClient reads the framebuffer directly, so there's no file created. However, CulebraTester2-public creates a temp file to store the image and it's deleted after returning its content, so commenting out https://github.com/dtmilano/CulebraTester2-public/blob/9906b44aeaae186a3bf6f5707e67a161934d5953/app/src/main/java/com/dtmilano/android/culebratester2/location/UiDevice.kt#L244 leaves the file on the device.