saveRecordingScreen
Appium only. Save a video started by startRecordingScreen command to file. See Appium docs
Usage
browser.saveRecordingScreen(filepath)
Parameters
Name | Type | Details |
---|---|---|
filepath | String | full or relative to the execution directory path to the generated video |
Example
it('should save a video', () => {
browser.startRecordingScreen();
$('~BUTTON').click();
browser.saveRecordingScreen('./some/path/video.mp4');
});