Hi @Anonymous
This worked with Edge:
1. 'Launch new Edge' and open your URL
2. 'Get window', Foreground window. %AutomationWindow% as variable produced
3. 'Focus window': By window instance/handle, %AutomationWindow%
4. 'Send keys': {LControlKey}({P})
5. (If your print is already selected to save pdf, then 'Send keys' Enter. Or define commands with UI automation)
When sending keys you always have to focus window first. Also, use desktop recorder to get the correct syntax of keys.