Mac/Safari: spy and permanently allow 'allow remote automation'

Thank you for your answer. This is very unfortunate, because I was hoping that capturing / recording directly in safari could bring a solution for this problem Mac/Safari: Test passes, but buttons are not really clicked