Automation Report logs and send it on email automatically
When running a Automation code using Selenium Cucumber approach. I wanted to save and record the logs. Is there a way to generate a text file for the logs for every run of the automated scenarios? I also wanted this log to be sent to an email.