push-file
Transfer files to a mobile device during automation by specifying the target path and providing the base64-encoded file content, enabling efficient file management in Appium-based workflows.
Instructions
Push a file to the device
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Base64-encoded file content | |
path | Yes | Path on the device to write the file |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"data": {
"description": "Base64-encoded file content",
"type": "string"
},
"path": {
"description": "Path on the device to write the file",
"type": "string"
}
},
"required": [
"path",
"data"
],
"type": "object"
}