selenium.webdriver.common.print_page_options¶
Classes
PrintOptions () |
-
class
selenium.webdriver.common.print_page_options.
PrintOptions
[source]¶ -
background
¶ Gets and Sets background:
- Get
- self.backgorund
- Set
- self.background = value
value: bool
- Get
- Optional[bool]
- Set
- None
-
margin_bottom
¶ Gets and Sets margin_bottom:
- Get
- self.margin_bottom
- Set
- self.margin_bottom = value
value: float
- Get
- Optional[float]
- Set
- None
-
margin_left
¶ Gets and Sets margin_left:
- Get
- self.margin_left
-Set - self.margin_left = value
value: float
- Get
- Optional[float]
- Set
- None
-
margin_right
¶ Gets and Sets margin_right:
- Get
- self.margin_right
- Set
- self.margin_right = value
value: float
- Get
- Optional[float]
- Set
- None
-
margin_top
¶ Gets and Sets margin_top:
- Get
- self.margin_top
- Set
- slef.margin_top = value
value: float
- Get
- Optional[float]
- Set
- None
-
orientation
¶ Gets and Sets orientation:
- Get
- self.orientation
- Set
- self.orientation = value
value: Orientation
- Get
- Optional[Orientation]
- Set
- None
-
page_height
¶ Gets and Sets page_height:
- Get
- self.page_height
- Set
- self.page_height = value
value: float
- Get
- Optional[float]
- Set
- None
-
page_ranges
¶ Gets and Sets page_ranges:
- Get
- self.page_ranges
- Set
- self.page_ranges = value
value: ` List[str]`
- Get
- Optional[List[str]]
- Set
- None
-
page_width
¶ Gets and Sets page_width:
- Get
- self.page_width
- Set
- self.page_width = value
value: float
- Get
- Optional[float]
- Set
- None
-
scale
¶ Gets and Sets scale:
- Get
- self.scale
- Set
- self.scale = value
value: float
- Get
- Optional[float]
- Set
- None
-
shrink_to_fit
¶ Gets and Sets shrink_to_fit:
- Get
- self.shrink_to_fit
- Set
- self.shrink_to_fit = value
value: bool
- Get
- Optional[bool]
- Set
- None
-