Closed
Bug 1069572
Opened 10 years ago
Closed 10 years ago
Add method to Maximise the browser
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: automatedtester, Assigned: automatedtester)
References
Details
Attachments
(1 file, 1 obsolete file)
5.15 KB,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
This currently supported in WebDriver so we should add it too
Assignee | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=42ae13b2688a
Assignee | ||
Comment 2•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=d2087744db97
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8491910 -
Flags: review?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dburns
Status: NEW → ASSIGNED
Comment 4•10 years ago
|
||
Comment on attachment 8491910 [details] [diff] [review] Add maximise_window() to Marionette to allow maximising the browser window Review of attachment 8491910 [details] [diff] [review]: ----------------------------------------------------------------- ::: testing/marionette/marionette-server.js @@ +2457,5 @@ > + return; > + } > + > + let curWindow = this.getCurrentWindow(); > + curWindow.resizeTo(curWindow.screen.availWidth, curWindow.screen.availHeight); Don't we also need a call to curWindow.moveTo(0,0) to emulate the behavior of pressing the maximize button?
Attachment #8491910 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #4) > Comment on attachment 8491910 [details] [diff] [review] > Add maximise_window() to Marionette to allow maximising the browser window > > Review of attachment 8491910 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: testing/marionette/marionette-server.js > @@ +2457,5 @@ > > + return; > > + } > > + > > + let curWindow = this.getCurrentWindow(); > > + curWindow.resizeTo(curWindow.screen.availWidth, curWindow.screen.availHeight); > > Don't we also need a call to curWindow.moveTo(0,0) to emulate the behavior > of pressing the maximize button? It was working without it (locally) but it isnt going to hurt to add it.
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4d99a011dffe
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8492082 [details] [diff] [review] Add maximise_window() to Marionette to allow maximising the browser window adding moveTo as per comment and landed. Carrying r+ forward
Attachment #8492082 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Attachment #8491910 -
Attachment is obsolete: true
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4d99a011dffe
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•