Open lukeis opened 8 years ago
Reported by barancev
on 2013-10-30 14:13:23
To eliminate the constant resizing, I switched from maximizing my window to setting
its window size explicitly, i.e. context.browser.set_window_size(1280, 1024)
This gave me a slight improvement in my IE8 testing time, from 4m31s to 4m17s
Reported by jonathan@act.md
on 2014-02-18 20:51:01
Reported by nirvdrum
on 2014-03-23 20:43:47
@jonathan@act.md
The reason you'd get a slight performance gain is we can't resize a maximized window.
So, we have to fix restore its original size, then set the size needed to take the
screenshot, and then maximize the window again. The only canveat about not maximizing
the window is we get the canvas dimensions based upon DOM inspection in the current
viewport. So, if you're doing some form of responsive design, you may very well want
to maximize anyway to ensure you get a screenshot for the size you actually want.
Reported by nirvdrum
on 2014-03-23 20:59:36
If someone could post this right on the InternetExplorerDriver project page it would
be a huge help to many, I'm sure. This was like finding the holy grail of IE tests
for me, not just for the performance gain I realized, but also for the hover effect
issues I was having when taking screenshots. The problem is that I'm doing screenshot
based verification and when I would have the mouse hover over some element to display
a div, then attempt to take a screenshot in IE, the window would be re-sized to an
awkward dimension, the mouse would no longer be hovering over the the target element,
and the div would disappear. This was very frustrating until I stopped maximizing my
IE windows and started explicitly defining their size at test startup.
Reported by AdamJasonDev
on 2014-05-16 14:46:10
Reported by luke.semerau
on 2015-09-17 17:45:56
Originally reported on Google Code with ID 6503
Reported by
artur@vaadin.com
on 2013-10-30 13:22:13