How to get all screen captures on the web site

Hi,

I’m developing below robot now.

  1. Open specified web page which has long content(means, to see all content, scroll down is required)
  2. Get screen capture and save image.
  3. Scroll down should be made on the site.
  4. Go back to 1) for getting all web content’s screen capture.

Now, I know for scroll down on the web page, send hot key(space key) is required, but I have one problem.

The problem is that I don’t know hot to let the robot detect the end of web site(scroll down end).

Could anybody please tell me how to let the robot get all screen captures on the web site which has long content?

Or could anybody please tell me how to let the robot detect the end of scrolling?

Thanks,
dekochan

Here you go

Hi c.ciprian,

Thank you a lot for your prompt response!!

But I’m very sorry, because of my mistake, I haven’t written the rules which I need to keep.
Below are the rule in my case.

  1. The browser which the robot can use is i.e.11 only.
  2. Any add in or add on software can not be used.

On above condition, if anybody knows the solution of my problem, please help me…

Thanks,
dekochan

One thing that pops into my mind is that you could check if the last screenshot is the same as the current picture on screen. So before you make the screenshot, use ‘Image Exists’ and pass in the last screenshot as an Image variable to check if it currently exists on screen. If it does, you can break out of the loop. Because the screenshots no longer change, you can conclude you’ve reached the bottom of the page. This only works if the webpage has no moving elements though, I guess.

Try this and see if you can get the % of scroll (when you reach 100% you’re done)

1 Like

Hi c.ciprian, evangemert

Thank you very much for your advice!!

I’ll try both way and report the result in this forum later!

Thanks,
dekochan

Hi c.ciprian, evangemert

Thank you for your advice again.

I checked your suggestion(both ways), and confirmed working well.

Thank you for your help!

Thanks,
dekochan

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.