javascript - How to take screenshot of entire page in Protractor? -


following protractor api documentation there should way take screenshot of entire page, not visible frame. in fact should default behaviour.

when takescreenshot() called like

browser.takescreenshot().then(function (png) {     // writing down image }); 

then in file saved option 3. documentation - 'visible portion of current frame'. how force webdriver take full page screenshot?

this respective browser driver server. e.g if using chrome, chromedriver server responsible deliver screenshot of entire page.

it has nothing webdriver client libraries or protractor.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -