Javascript – Cypress: How to read a text file, but keep execution going even if file does not exist?
I want to write to a text file, but if it exists already, I'd like to clean it first. If it does not exist, I want create it and start writing to it. I made several attempts to clear the…