diff --git a/src/video-recorder/index.js b/src/video-recorder/index.js index 64c87ecc287..928f0aa2bb5 100644 --- a/src/video-recorder/index.js +++ b/src/video-recorder/index.js @@ -60,6 +60,8 @@ export default class VideoRecorder { _assignEventHandlers (browserJob) { browserJob.once('start', this._createSafeListener(() => { this.tempDirectoryInitializedPromise = this._onBrowserJobStart(); + + return this.tempDirectoryInitializedPromise; })); browserJob.once('done', this._createSafeListener(this._onBrowserJobDone));