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 -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -