Skip to content

Commit f81d619

Browse files
committed
Fetch and merge from seleniumhq.github.io/trunk
That is, apply changes to the branch for my pull request from trunk branch at main repo.
1 parent c4249e0 commit f81d619

File tree

5 files changed

+35
-35
lines changed

5 files changed

+35
-35
lines changed

website_and_docs/content/documentation/webdriver/drivers/_index.en.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ The session is created automatically by initializing a new Driver class object.
1414

1515
Each language allows a session to be created with arguments from one of these classes (or equivalent):
1616

17-
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote
17+
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but
18+
this is required for remote
1819
* Some form of [HTTP Client configuration]({{< ref "http_client.md" >}}) (the implementation varies between languages)
1920
* [Listeners]({{< ref "listeners.md" >}})
2021

@@ -23,23 +24,24 @@ Each language allows a session to be created with arguments from one of these cl
2324
The primary unique argument for starting a local driver includes information about starting the required driver service
2425
on the local machine.
2526

26-
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver
27+
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser
28+
driver
2729

2830
{{< tabpane text=true >}}
2931
{{< tab header="Java" >}}
30-
{{< badge-code >}}
32+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/OptionsTest.java#L23" >}}
3133
{{< /tab >}}
3234
{{% tab header="Python" %}}
3335
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L10" >}}
3436
{{% /tab %}}
3537
{{< tab header="CSharp" >}}
36-
{{< badge-code >}}
38+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/BaseTest.cs#L42" >}}
3739
{{< /tab >}}
3840
{{< tab header="Ruby" >}}
3941
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L14" >}}
4042
{{< /tab >}}
4143
{{< tab header="JavaScript" >}}
42-
{{< badge-code >}}
44+
{{< gh-codeblock path="examples/javascript/test/drivers/service.spec.js#L32-L36" >}}
4345
{{< /tab >}}
4446
{{< tab header="Kotlin" >}}
4547
{{< badge-code >}}
@@ -51,23 +53,22 @@ on the local machine.
5153
The primary unique argument for starting a remote driver includes information about where to execute the code.
5254
Read the details in the [Remote Driver Section]({{< ref "remote_webdriver.md" >}})
5355

54-
5556
## Quitting Sessions
5657

5758
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session).
5859

59-
Important note: the `quit` method is different from the `close` method,
60+
Important note: the `quit` method is different from the `close` method,
6061
and it is recommended to always use `quit` to end the session
6162

6263
{{< tabpane text=true >}}
6364
{{< tab header="Java" >}}
6465
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}}
6566
{{< /tab >}}
6667
{{% tab header="Python" %}}
67-
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L13" >}}
68+
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L11" >}}
6869
{{% /tab %}}
6970
{{< tab header="CSharp" >}}
70-
{{< gh-codeblock path="examples/dotnet/HelloSelenium.cs#L13" >}}
71+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/GettingStarted/FirstScript.cs#L28" >}}
7172
{{< /tab >}}
7273
{{< tab header="Ruby" >}}
7374
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L16" >}}

website_and_docs/content/documentation/webdriver/drivers/_index.ja.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,31 @@ weight: 3
1414

1515
各言語では、次のいずれかのクラス (または同等のもの) の引数を使用してセッションを作成することができます。
1616

17-
* [オプション]({{< ref "options.md" >}}) 作成を希望するセッションの種類 ; ローカルにはデフォルト値を使用しますが、リモートには必須です。
17+
* [オプション]({{< ref "options.md" >}}) 作成を希望するセッションの種類 ; ローカルにはデフォルト値を使用しますが、リモートには必須です。
1818
* 何らかの形の[HTTP Client configuration]({{< ref "http_client.md" >}}) (実装は言語によって異なります)
1919
* [リスナー]({{< ref "listeners.md" >}})
20-
20+
2121
### ローカルドライバー
2222

2323
ローカルドライバーを起動するための主な一意の引数には、ローカルコンピューターで必要なドライバーサービスを起動するための情報が含まれます。
2424

25-
2625
* [Service]({{< ref "service.md" >}})オブジェクトはローカルドライバーにのみ適用され、ブラウザーのドライバーに関する情報を提供します。
2726

2827
{{< tabpane text=true >}}
2928
{{< tab header="Java" >}}
30-
{{< badge-code >}}
29+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/OptionsTest.java#L23" >}}
3130
{{< /tab >}}
3231
{{% tab header="Python" %}}
3332
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L10" >}}
3433
{{% /tab %}}
3534
{{< tab header="CSharp" >}}
36-
{{< badge-code >}}
35+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/BaseTest.cs#L42" >}}
3736
{{< /tab >}}
3837
{{< tab header="Ruby" >}}
3938
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L14" >}}
4039
{{< /tab >}}
4140
{{< tab header="JavaScript" >}}
42-
{{< badge-code >}}
41+
{{< gh-codeblock path="examples/javascript/test/drivers/service.spec.js#L32-L36" >}}
4342
{{< /tab >}}
4443
{{< tab header="Kotlin" >}}
4544
{{< badge-code >}}
@@ -63,10 +62,10 @@ weight: 3
6362
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}}
6463
{{< /tab >}}
6564
{{% tab header="Python" %}}
66-
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L13" >}}
65+
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L11" >}}
6766
{{% /tab %}}
6867
{{< tab header="CSharp" >}}
69-
{{< gh-codeblock path="examples/dotnet/HelloSelenium.cs#L13" >}}
68+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/GettingStarted/FirstScript.cs#L28" >}}
7069
{{< /tab >}}
7170
{{< tab header="Ruby" >}}
7271
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L16" >}}

