This is an example of recording desktop automation with Dashcam. Requires Mac and NodeJS installed on system.
Watch Raycast UI Test on Dashcam
This assumes you have Raycast installed. Get it at https://www.raycast.com/.
npm install
Create an Application pattern within Dashcam to monitor the following path:
/Users/user/Desktop/ray.*.log