Forum Discussion
Hi,
> i need to scroll down in a html page
What for do you need this?
If you need to make visible some web element that is located out of the current viewport, then native .scrollintoview() method is recommended:
var obj = page.FindChild(...);
obj.scrollintoview(true);
If you just need to scroll down page to its end then, hopefully, something like this should work:
page.Keys('[End]');
- Sumayya7 years agoOccasional Contributor
I would like to give more details :
steps I need to follow are:
1) open a web page
2) take screen shot of whatever visible on screen.
3) scroll it and take screen shot of page that is visible on screen, like this scroll until end take take screen shot.
Here few pages have huge data and few may have less, I am facing issue to scroll it such that I should not miss any data.
In flex objects we have option of setting scroll bar position (max,min,any number) but in HTML 5 we have no option like this and scroll bar is not getting recognised as a object.
Please try to reproduce this issue and suggest.thank you.
- AlexKaras7 years ago
Champion Level 2
Hi,
.PagePicture() method of Page object scrolls down / left-right and stitches sub-images automatically, considering also such things as floating header and footers, so they appear only once but not on each sub-image.
- Sumayya7 years agoOccasional Contributor
Thank you so much. PagePicture() method is working but I am facing one more Issue .. it is not working for HTML page (Where data is written in html format.) When I tried pagepicture() method, it is capturing whatever visible on page, not all data.
please could you sugest any way for this. It is urgent for me.
Thanks in advance.