Skip to content

Commit

Permalink
Fix method names in Size example description for PrintOptions class (#…
Browse files Browse the repository at this point in the history
…2121)

Fix method names in Size example description for PrintOptions class (getPageSize and setPageSize)
  • Loading branch information
yvsvarma authored Jan 5, 2025
1 parent 18b7f8d commit a734e43
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
{{< /tabpane >}}

### Size
Using the `getPaperSize()` and `setPaperSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.
Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
{{< /tabpane >}}

### Size
Using the `getPaperSize()` and `setPaperSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.
Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
{{< /tabpane >}}

### Size
Using the `getPaperSize()` and `setPaperSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.
Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper size to print --- e.g. "A0", "A6", "Legal", "Tabloid", etc.

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Selenium 通过其 PrintOptions、PrintsPage 和 browsingContext 类简化了这
{{< /tabpane >}}

### 尺寸
通过 `getPaperSize()``setPaperSize()` 方法,可以获取/设置要打印页面的纸张尺寸(如"A0"、"A6"、"Legal"、"Tabloid" 等)。
通过 `getPageSize()``setPageSize()` 方法,可以获取/设置要打印页面的纸张尺寸(如"A0"、"A6"、"Legal"、"Tabloid" 等)。

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down

0 comments on commit a734e43

Please sign in to comment.