website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ The session is created automatically by initializing a new Driver class object.
1414

1515
Each language allows a session to be created with arguments from one of these classes (or equivalent):
1616

17-
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote
17+
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but
18+
this is required for remote
1819
* Some form of [Http Client Configuration]({{< ref "http_client.md" >}}) (the implementation varies between languages)
1920
* [Listeners]({{< ref "listeners.md" >}})
2021

@@ -23,23 +24,24 @@ Each language allows a session to be created with arguments from one of these cl
2324
The primary unique argument for starting a local driver includes information about starting the required driver service
2425
on the local machine.
2526

26-
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver
27+
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser
28+
driver
2729

2830
{{< tabpane text=true >}}
2931
{{< tab header="Java" >}}
30-
{{< badge-code >}}
32+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/OptionsTest.java#L23" >}}
3133
{{< /tab >}}
3234
{{% tab header="Python" %}}
3335
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L10" >}}
3436
{{% /tab %}}
3537
{{< tab header="CSharp" >}}
36-
{{< badge-code >}}
38+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/BaseTest.cs#L42" >}}
3739
{{< /tab >}}
3840
{{< tab header="Ruby" >}}
3941
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L14" >}}
4042
{{< /tab >}}
4143
{{< tab header="JavaScript" >}}
42-
{{< badge-code >}}
44+
{{< gh-codeblock path="examples/javascript/test/drivers/service.spec.js#L32-L36" >}}
4345
{{< /tab >}}
4446
{{< tab header="Kotlin" >}}
4547
{{< badge-code >}}
@@ -51,23 +53,22 @@ on the local machine.
5153
The primary unique argument for starting a remote driver includes information about where to execute the code.
5254
Read the details in the [Remote Driver Section]({{< ref "remote_webdriver.md" >}})
5355

54-
5556
## Quitting Sessions
5657

5758
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session).
5859

59-
Important note: the `quit` method is different from the `close` method,
60+
Important note: the `quit` method is different from the `close` method,
6061
and it is recommended to always use `quit` to end the session
6162

6263
{{< tabpane text=true >}}
6364
{{< tab header="Java" >}}
6465
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}}
6566
{{< /tab >}}
6667
{{% tab header="Python" %}}
67-
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L13" >}}
68+
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L11" >}}
6869
{{% /tab %}}
6970
{{< tab header="CSharp" >}}
70-
{{< gh-codeblock path="examples/dotnet/HelloSelenium.cs#L13" >}}
71+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/GettingStarted/FirstScript.cs#L28" >}}
7172
{{< /tab >}}
7273
{{< tab header="Ruby" >}}
7374
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L16" >}}

website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ weight: 3
88

99
## 创建会话
1010

11-
创建会话对应于W3C的命令 [新建会话](https://w3c.github.io/webdriver/#new-session)
11+
创建会话对应于W3C的命令 [新建会话](https://w3c.github.io/webdriver/#new-session)
1212

1313
会话是通过初始化新的驱动类对象自动创建的.
1414

@@ -27,19 +27,19 @@ weight: 3
2727

2828
{{< tabpane text=true >}}
2929
{{< tab header="Java" >}}
30-
{{< badge-code >}}
30+
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/OptionsTest.java#L23" >}}
3131
{{< /tab >}}
3232
{{% tab header="Python" %}}
3333
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L10" >}}
3434
{{% /tab %}}
3535
{{< tab header="CSharp" >}}
36-
{{< badge-code >}}
36+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/BaseTest.cs#L42" >}}
3737
{{< /tab >}}
3838
{{< tab header="Ruby" >}}
3939
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L14" >}}
4040
{{< /tab >}}
4141
{{< tab header="JavaScript" >}}
42-
{{< badge-code >}}
42+
{{< gh-codeblock path="examples/javascript/test/drivers/service.spec.js#L32-L36" >}}
4343
{{< /tab >}}
4444
{{< tab header="Kotlin" >}}
4545
{{< badge-code >}}
@@ -51,7 +51,6 @@ weight: 3
5151
用于启动远程驱动的首要唯一参数包括有关在何处执行代码的信息.
5252
请浏览 [远程驱动章节]({{< ref "remote_webdriver.md" >}})中的详细信息
5353

54-
5554
## 退出会话
5655

5756
退出会话对应于W3C的命令 [删除会话](https://w3c.github.io/webdriver/#delete-session).
@@ -64,10 +63,10 @@ weight: 3
6463
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}}
6564
{{< /tab >}}
6665
{{% tab header="Python" %}}
67-
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L13" >}}
66+
{{< gh-codeblock path="examples/python/tests/drivers/test_options.py#L11" >}}
6867
{{% /tab %}}
6968
{{< tab header="CSharp" >}}
70-
{{< gh-codeblock path="examples/dotnet/HelloSelenium.cs#L13" >}}
69+
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/GettingStarted/FirstScript.cs#L28" >}}
7170
{{< /tab >}}
7271
{{< tab header="Ruby" >}}
7372
{{< gh-codeblock path="examples/ruby/spec/drivers/options_spec.rb#L16" >}}

website_and_docs/content/documentation/webdriver/troubleshooting/_index.ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Troubleshooting Assistance"
2+
title: "トラブルシューティングの支援"
33
linkTitle: "Troubleshooting"
44
weight: 20
55
description: >
6-
How to solve WebDriver problems.
6+
WebDriverの問題を管理する方法。
77
---
88

99
It is not always obvious the root cause of errors in Selenium.

0 commit comments

Comments
 (0)