ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

manage().window().maximize() only maximizes vertically in Mac #985

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Issue Description:

For reference:
https://code.google.com/p/chromium/issues/detail?id=14185

In Chrome on Mac, the plus button is interpreted as “size-to-best-fit”, not 
“fill-screen”. Calling the chromedriver maximize() function on Mac only 
fills the vertical space, behaving as if you clicked the green plus button; 
however, the function name maximize() suggests that the function should 
maximize to fill the entire screen, not replicate pushing the green 
"size-to-best-fit" button. I'd argue that most chromedriver users would expect 
and want the window to be maximized when calling "maximize".

Also, the actual "fill-screen" maximize can be achieved by holding shift and 
clicking the green button on the Chrome browser.

Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):

ON A MAC
driver.get("http://www.google.com");
driver.manage().window().maximize();

-----Other helpful tips:
OS: Mavericks 10.9.5
Chromedriver 2.44
Chrome version: 39.0.2171.71 (64-bit)

Original issue reported on code.google.com by para.sel...@gmail.com on 2 Dec 2014 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 9 Mar 2015 at 9:56

GoogleCodeExporter commented 9 years ago
Issue 667 has been merged into this issue.

Original comment by gmanikp...@chromium.org on 9 Mar 2015 at 9:57

GoogleCodeExporter commented 9 years ago
Issue 1050 has been merged into this issue.

Original comment by gmanikp...@chromium.org on 9 Mar 2015 at 9:58

GoogleCodeExporter commented 9 years ago
Issue 774 has been merged into this issue.

Original comment by agau...@chromium.org on 24 Mar 2015 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 2 Apr 2015 at 9:52