Class PageSize

java.lang.Object
org.openqa.selenium.print.PageSize

@NullMarked public class PageSize extends Object
  • Field Details

    • ISO_A4

      public static final PageSize ISO_A4
    • ANSI_TABLOID

      public static final PageSize ANSI_TABLOID
    • US_LETTER

      public static final PageSize US_LETTER
  • Constructor Details

    • PageSize

      public PageSize()
    • PageSize

      public PageSize(double height, double width)
  • Method Details

    • getHeight

      public double getHeight()
    • getWidth

      public double getWidth()
    • setPageSize

      public static PageSize setPageSize(PageSize pageSize)
    • toMap

      public Map<String,Object> toMap()
    • toString

      public String toString()
      Overrides:
      toString in class Object