Zend certified PHP/Magento developer

Programmatically accept all cookies in a Windows browser

How can get Windows to confirm / OK all cookies all all sites in a Windows browser?

I don’t mind if the language is PowerShell or AutoHotkey or similar, and I don’t mind if the browser is Edge or Chrome or Brave or Firefox – I am using the browser inside Windows Sandbox, so I am completely unconcerned about whatever cookies a site presents to me, I want to just accept everything and move on (and anyway, when I close the Windows Sandbox container, everything is deleted anyway).