Skip to content

Commit 1d2df70

Browse files
authored
Update print_page.zh-cn.md
1 parent 23126b2 commit 1d2df70

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

website_and_docs/content/documentation/webdriver/interactions/print_page.zh-cn.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ aliases: [
77
]
88
---
99

10-
Sometimes you need to print the website you are using - whether that be your
11-
grandmother printing mapquest directions, or a judge needing to print court
12-
records. Luckily, Selenium provides an easy way to automate that!
13-
14-
The `PrintOptions()` class provides an intuitive and multifaceted way of printing
15-
webpages to pdf so that you may enhance your tests, scripts, and software further.
10+
Printing a website is a common requirement, whether for sharing information or archiving records.
11+
Selenium offers a straightforward way to automate this process through the `PrintOptions()` class.
12+
This class provides an intuitive and multifaceted way of printing webpages.
1613

1714
## Orientation
1815
Using the `getOrientation()` and `setOrientation()` methods, you can get/set the page orientation --- either `PORTRAIT` or `LANDSCAPE`.
@@ -187,4 +184,4 @@ Using `getBackground()` and `setBackground()` methods, you can get/set whether t
187184
{{< tab header="Kotlin" >}}
188185
{{< badge-code >}}
189186
{{< /tab >}}
190-
{{< /tabpane >}}
187+
{{< /tabpane >}}

0 commit comments

Comments
 (0)