I'm trying to take a screenshot of an Angular page using protractor and mocha. We've been using protractor-screenshot-utils
as a dependency and have this on the conf.js file to override the browser.takeScreenshot();
onPrepare: function() {
global.screenShotUtils = new screenShotUtils({
browserInstance : browser,
setAsDefaultScreenshotMethod : true
});
},
Unfortunately it doesn't totally override it and I'm not able to take a full page screenshot of an angular page (it's completely working on non-angular page). The screenshot that the test is getting, is what the browser can show, not including the rest of the page which boils down to my question...
Is there any other workaround to take a whole page screenshot of an Angular page using protractor + mocha?