I’m using Appium 2.0.0-beta.46 and video that is recording Appium test can not be played.
Here is simple block of code:
driver.start_recording_screen() test steps . . . video_rawdata = driver.start_recording_screen() filepath = os.path.join("/path/to/recordings/folder", "test_name.mp4") with open(filepath, "wb+") as vd: vd.write(base64.b64decode(video_rawdata))
From here the file
test_name.mp4 is created, but once I try to play it I can’t do it (like the file is broken).
Anyone has an idea what am I doing wrong here?