File tree 2 files changed +4
-4
lines changed
src/org/openqa/selenium/print
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
public class PrintOptions {
23
23
24
24
public enum Orientation {
25
- Portrait ,
26
- Landscape
25
+ PORTRAIT ,
26
+ LANDSCAPE
27
27
}
28
- private Orientation orientation = Orientation .Portrait ;
28
+ private Orientation orientation = Orientation .PORTRAIT ;
29
29
private double scale = 1.0 ;
30
30
private boolean background = false ;
31
31
private boolean shrinkToFit = true ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public void canPrintWithValidParams() {
68
68
PageSize pageSize = new PageSize ();
69
69
70
70
printOptions .setPageRanges ("1-2" );
71
- printOptions .setOrientation (PrintOptions .Orientation .Landscape );
71
+ printOptions .setOrientation (PrintOptions .Orientation .LANDSCAPE );
72
72
printOptions .setPageSize (pageSize );
73
73
74
74
Pdf pdf = printer .print (printOptions );
You can’t perform that action at this time.
0 commit comments