RESOLVED FIXED 177134
WebDriver: Implement commands to get and set the window rect
https://bugs.webkit.org/show_bug.cgi?id=177134
Summary WebDriver: Implement commands to get and set the window rect
Carlos Garcia Campos
Reported 2017-09-19 06:40:47 PDT
We are currently implementing the selenium legacy ones, we should implement the w3c ones instead. https://w3c.github.io/webdriver/webdriver-spec.html#resizing-and-positioning-windows
Attachments
Patch (20.85 KB, patch)
2017-09-19 06:47 PDT, Carlos Garcia Campos
bburg: review+
Carlos Garcia Campos
Comment 1 2017-09-19 06:47:09 PDT
Build Bot
Comment 2 2017-09-19 06:49:30 PDT
Attachment 321196 [details] did not pass style-queue: ERROR: Source/WebDriver/WebDriverService.h:82: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.h:83: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:89: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:90: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:123: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:124: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:125: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:786: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:809: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:639: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:678: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:695: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:712: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:728: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 14 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Blaze Burg
Comment 3 2017-09-19 08:45:03 PDT
Comment on attachment 321196 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=321196&action=review r=me > Source/WebDriver/ChangeLog:13 > + (WebDriver::Session::getToplevelBrowsingContextRect): Helper to get the window rext. This is used by both get Nit: 'rect' > Source/WebDriver/Session.cpp:678 > +void Session::moveToplevelBrowsingContextwindow(double x, double y, Function<void (CommandResult&&)>&& completionHandler) Nit: 'moveToplevelBrowsingContextWindow' > Source/WebDriver/Session.cpp:695 > +void Session::resizeToplevelBrowsingContextwindow(double width, double height, Function<void (CommandResult&&)>&& completionHandler) Ditto.
Carlos Garcia Campos
Comment 4 2017-09-19 23:32:45 PDT
Radar WebKit Bug Importer
Comment 5 2017-09-27 12:29:06 PDT
Note You need to log in before you can comment on or make changes to this bug.