you have to provide the dimensions for the window size to maximize and its
working for me on firefox 3.6
Webdriver d = new FirefoxDriver(profile);
EventFiringWebDriver driver = new EventFiringWebDriver(d);
//driver.Manage().Window.Size = new Size(1024, 768);
set the window size in dimensions object
Dimension dd = new Dimension(1024, 768);
driver.manage().window().setSize(dd);
On Fri, Apr 27, 2012 at 6:59 PM, harsha wrote:
Hi I am using following code to maximize a window but it is not
working with Firefox 3.6.
driver.manage().window().maximize();
--
You received this message because you are subscribed to the Google Groups
"webdriver" group.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to
webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/webdriver?hl=en.
Hi I am using following code to maximize a window but it is not
working with Firefox 3.6.
driver.manage().window().maximize();
On Apr 27, 12:39 pm, "Mark Collin" wrote:
No, you can however resize the window (SO you can emulate maximise by
resizing the window to the screen size).
-----Original Message-----
From: webdriver@googlegroups.com On
Behalf Of Talwinder singh
Sent: 27 April 2012 07:13
To: webdriver
Subject: [webdriver] Looking for a way to minimize and maximize browser
window for IE, Firefox and chrome
Hi All,
Is there a way to minimize and maximize a browser window using webdriver or
webdriverbackedselenium ?
It will be of great help for my test framework.
Thanks in Advance.
Regards
Talwinder
--
You received this message because you are subscribed to the Google Groups
"webdriver" group.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to
webdriver+unsubscribe@googlegroups.com.
For more options, visit this group athttp://
groups.google.com/group/webdriver?hl=en.No, you can however resize the window (SO you can emulate maximise by
resizing the window to the screen size).
-----Original Message-----
From: webdriver@googlegroups.com On
Behalf Of Talwinder singh
Sent: 27 April 2012 07:13
To: webdriver
Subject: [webdriver] Looking for a way to minimize and maximize browser
window for IE, Firefox and chrome
Hi All,
Is there a way to minimize and maximize a browser window using webdriver or
webdriverbackedselenium ?
It will be of great help for my test framework.
Thanks in Advance.
Regards
Talwinder
--
You received this message because you are subscribed to the Google Groups
"webdriver" group.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to
webdriver+unsubscribe@googlegroups.com.
For more options, visit this group athttp://
--
You received this message because you are subscribed to the Google Groups
"webdriver" group.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to
webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/webdriver?hl=en.
--
Regards-
PAWAN GARIA
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webdriver@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.