Skip to content

Commit

Permalink
Merge pull request serenity-bdd#905 from ricardorlg/patch-2
Browse files Browse the repository at this point in the history
Fix: Maximize browser with serenity properties
  • Loading branch information
wakaleo authored Aug 25, 2017
2 parents 72c3bff + 66467a1 commit a846a54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public static RedimensionStrategy strategyFor(WebDriver driver, EnvironmentVaria
}

if (redimensionConfiguration.isBrowserMaximised()) {
return RedimensionToSpecifiedSize;
return Maximize;
}

return DoNotRedimension;
}
}
}

0 comments on commit a846a54

Please sign in to comment.