use record_video_dir in new_context -> https://playwright.dev/python/docs/api/class-browser#browser-new-context return it as BytesIO (optional)