Take a look at this: http://stackoverflow.com/questions/6126311/setting-browser-window-size-in-watir-webdriver
Zeljko On Monday, January 2, 2012, Abe Heward <[email protected]> wrote: > Just found the depressing answer to my own question: > https://developer.mozilla.org/en/Firefox_7_for_developers#DOM > > window.resizeTo , window.resizeBy , window.moveTo , and window.moveBy no longer apply to the main window. > > This is frustrating because the default size of the window is too small for some of our page elements and as a result I get errors like "Can't scroll element into view" and suchlike. > Anyone come up with a solution for this, yet? > > -- > Before posting, please read http://watir.com/support. In short: search before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
