Package org.openqa.selenium.print
Class PrintOptions
java.lang.Object
org.openqa.selenium.print.PrintOptions
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
String[]
double
getScale()
boolean
void
setBackground
(boolean background) void
setOrientation
(PrintOptions.Orientation orientation) void
setPageMargin
(PageMargin margin) void
setPageRanges
(String firstRange, String... ranges) void
setPageRanges
(List<String> ranges) void
setPageSize
(PageSize pageSize) void
setScale
(double scale) void
setShrinkToFit
(boolean value) toMap()
-
Constructor Details
-
PrintOptions
public PrintOptions()
-
-
Method Details
-
getOrientation
-
setOrientation
-
getPageRanges
-
setPageRanges
-
setPageRanges
-
setBackground
public void setBackground(boolean background) -
getBackground
public boolean getBackground() -
setScale
public void setScale(double scale) -
getScale
public double getScale() -
getShrinkToFit
public boolean getShrinkToFit() -
setShrinkToFit
public void setShrinkToFit(boolean value) -
setPageSize
-
setPageMargin
-
getPageSize
-
getPageMargin
-
toMap
-