I want to get the logs written in a log file for the execution.
I am trying to create a cypress spec and I want to have log files generated for the operations performed on webpage.
There is cy.log()
to log something custom but the logs are there during the run, but after it I can only see them in the video.
I want to have logs on a .log
file that I can export after the cypress run is completed.