Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit the 'runner:screenshot' event #86

Open
adenflorian opened this issue Apr 5, 2018 · 1 comment
Open

Emit the 'runner:screenshot' event #86

adenflorian opened this issue Apr 5, 2018 · 1 comment

Comments

@adenflorian
Copy link

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

    this.on('runner:screenshot', function (payload) {
        console.log('screenshot taken');
    });

Then have a test call browser.saveDocumentScreenshot(fileName);

'screenshot taken' is never logged.

@IgorVodka
Copy link

IgorVodka commented Nov 22, 2018

Made a pull request.
#91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants