While I would need that all downloads are saved with browser suggested filename rather than custom name or random guid, I noticed this is not possible with current Wait For Download implementation. What I mean is, when I download manually a file from the application I get the same file name and extension all the time, while when downloading with Browser library, there is a guid name with no extension for the downloaded file.
This need is similar with this issue: https://github.com/microsoft/playwright/issues/2058
Maybe this will be implemented at some point in Browser library, however in the meantime I assume I could use a custom jsextension for this, but unfortunately this is not so easy without JS knowledge.
Could you suggest how to implement such keyword extension for download with the suggested filename?