diff --git a/lib/commands/recordscreen.js b/lib/commands/recordscreen.js index f14d421e..e333caf4 100644 --- a/lib/commands/recordscreen.js +++ b/lib/commands/recordscreen.js @@ -134,7 +134,7 @@ export async function stopRecordingScreen(options = {}) { for (const pathOnDevice of this._screenRecordingProperties.records) { const relativePath = path.resolve(tmpRoot, path.posix.basename(pathOnDevice)); localRecords.push(relativePath); - await this.adb.pull(pathOnDevice, relativePath); + await this.adb.pull(pathOnDevice, relativePath, { timeout: 5 * 60 * 1000 }); await this.adb.rimraf(pathOnDevice); } let resultFilePath = /** @type {string} */ (_.last(localRecords));