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

Blank screenshots when restartBrowserBetweenTests = true #188

greyarch opened this issue Oct 15, 2019 · 1 comment


Copy link

@greyarch greyarch commented Oct 15, 2019

I get blank screenshots when running my test scripts with restartBrowserBetweenTests: true.
The HTML report gets generated, the screenshot files are there, just blank, all of them.
I'm using Protractor@5.4.2 with Jasmine.


This comment has been minimized.

Copy link

@miller45 miller45 commented Nov 12, 2019

We use the function browser.takeScreenshot() from protractor.
The documentation says nothing about what to do in the case of window switching. We have a similar problem with mutliple browser windows.
There might me a solution like described here
But I have currently no time to handle this complex topic with managing multiple windows (asynchronously) while finding out which one of them is the correct one...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.