Permalink
Browse files

getWindowSize now marked as robotkeyword

  • Loading branch information...
1 parent fbd65e6 commit fb87fa6a4aa169478aaf31594c16e7b1c193fc40 Franz Born committed Jun 22, 2016
@@ -602,6 +602,7 @@ public void maximizeBrowserWindow() {
*
* @return The window <b>width</b> and <b>height</b> in px.
*/
+ @RobotKeyword
public Object[] getWindowSize() {
Dimension size = getCurrentWebDriver().manage().window().getSize();
return new Object[] { Integer.toString(size.width), Integer.toString(size.height) };

0 comments on commit fb87fa6

Please sign in to comment.