[wtr-general] Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-01-16 Thread Evgeny Shavkunov
Hi, I was trying to make a screenshot from the page using "browser.screenshot.save" and I found that only small part of the page (even less then visible part in the window) is saved in file. Later I discovered that before screenshot is taken browser is automatically minimized and then maximize

Re: [wtr-general] Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-01-16 Thread Evgeny Shavkunov
I'm using Watir-webdriver on IE On Wednesday, January 16, 2013 3:52:49 PM UTC+1, Ċ½eljko Filipin wrote: > > On Wed, Jan 16, 2013 at 3:42 PM, Evgeny Shavkunov > > > wrote: > >> I was trying to make a screenshot from the page using >> "browser.screenshot.s

[wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-01-16 Thread Evgeny Shavkunov
efore the call. > > If you're attempting to use IE10, on Windows 8, screenshots are one of the > few things that don't work entirely properly. It's entirely possible that > Microsoft has closed the loophole the IE driver uses to create full-page > screenshots in Windows 8.

[wtr-general] Re: Watir-webdriver - Screenshots - Browser is minimised before screeshot is taken and only part of the page is saved

2013-01-17 Thread Evgeny Shavkunov
Ok, I managed to get better results and I have more details on the issue I'm having. I noticed that when screenshot method does minimize-maximize operation, minimized window goes partly off the screen. So I used browser.window.move_to 0,0 and it worked much better: page on screenshot now is mu