MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / PageSize

Method PageSize

java/src/org/openqa/selenium/print/PageSize.java:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 public static final PageSize US_LETTER = new PageSize(27.94, 21.59); // US_LETTER size in cm
34
35 public PageSize() {
36 // Initialize with defaults. ISO_A4 paper size defaults in cms.
37 this(ISO_A4.getHeight(), ISO_A4.getWidth());
38 }
39
40 public PageSize(double height, double width) {
41 this.height = height;

Callers

nothing calls this directly

Calls 2

getHeightMethod · 0.45
getWidthMethod · 0.45

Tested by

no test coverage detected