Allow to adjust properties of the window geometry ("x", "y", "width", and "height") individually
Categories
(Remote Protocol :: Agent, task, P3)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned, Mentored)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [lang=py])
The PR https://github.com/w3c/webdriver/pull/1830/files on the WebDriver repository changed the way how the Set Window Rect command works. Formerly it was only possible to change the window position when providing both x and y, and changing the dimensions by providing both the width and height. This is now no longer required and it is enough to specify a single value (for the other the current value is used) or even none (nothing will change).
No current browser supports that yet, so we could get started to create those tests once the patch on bug 1855028 was landed - it sets that behavior for not only BiDi but also classic.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•10 months ago
|
||
Given that the adjustWindowGeometry() helper is now in the shared WindowManager module a change would affect both of our Marionette and WebDriver BiDi implementations. As such the following work is needed here:
- Update the code of the
adjustWindowGeometry()method to allow setting the properties individually - Update and enhance the WebDriver tests for Marionette.
- Do the same additions / changes for WebDriver BiDi.
| Reporter | ||
Comment 2•8 months ago
|
||
We will get updated Webdriver classic tests via bug 1975143.
Description
•