captureEntirePageScreenshot doesn't work on all pages and only captures viewport

Hi everyone

I noticed that when I capture certain pages that are full length then the captureEntirePageScreenshot seems to work because I can see it capture screens from bottom to top. But it only works on certain screens and then fails to work on others. Here is a example of a screen which didn’t work.

It only captures the viewport. Here is a manual screengrab of the actual page -

I thought it was because this page seemed to have a infinity scroll menu on it. But I worked around that by inserting multiple ‘XType | ${KEY_PAGE_DOWN}’ to simulate the user scrolling down for full load. It didn’t seem to fix this.

Also, I noticed that on these page and every subsequent page it does not do the bottom to top screengrabs.

Is this a bug?

Hi, which URL is this? I tested with https://www.optus.com.au/ in UI.Vision 5.1.8 in Chrome and all works well => Full page screenshot stored.

{
  "Name": "optus",
  "CreationDate": "2019-8-6",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://www.optus.com.au/",
      "Value": ""
    },
    {
      "Command": "captureEntirePageScreenshot",
      "Target": "n1",
      "Value": ""
    }
  ]
}

Screenshot:

Yes the front page works well. The others don’t.

However, the page that doesn’t is behind a firewall.

Let me see if I can recreate it on other pages.

Here is a perfect example of screenshots which fail.

{
  "Name": "Test2",
  "CreationDate": "2019-8-7",
  "Commands": [
    {
      "Command": "open",
  "Target": "https://www.optus.com.au/enterprise",
  "Value": ""
},
{
  "Command": "captureDesktopScreenshot",
  "Target": "screen1",
  "Value": ""
},
{
  "Command": "clickAndWait",
  "Target": "link=Find out more",
  "Value": ""
},
{
  "Command": "captureEntirePageScreenshot",
  "Target": "screen2",
  "Value": ""
},
{
  "Command": "clickAndWait",
  "Target": "link=Learn more@POS=4",
  "Value": ""
},
{
  "Command": "captureEntirePageScreenshot",
  "Target": "screen3",
  "Value": ""
}
  ]
}

As you can see the full page screenshot fails to do full page

Follow-up forum post: captureEntirePageScreenshot doesn't work on all pages and only captures viewports - #2 by admin