Forum Discussion

fayrehouse's avatar
fayrehouse
Frequent Contributor
12 years ago

Looking for image in Browser window

Hi all, 



I recently asked a similar question to this - looking to grab an image of the current window (Adobe Reader in previous q). Tanya was there as ever with a great response!



The basic routine was - scroll to top of adobe window, grab image of window "as is" - compare to image file, scroll down by half the height of the v scroll bar if not found, repeat until found or end of adobe doc found



Now I'm trying to do the same thing for current browser window - but cannot identify the browser scroll bar?!?



I've also tried sys.browser().page("http:/my.page").Panel("root").Panel("wrap").picture(0,0,-1,-1,false) - which creates an image the SIZE of the full doc - but with black rectangles top/bottom for the bits of the page not "in view".



So I'm looking for a way to capture a picture of the full browser doc (including bits out of view), OR a way to control the scroll bar - be it  IE, Chrome, FF etc - so I can "redo" my Adobe solution for a browser window.



Help!? :)