I was having a similar problem, here’s what I did to ‘seemingly’ solve it. Perhaps you can give it a try.
- Record your action as usual.
- In the ‘Watch me do’ box, click and hold on the action, then drag it below the ‘Watch me do’ box.
This will convert the action to AppleScript – which then the automation worked for me.

