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
Post a Comment