How to respond to Windows popup to replace file upon CTRL-S to save web page

I’m using CTRL-S, then Enter to save a web page. Sometimes the page will already exist, so I get a popup that says the file “…already exists. Do you want to replace it?”. I pause after CTRL-S and then send a “y” but this does not work. Thanks in advance for any help.

One solution is to use XTYPE to send a custom-generated file name to the “save file” dialog. This way you can make sure the file name is unique.

The file name could be a date/time stamp or a unique random string.