Skip to content

Commit 997a48e

Browse files
authored
translate Grid documents into Japanese (#1112)
* translabe Grid documents into Japanese * bold component names * fix broken link * Fix styles and translations in ja Grid docs * fix more workds that need a bold * fix typo and style of component names * fix: component name style
1 parent 0f8ef8b commit 997a48e

File tree

11 files changed

+824
-889
lines changed

11 files changed

+824
-889
lines changed

website_and_docs/content/documentation/grid/_index.ja.md

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,24 @@ title: "Grid"
33
linkTitle: "Grid"
44
weight: 6
55
description: >
6-
複数のマシン間で並行してテストを実行したいですか? その場合、グリッドはあなたのためになります
7-
aliases:
8-
[
9-
"/documentation/ja/selenium_installation/installing_standalone_server/",
10-
"/documentation/ja/grid/",
11-
"/documentation/ja/grid/grid_4/",
12-
"/documentation/ja/grid/purposes_and_main_functionalities/"
13-
]
6+
複数のマシンで並行してテストを実行したいですか? Grid が手助けします
7+
aliases:
8+
[
9+
"/documentation/ja/selenium_installation/installing_standalone_server/",
10+
"/documentation/ja/grid/",
11+
"/documentation/ja/grid/grid_4/",
12+
"/documentation/ja/grid/purposes_and_main_functionalities/",
13+
]
1414
---
1515

16-
{{% pageinfo color="warning" %}}
17-
<p class="lead">
18-
<i class="fas fa-language display-4"></i>
19-
Page being translated from English to Japanese.
20-
Do you speak Japanese? Help us to translate
21-
it by sending us pull requests!
22-
</p>
23-
{{% /pageinfo %}}
16+
Selenium Grid を利用して、クライアントからリモートブラウザーインスタンスにコマンドを
17+
ルーティングし、リモートマシン上で WebDriver スクリプトを実行することができます。
2418

25-
Selenium Grid allows the execution of WebDriver scripts on remote machines
26-
by routing commands sent by the client to remote browser instances.
19+
Grid の目標は、
2720

28-
Grid aims to:
21+
- 複数のマシンでの並行したテスト実行を、簡単な方法で提供する
22+
- 異なるバージョンのブラウザでのテストを可能にする
23+
- クロスプラットフォームテストを可能にする
2924

30-
* Provide an easy way to run tests in parallel on multiple machines
31-
* Allow testing on different browser versions
32-
* Enable cross platform testing
33-
34-
Interested? Go through the following sections to understand
35-
how Grid works, and how to set up your own.
25+
興味がありますか?
26+
Grid の仕組みと設定方法が知りたければ以下のセクションを読んでください。
Lines changed: 88 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,186 +1,197 @@
11
---
2-
title: "Grid Endpoints"
3-
linkTitle: "Grid Endpoints"
2+
title: "Grid エンドポイント"
3+
linkTitle: "Grid エンドポイント"
44
weight: 3
55
aliases: [
66
"/documentation/ja/grid/grid_4/grid_endpoints/",
77
"/ja/documentation/grid/advanced_features/grid_endpoints/"
88
]
99
---
1010

11-
{{% pageinfo color="warning" %}}
12-
<p class="lead">
13-
<i class="fas fa-language display-4"></i>
14-
Page being translated from
15-
English to Japanese. Do you speak Japanese? Help us to translate
16-
it by sending us pull requests!
17-
</p>
18-
{{% /pageinfo %}}
11+
## Grid
1912

20-
## Grid
13+
### Grid ステータス
2114

22-
### Grid Status
23-
24-
Grid status provides the current state of the Grid. It consists of details about every registered Node.
25-
For every Node, the status includes information regarding Node availability, sessions, and slots.
15+
Grid ステータスは Grid の現在の状態を提供します。 登録されている全てのノードの詳細で構成されます。
16+
各ノードのステータスには、ノードの稼働状況、セッション、およびスロットに関する情報が含まれます。
2617

2718
```shell
2819
cURL GET 'http://localhost:4444/status'
2920
```
3021

31-
In the Standalone mode, the Grid URL is the Standalone server address.
22+
スタンドアロンモードでは、Grid URL は スタンドアロンサーバーのアドレスになります。
23+
24+
ハブ&ノードモードでは、Grid URL は ハブのアドレスになります。
3225

33-
In the Hub-Node mode, the Grid URL is the Hub server address.
26+
完全分散モードでは、Grid URL は ルーターのアドレスになります。
3427

35-
In the fully distributed mode, the Grid URL is the Router server address.
28+
上記すべてのモードのデフォルトの URL http://localhost:4444 です。
3629

37-
Default URL for all the above modes is http://localhost:4444.
30+
## ディストリビューター
3831

39-
## Distributor
32+
### ノード削除
4033

41-
### Remove Node
34+
ノードを Grid から削除するには、以下の cURL コマンドを使用します。
35+
このコマンドは、そのノード上で実行中のセッションを停止させるものではありません。
36+
ノードは明示的に強制終了されない限り、そのまま動作し続けます。
37+
ディストリビューターはそのノードを認識しなくなるため、マッチする新しいセッションのリクエストは はその Node に転送されません。
4238

43-
To remove the Node from the Grid, use the cURL command enlisted below.
44-
It does not stop any ongoing session running on that Node.
45-
The Node continues running as it is unless explicitly killed.
46-
The Distributor is no longer aware of the Node and hence any matching new session request
47-
will not be forwarded to that Node.
39+
スタンドアロンモードでは、ディストリビューターの URL はスタンドアロンサーバーのアドレスとなります。
4840

49-
In the Standalone mode, the Distributor URL is the Standalone server address.
41+
ハブ&ノードモードでは、ディストリビューターの URL は ハブのアドレスになります。
5042

51-
In the Hub-Node mode, the Distributor URL is the Hub server address.
5243
```shell
5344
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret> '
5445
```
55-
In the fully distributed mode, the URL is the Distributor server address.
46+
47+
完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。
48+
5649
```shell
5750
cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
5851
```
59-
If no registration secret has been configured while setting up the Grid, then use
52+
53+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
54+
6055
```shell
6156
cURL --request DELETE 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
6257
```
6358

64-
### Drain Node
59+
### ノードのドレイン
6560

66-
Node drain command is for graceful node shutdown.
67-
Draining a Node stops the Node after all the ongoing sessions are complete.
68-
However, it does not accept any new session requests.
61+
ノードドレインコマンドはノードをグレースフルシャットダウンするために利用します。
62+
ドレインは実行中のセッションがすべて完了した後にノードを停止します。
63+
新規のセッションは受け付けません。
6964

70-
In the Standalone mode, the Distributor URL is the Standalone server address.
65+
スタンドアロンモードでは、ディストリビューターの URL はスタンドアロンサーバーのアドレスとなります。
66+
67+
ハブ&ノードモードでは、ディストリビューターの URL は ハブのアドレスになります。
7168

72-
In the Hub-Node mode, the Distributor URL is the Hub server address.
7369
```shell
7470
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret> '
7571
```
76-
In the fully distributed mode, the URL is the Distributor server address.
72+
73+
完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。
74+
7775
```shell
7876
cURL --request POST 'http://localhost:5553/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
7977
```
80-
If no registration secret has been configured while setting up the Grid, then use
78+
79+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
80+
8181
```shell
8282
cURL --request POST 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
8383
```
8484

85-
## Node
85+
## ノード
8686

87-
The endpoints in this section are applicable for Hub-Node mode and fully distributed Grid mode where the
88-
Node runs independently.
89-
The default Node URL is http://localhost:5555 in case of one Node.
90-
In case of multiple Nodes, use [Grid status](#grid-status) to get all Node details and locate the Node address.
87+
この節でのエンドポイントは、ハブ&ノードモードとノードが独立して動作する完全分散型 Grid モードに適用されます。
88+
ノードが 1 つの場合、デフォルトのノード URL は http://localhost:5555 です。
89+
複数のノードがある場合は、[Grid ステータス](#grid-ステータス) を使ってすべてのノードの詳細とノードアドレスを取得してください。
9190

92-
### Status
91+
### ステータス
9392

94-
The Node status is essentially a health-check for the Node.
95-
Distributor pings the node status are regular intervals and updates the Grid Model accordingly.
96-
The status includes information regarding availability, sessions, and slots.
93+
ノードステータスは基本的にノードのヘルスチェックのためのものです。
94+
ディストリビューターは定期的にノードの状態を ping で取得し、それに応じて Grid モデルを更新します。
95+
ステータスには稼働状況、セッション、およびスロットに関する情報が含まれます。
9796

9897
```shell
9998
cURL --request GET 'http://localhost:5555/status'
10099
```
101100

102-
### Drain
101+
### ドレイン
103102

104-
Distributor passes the [drain](#drain-node) command to the appropriate node identified by the node-id.
105-
To drain the Node directly, use the cuRL command enlisted below.
106-
Both endpoints are valid and produce the same result. Drain finishes the ongoing sessions before stopping the Node.
103+
ディストリビューターは [ドレイン](#ノードのドレイン)コマンドを適切なノードに渡します。
104+
ノードを直接ドレインするには以下の cURL コマンドを使います。
105+
どちらのエンドポイントも有効であり、同じ結果になります。
106+
ドレインは、ノードを停止する前に進行中のセッションを終了させます。
107107

108108
```shell
109109
cURL --request POST 'http://localhost:5555/se/grid/node/drain' --header 'X-REGISTRATION-SECRET: <secret>'
110110
```
111-
If no registration secret has been configured while setting up the Grid, then use
111+
112+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
113+
112114
```shell
113115
cURL --request POST 'http://<node-URL>/se/grid/node/drain' --header 'X-REGISTRATION-SECRET;'
114116
```
115117

116-
### Check session owner
118+
### セッションオーナーのチェック
117119

118-
To check if a session belongs to a Node, use the cURL command enlisted below.
120+
あるセッションがノードに属しているかどうかをチェックするには、以下の cURL コマンドを使います。
119121

120122
```shell
121123
cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET: <secret>'
122124
```
123-
If no registration secret has been configured while setting up the Grid, then use
125+
126+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
127+
124128
```shell
125129
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
126130
```
127131

128-
It will return true if the session belongs to the Node else it will return false.
132+
もしセッションがノードに属していたら true を返し、そうでなければ false が返ります。
129133

130-
### Delete session
134+
### セッションの削除
131135

132-
Deleting the session terminates the WebDriver session, quits the driver and removes it from the active sessions map.
133-
Any request using the removed session-id or reusing the driver instance will throw an error.
136+
セッションを削除すると、WebDriver セッションが終了し、ドライバがアクティブなセッションマップから削除されます。
137+
削除されたセッション ID を使用するリクエストや、ドライバのインスタンスを再利用しようとすると、エラーとなります。
134138

135139
```shell
136140
cURL --request DELETE 'http://localhost:5555/se/grid/node/session/<session-id>' --header 'X-REGISTRATION-SECRET: <secret>'
137141
```
138-
If no registration secret has been configured while setting up the Grid, then use
142+
143+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
144+
139145
```shell
140146
cURL --request DELETE 'http://<node-URL>/se/grid/node/session/<session-id>' --header 'X-REGISTRATION-SECRET;'
141147
```
142148

143-
## New Session Queue
149+
## 新規セッションキュー
144150

145-
### Clear New Session Queue
151+
### 新規セッションキューのクリア
146152

147-
New Session Request Queue holds the new session requests.
148-
To clear the queue, use the cURL command enlisted below.
149-
Clearing the queue rejects all the requests in the queue. For each such request, the server returns an error response to the respective client.
150-
The result of the clear command is the total number of deleted requests.
153+
新規セッションキューには、新規セッションリクエストが格納されます。
154+
キューをクリアするには、以下に挙げる cURL コマンドを使用します。
155+
キューを消去すると、キューにあるすべてのリクエストを拒否します。
156+
サーバーは各リクエストのそれぞれのクライアントにエラーレスポンスを返します。
157+
クリアコマンドの結果は、削除されたリクエストの数です。
151158

152-
In the Standalone mode, the Queue URL is the Standalone server address.
159+
スタンドアロンモードでは、キューの URL はスタンドアロンサーバーのアドレスとなります。
153160

154-
In the Hub-Node mode, the Queue URL is the Hub server address.
161+
ハブ&ノードモードでは、キューの URL は ハブのアドレスになります。
155162

156163
```shell
157164
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
158165
```
159166

160-
In the fully distributed mode, the Queue URL is New Session Queue server address.
167+
完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。
168+
161169
```shell
162170
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
163171
```
164172

165-
If no registration secret has been configured while setting up the Grid, then use
173+
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
174+
166175
```shell
167176
cURL --request DELETE 'http://<URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
168177
```
169178

170-
### Get New Session Queue Requests
179+
### 新規セッションリクエストの取得
171180

172-
New Session Request Queue holds the new session requests.
173-
To get the current requests in the queue, use the cURL command enlisted below.
174-
The response returns the total number of requests in the queue and the request payloads.
181+
新規セッションキューには、新規セッションリクエストが格納されます。
182+
キューにある現在のリクエストを取得するには、以下に挙げる cURL コマンドを使用します。
183+
レスポンスはキュー内のリクエストの数とリクエストのペイロードを返します。
175184

176-
In the Standalone mode, the Queue URL is the Standalone server address.
185+
スタンドアロンモードでは、キューの URL はスタンドアロンサーバーのアドレスとなります。
177186

178-
In the Hub-Node mode, the Queue URL is the Hub server address.
187+
ハブ&ノードモードでは、キューの URL は ハブのアドレスになります。
179188

180189
```shell
181190
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
182191
```
183192

184-
In the fully distributed mode, the Queue URL is New Session Queue server address.
193+
完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。
194+
185195
```shell
186196
cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue'
197+
```

0 commit comments

Comments
 (0)