Following Protractor API documentation there should be a way to take screenshot of entire page, not only visible frame. In fact it should be default behaviour.
When takeScreenshot()
is called like
browser.takeScreenshot().then(function (png) {
// writing down image
});
Then in file is saved option 3. from documentation - 'Visible portion of current frame'. How to force webdriver to take full page screenshot?