Closed
Bug 1139369
Opened 9 years ago
Closed 8 years ago
maximize_window should maximize the window the right way to retain window constraints
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1258316
People
(Reporter: whimboo, Unassigned)
References
Details
The maximize() method on the marionette server is not keeping the constraints of the window when doing the call to it. Instead if moves the window to position (0,0) and resizes it to fit the full screen. See: https://dxr.mozilla.org/mozilla-central/source/testing/marionette/marionette-server.js#2893 What it should do is to simply call `window.maximize()`. With that call the original constrains of the window will be kept, for a possible call to `window.restore()` later. Also keep in mind that it might be good to wait for the underlying resize event of the chrome window, which indicates that the resize is done. Otherwise click events on elements can fail, especially on slower machines when maximize() takes longer to execute.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
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
•