Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f0dae4e

Browse files
authoredJan 16, 2025··
Merge branch 'trunk' into add-safari-logging-example-js
2 parents 58b28bd + 861cdfc commit f0dae4e

File tree

16 files changed

+150
-60
lines changed

16 files changed

+150
-60
lines changed
 

‎.github/workflows/js-examples.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ jobs:
8282
if: matrix.release == 'stable'
8383
uses: actions/setup-node@v4
8484
with:
85-
node-version: '18.x'
85+
node-version: '22.x'
8686
- name: Setup Node Nightly
8787
if: matrix.release == 'nightly'
8888
uses: actions/setup-node@v4
8989
with:
90-
node-version: '18.x'
90+
node-version: '22.x'
9191
registry-url: 'https://npm.pkg.github.com'
9292
- name: Use Nightly package.json in Ubuntu/macOS
9393
if: matrix.release == 'nightly' && matrix.os != 'windows'

‎examples/java/src/test/java/dev/selenium/drivers/HttpClientTest.java

+24
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,30 @@ public void remoteWebDriverIgnoreSSL() throws Exception {
7070
driver.quit();
7171
}
7272

73+
@Test
74+
public void remoteWebDriverWithEmbedAuthUrl() throws Exception {
75+
ClientConfig clientConfig = ClientConfig.defaultConfig()
76+
.withRetries()
77+
.sslContext(createSSLContextWithCA(Path.of("src/test/resources/tls.crt").toAbsolutePath().toString()))
78+
.connectionTimeout(Duration.ofSeconds(300))
79+
.readTimeout(Duration.ofSeconds(3600))
80+
.version(HTTP_1_1.toString());
81+
ChromeOptions options = new ChromeOptions();
82+
options.setEnableDownloads(true);
83+
driver = RemoteWebDriver.builder()
84+
.oneOf(options)
85+
.address(embedAuthToUrl(gridUrl, "admin", "myStrongPassword"))
86+
.config(clientConfig)
87+
.build();
88+
driver.quit();
89+
}
90+
91+
private URL embedAuthToUrl(URL url, String username, String password) throws Exception {
92+
String userInfo = username + ":" + password;
93+
String urlWithAuth = url.getProtocol() + "://" + userInfo + "@" + url.getHost() + ":" + url.getPort() + url.getPath();
94+
return new URL(urlWithAuth);
95+
}
96+
7397
public static SSLContext createSSLContextWithCA(String caCertPath) throws Exception {
7498
FileInputStream fis = new FileInputStream(caCertPath);
7599
CertificateFactory cf = CertificateFactory.getInstance("X.509");

‎examples/kotlin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<kotlin.version>2.0.21</kotlin.version>
1313

1414
<slf4j.version>2.0.16</slf4j.version>
15-
<logback.version>1.5.14</logback.version>
15+
<logback.version>1.5.16</logback.version>
1616

1717
<junit5.version>5.11.4</junit5.version>
1818
<wdm.version>5.2.3</wdm.version>

‎examples/ruby/Gemfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ GEM
44
ast (2.4.2)
55
base64 (0.2.0)
66
diff-lcs (1.5.1)
7-
json (2.9.0)
7+
json (2.9.1)
88
language_server-protocol (3.17.0.3)
99
logger (1.6.1)
1010
parallel (1.26.3)
@@ -14,7 +14,7 @@ GEM
1414
racc (1.8.1)
1515
rainbow (3.1.1)
1616
rake (13.2.1)
17-
regexp_parser (2.9.3)
17+
regexp_parser (2.10.0)
1818
rexml (3.3.9)
1919
rspec (3.13.0)
2020
rspec-core (~> 3.13.0)
@@ -29,7 +29,7 @@ GEM
2929
diff-lcs (>= 1.2.0, < 2.0)
3030
rspec-support (~> 3.13.0)
3131
rspec-support (3.13.0)
32-
rubocop (1.69.2)
32+
rubocop (1.70.0)
3333
json (~> 2.3)
3434
language_server-protocol (>= 3.17.0)
3535
parallel (~> 1.10)
@@ -39,7 +39,7 @@ GEM
3939
rubocop-ast (>= 1.36.2, < 2.0)
4040
ruby-progressbar (~> 1.7)
4141
unicode-display_width (>= 2.4.0, < 4.0)
42-
rubocop-ast (1.36.2)
42+
rubocop-ast (1.37.0)
4343
parser (>= 3.3.1.0)
4444
rubocop-rspec (3.3.0)
4545
rubocop (~> 1.61)

‎netlify.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ publish = "website_and_docs/public"
33
command = "chmod +x build-site.sh && ./build-site.sh"
44

55
[context.production.environment]
6-
NODE_VERSION = "18.14.1"
6+
NODE_VERSION = "22.13.0"
77
HUGO_VERSION = "0.125.4"
88
GO_VERSION = "1.20.1"
99
HUGO_ENV = "production"
@@ -12,14 +12,14 @@ HUGO_ENV = "production"
1212
command = "chmod +x build-site.sh && ./build-site.sh"
1313

1414
[context.deploy-preview.environment]
15-
NODE_VERSION = "18.14.1"
15+
NODE_VERSION = "22.13.0"
1616
HUGO_VERSION = "0.125.4"
1717
GO_VERSION = "1.20.1"
1818

1919
[context.branch-deploy]
2020
command = "chmod +x build-site.sh && ./build-site.sh"
2121

2222
[context.branch-deploy.environment]
23-
NODE_VERSION = "18.14.1"
23+
NODE_VERSION = "22.13.0"
2424
HUGO_VERSION = "0.125.4"
2525
GO_VERSION = "1.20.1"

‎website_and_docs/content/documentation/webdriver/elements/file_upload.zh-cn.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ aliases: [
77
]
88
---
99

10-
Because Selenium cannot interact with the file upload dialog, it provides a way
11-
to upload files without opening the dialog. If the element is an `input` element with type `file`,
12-
you can use the send keys method to send the full path to the file that will be uploaded.
10+
由于 Selenium 不能与文件上传对话框交互,因此它提供了一种无需打开对话框即可上传文件的方法。
11+
如果该元素是一个类型为 `file``input` 元素,则可以使用
12+
send keys 方法发送将要上传文件的完整路径。
1313

1414
{{< tabpane text=true >}}
1515
{{< tab header="Java" >}}

‎website_and_docs/content/documentation/webdriver/interactions/print_page.en.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Using the `getOrientation()` and `setOrientation()` methods, you can get/set the
2020

2121
{{< tabpane text=true >}}
2222
{{< tab header="Java" >}}
23-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L12-L18" >}}
23+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L14-L17" >}}
2424
{{< /tab >}}
2525
{{< tab header="CSharp" >}}
2626
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L12-L19" >}}
@@ -44,7 +44,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
4444

4545
{{< tabpane text=true >}}
4646
{{< tab header="Java" >}}
47-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L21-L27" >}}
47+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L23-L26" >}}
4848
{{< /tab >}}
4949
{{< tab header="CSharp" >}}
5050
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L22-L29" >}}
@@ -68,7 +68,7 @@ Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper
6868

6969
{{< tabpane text=true >}}
7070
{{< tab header="Java" >}}
71-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L30-L36" >}}
71+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L32-L35" >}}
7272
{{< /tab >}}
7373
{{< tab header="CSharp" >}}
7474
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L32-L38" >}}
@@ -92,7 +92,7 @@ Using the `getPageMargin()` and `setPageMargin()` methods, you can set the margi
9292

9393
{{< tabpane text=true >}}
9494
{{< tab header="Java" >}}
95-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L40-L49" >}}
95+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L41-L48" >}}
9696
{{< /tab >}}
9797
{{< tab header="CSharp" >}}
9898
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L51-L57" >}}
@@ -116,7 +116,7 @@ Using `getScale()` and `setScale()` methods, you can get/set the scale of the pa
116116

117117
{{< tabpane text=true >}}
118118
{{< tab header="Java" >}}
119-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L52-L58" >}}
119+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L53-L57" >}}
120120
{{< /tab >}}
121121
{{< tab header="CSharp" >}}
122122
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L61-L68" >}}
@@ -140,7 +140,7 @@ Using `getBackground()` and `setBackground()` methods, you can get/set whether b
140140

141141
{{< tabpane text=true >}}
142142
{{< tab header="Java" >}}
143-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L61-L67" >}}
143+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L63-L66" >}}
144144
{{< /tab >}}
145145
{{< tab header="CSharp" >}}
146146
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L41-L48" >}}
@@ -164,7 +164,7 @@ Using `getShrinkToFit()` and `setShrinkToFit()` methods, you can get/set whether
164164

165165
{{< tabpane text=true >}}
166166
{{< tab header="Java" >}}
167-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L70-L76" >}}
167+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L72-L75" >}}
168168
{{< /tab >}}
169169
{{< tab header="CSharp" >}}
170170
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L71-L78" >}}
@@ -200,9 +200,9 @@ Note: `BrowsingContext()` is part of Selenium's BiDi implementation. To enable B
200200
{{< tabpane text=true >}}
201201
{{% tab header="Java" %}}
202202
**PrintsPage()**
203-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L25-L32" >}}
203+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L27-L31" >}}
204204
**BrowsingContext()**
205-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L35-L42" >}}
205+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L37-L41" >}}
206206
{{< /tab >}}
207207
{{< tab header="CSharp" >}}
208208
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L81-L88" >}}

‎website_and_docs/content/documentation/webdriver/interactions/print_page.ja.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Using the `getOrientation()` and `setOrientation()` methods, you can get/set the
2020

2121
{{< tabpane text=true >}}
2222
{{< tab header="Java" >}}
23-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L12-L18" >}}
23+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L14-L17" >}}
2424
{{< /tab >}}
2525
{{< tab header="CSharp" >}}
2626
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L12-L19" >}}
@@ -44,7 +44,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
4444

4545
{{< tabpane text=true >}}
4646
{{< tab header="Java" >}}
47-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L21-L27" >}}
47+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L23-L26" >}}
4848
{{< /tab >}}
4949
{{< tab header="CSharp" >}}
5050
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L22-L29" >}}
@@ -68,7 +68,7 @@ Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper
6868

6969
{{< tabpane text=true >}}
7070
{{< tab header="Java" >}}
71-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L30-L36" >}}
71+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L32-L35" >}}
7272
{{< /tab >}}
7373
{{< tab header="CSharp" >}}
7474
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L32-L38" >}}
@@ -92,7 +92,7 @@ Using the `getPageMargin()` and `setPageMargin()` methods, you can set the margi
9292

9393
{{< tabpane text=true >}}
9494
{{< tab header="Java" >}}
95-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L40-L49" >}}
95+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L41-L48" >}}
9696
{{< /tab >}}
9797
{{< tab header="CSharp" >}}
9898
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L51-L57" >}}
@@ -116,7 +116,7 @@ Using `getScale()` and `setScale()` methods, you can get/set the scale of the pa
116116

117117
{{< tabpane text=true >}}
118118
{{< tab header="Java" >}}
119-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L52-L58" >}}
119+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L53-L57" >}}
120120
{{< /tab >}}
121121
{{< tab header="CSharp" >}}
122122
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L61-L68" >}}
@@ -140,7 +140,7 @@ Using `getBackground()` and `setBackground()` methods, you can get/set whether b
140140

141141
{{< tabpane text=true >}}
142142
{{< tab header="Java" >}}
143-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L61-L67" >}}
143+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L63-L66" >}}
144144
{{< /tab >}}
145145
{{< tab header="CSharp" >}}
146146
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L41-L48" >}}
@@ -164,7 +164,7 @@ Using `getShrinkToFit()` and `setShrinkToFit()` methods, you can get/set whether
164164

165165
{{< tabpane text=true >}}
166166
{{< tab header="Java" >}}
167-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L70-L76" >}}
167+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L72-L75" >}}
168168
{{< /tab >}}
169169
{{< tab header="CSharp" >}}
170170
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L71-L78" >}}
@@ -200,9 +200,9 @@ Note: `BrowsingContext()` is part of Selenium's BiDi implementation. To enable B
200200
{{< tabpane text=true >}}
201201
{{% tab header="Java" %}}
202202
**PrintsPage()**
203-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L25-L32" >}}
203+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L27-L31" >}}
204204
**BrowsingContext()**
205-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L35-L42" >}}
205+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L37-L41" >}}
206206
{{< /tab >}}
207207
{{< tab header="CSharp" >}}
208208
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L81-L88" >}}

‎website_and_docs/content/documentation/webdriver/interactions/print_page.pt-br.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Using the `getOrientation()` and `setOrientation()` methods, you can get/set the
2020

2121
{{< tabpane text=true >}}
2222
{{< tab header="Java" >}}
23-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L12-L18" >}}
23+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L14-L17" >}}
2424
{{< /tab >}}
2525
{{< tab header="CSharp" >}}
2626
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L12-L19" >}}
@@ -44,7 +44,7 @@ Using the `getPageRanges()` and `setPageRanges()` methods, you can get/set the r
4444

4545
{{< tabpane text=true >}}
4646
{{< tab header="Java" >}}
47-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L21-L27" >}}
47+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L23-L26" >}}
4848
{{< /tab >}}
4949
{{< tab header="CSharp" >}}
5050
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L22-L29" >}}
@@ -68,7 +68,7 @@ Using the `getPageSize()` and `setPageSize()` methods, you can get/set the paper
6868

6969
{{< tabpane text=true >}}
7070
{{< tab header="Java" >}}
71-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L30-L36" >}}
71+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L32-L35" >}}
7272
{{< /tab >}}
7373
{{< tab header="CSharp" >}}
7474
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L32-L38" >}}
@@ -92,7 +92,7 @@ Using the `getPageMargin()` and `setPageMargin()` methods, you can set the margi
9292

9393
{{< tabpane text=true >}}
9494
{{< tab header="Java" >}}
95-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L40-L49" >}}
95+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#41-L48" >}}
9696
{{< /tab >}}
9797
{{< tab header="CSharp" >}}
9898
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L51-L57" >}}
@@ -116,7 +116,7 @@ Using `getScale()` and `setScale()` methods, you can get/set the scale of the pa
116116

117117
{{< tabpane text=true >}}
118118
{{< tab header="Java" >}}
119-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L52-L58" >}}
119+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L53-L57" >}}
120120
{{< /tab >}}
121121
{{< tab header="CSharp" >}}
122122
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L61-L68" >}}
@@ -140,7 +140,7 @@ Using `getBackground()` and `setBackground()` methods, you can get/set whether b
140140

141141
{{< tabpane text=true >}}
142142
{{< tab header="Java" >}}
143-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L61-L67" >}}
143+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L63-L66" >}}
144144
{{< /tab >}}
145145
{{< tab header="CSharp" >}}
146146
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L41-L48" >}}
@@ -164,7 +164,7 @@ Using `getShrinkToFit()` and `setShrinkToFit()` methods, you can get/set whether
164164

165165
{{< tabpane text=true >}}
166166
{{< tab header="Java" >}}
167-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L70-L76" >}}
167+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintOptionsTest.java#L72-L75" >}}
168168
{{< /tab >}}
169169
{{< tab header="CSharp" >}}
170170
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L71-L78" >}}
@@ -200,9 +200,9 @@ Note: `BrowsingContext()` is part of Selenium's BiDi implementation. To enable B
200200
{{< tabpane text=true >}}
201201
{{% tab header="Java" %}}
202202
**PrintsPage()**
203-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L25-L32" >}}
203+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L27-L31" >}}
204204
**BrowsingContext()**
205-
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L35-L42" >}}
205+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/PrintsPageTest.java#L37-L41" >}}
206206
{{< /tab >}}
207207
{{< tab header="CSharp" >}}
208208
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/PrintOptionsTest.cs#L81-L88" >}}

0 commit comments

Comments
 (0)
Please sign in to comment.