Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Aug 29, 2024
1 parent 6d4df92 commit 630fa35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/htmlunit/WebDriverTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ protected final WebDriver loadPage2(final String html, final URL url,
protected void resizeIfNeeded(final WebDriver driver) {
final Dimension size = driver.manage().window().getSize();
if (size.getWidth() != 1272 || size.getHeight() != 768) {
// only resize if needed because it may be quite expensive (e.g. IE)
// only resize if needed because it may be quite expensive
driver.manage().window().setSize(new Dimension(1272, 768));
}
}
Expand Down

0 comments on commit 630fa35

Please sign in to comment.