Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,28 @@
/**
*
* Pulls a folder from the device's file system.
*
* <example>
:pullFolder.js
browser.pullFolder('/data/local/tmp')
* </example>
*
* @param {String} path device path to folder
*
* @type mobile
* @for ios, android
*
*/
import { ProtocolError } from '../utils/ErrorHandler'
export default function pullFolder (path) {
if (typeof path !== 'string') {
throw new ProtocolError('pullFolder requires a parameter (path to folder) from type string')
}
return this.requestHandler.create({
path: '/session/:sessionId/appium/device/pull_folder',
method: 'POST'
}, { path })
}