I need to screen record iOS from iMAC for the purpose of test automation. I found commands for Android and iOS-Simulator which are:
- adb screenrecord /sdcard/123.mp4
- xcrun simctl io recordVideo --type=mp4
However, I need a command for iOS-real device.
The purpose of this is for taking video of device during each of test automation sessions.