79668828

Date: 2025-06-17 09:47:28
Score: 1.5
Natty:
Report link

By default Playwright saves downloads with a unique filename, but you can get the original name using SuggestedFilename from the Download API. After the download finishes, use download.PathAsync() to get the temp path, then rename the file with File.Move() to match the original filename.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cameron Fairburn