How can you specify the size of the browser window opened when you call the following with watir-webdriver?
browser = Watir::Browser.new(:firefox)
How can you specify the size of the browser window opened when you call the following with watir-webdriver?
browser = Watir::Browser.new(:firefox)
This works only for Firefox at the moment:
and you can move the browser, too:
I did something like this
I'm using ruby+watir-webdriver and this code works for both FF and IE browsers (I have not checked in others browsers)