Skip to content

Commit

Permalink
[java] Fix default values for print options page size
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Oct 11, 2023
1 parent bbcfc9a commit 225074b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/print/PageSize.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class PageSize {

public PageSize() {
// Initialize with defaults. A4 paper size defaults in cms.
this.height = 21.59;
this.width = 27.94;
this.height = 27.94;
this.width = 21.59;
}

public PageSize(double height, double width) {
Expand Down

0 comments on commit 225074b

Please sign in to comment.