Skip to content

Commit

Permalink
getWindowSize now marked as robotkeyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Born authored and Franz Born committed Jun 22, 2016
1 parent fbd65e6 commit fb87fa6
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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) };
Expand Down

0 comments on commit fb87fa6

Please sign in to comment.