I have a problem I would like to send output of a reporter or just results of a test via email I use webdriverio and don't have preference in reporters. How could I do it?
The webdriverio v5 come out and previous answer now is not relevant and was a bad practice. Better solution will be: Use json-reporter and fetch data to your email template from json reporter log and send it via nodemailer. To send it automatically after all test execution finished I have added onComplete function which forks child process that parse data and send's email