Skip to content

AppiumTransport.pushFiles method

AppiumTransport › pushFiles

Pushes vault files to the device via compressed adb push.

Creates a tar.gz archive of the local vault directory, pushes it to the device as a single file, and extracts it in-place. This avoids the webdriver RangeError on large base64 payloads and is significantly faster than per-file browser.pushFile() calls.

Signature:

pushFiles(vaultPath: string, _files: Record<string, Uint8Array<ArrayBufferLike>>): Promise<void>

Parameters:

ParameterTypeDescription
vaultPathstringThe vault path (used as the vault directory name on device).
_filesRecord<string, Uint8Array<ArrayBufferLike>>Map of relative file paths to content buffers (unused — adb pushes the directory directly).

Returns: Promise<void>