We should record macOS device when running patrol tests on the CI. I tried to do it using screencapture but it's not working as expected.
screencapture