How to push file to the android device?

How to push file to the android device?

Hello Macy-davis,

Kindy try the sample code snippet that you could try on your end to push file on Android:

driver.pushFile("/storage/emulated/0/Android/data/com.android.chrome/files/Download/"+fileName, new File("/Users/JohnDoe/Pictures/"+fileName));