Open adenflorian opened 6 years ago
This library doesn't seem to emit the runner:screenshot event when it takes a screenshot.
runner:screenshot
Create a custom reporter that listens for runner:screenshot
this.on('runner:screenshot', function (payload) { console.log('screenshot taken'); });
Then have a test call browser.saveDocumentScreenshot(fileName);
browser.saveDocumentScreenshot(fileName);
'screenshot taken' is never logged.
Made a pull request.
This library doesn't seem to emit the
runner:screenshot
event when it takes a screenshot.Create a custom reporter that listens for
runner:screenshot
Then have a test call
browser.saveDocumentScreenshot(fileName);
'screenshot taken' is never logged.