How to delete file via Appium in Android?

I want to delete a file, is there a way to do this in Appium?

You can use adb:

adb shell rm <file>
1 Like

Hi @kirill … :+1:
I think you are master with the commands…nice info.

1 Like

Thank you! Glad to help! :smiley:

1 Like

This works fine when Appium is not running its adb session. Is it possible to attach to Appium adb session?