Skip to content

Commit e720e4b

Browse files
authored
Add Japanese translation of "Driver Idiosyncrasies" (#227) [deploy site]
- driver_idiosyncrasies/_index.ja.md - driver_idiosyncrasies/driver_specific_capabilities.ja.md - driver_idiosyncrasies/shared_capabilities.ja.md
1 parent 3c14181 commit e720e4b

File tree

3 files changed

+18
-40
lines changed

3 files changed

+18
-40
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
---
2-
title: "Driver idiosyncrasies"
2+
title: "ドライバーの特異性"
33
chapter: true
44
weight: 10
55
---
66

7-
{{% notice info %}}
8-
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
9-
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
10-
{{% /notice %}}
117

12-
# Driver idiosyncrasies
8+
# ドライバーの特異性

docs_source_files/content/driver_idiosyncrasies/driver_specific_capabilities.ja.md

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
---
2-
title: "Driver specific capabilities"
2+
title: "ドライバー固有の機能"
33
weight: 2
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
8-
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
9-
{{% /notice %}}
10-
116
## Firefox
127

13-
### Define Capabilities using `FirefoxOptions`
8+
### `FirefoxOptions` を使用してCapabilitiesを定義する
149

15-
`FirefoxOptions` is the new way to define capabilities for the Firefox
16-
browser and should generally be used in preference to DesiredCapabilities.
10+
`FirefoxOptions` は、Firefoxブラウザの機能を定義する新しい方法であり、通常はDesiredCapabilitiesよりも優先して使用する必要があります。
1711

1812
{{< code-tab >}}
1913
{{< code-panel language="java" >}}
@@ -56,9 +50,9 @@ driver = RemoteWebDriver(options)
5650
{{< / code-tab >}}
5751

5852

59-
### Setting a custom profile
53+
### カスタムプロファイルを設定する
6054

61-
It is possible to create a custom profile for Firefox as demonstrated below.
55+
以下に示すように、Firefoxのカスタムプロファイルを作成することができます。
6256

6357
{{< code-tab >}}
6458
{{< code-panel language="java" >}}
@@ -110,9 +104,7 @@ driver = RemoteWebDriver(options)
110104

111105
### fileUploadDialogTimeout
112106

113-
In some environments, Internet Explorer may timeout when opening the
114-
File Upload dialog. IEDriver has a default timeout of 1000ms, but you
115-
can increase the timeout using the fileUploadDialogTimeout capability.
107+
環境によっては、ファイルアップロードダイアログを開くときにInternet Explorerがタイムアウトする場合があります。 IEDriverのデフォルトのタイムアウトは1000ミリ秒ですが、fileUploadDialogTimeout capabilityを使用してタイムアウトを増やすことができます。
116108

117109
{{< code-tab >}}
118110
{{< code-panel language="java" >}}
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
---
2-
title: "Shared capabilities"
2+
title: "共有機能"
33
weight: 1
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
8-
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
9-
{{% /notice %}}
106

11-
### pageLoadStrategy
12-
When navigating to a new page via URL, by default Selenium will wait
13-
until the page has fully loaded before responding. This works well for
14-
beginners, but can cause long wait times on pages that load a large
15-
number of third party resources. Using a non default strategy can make
16-
test execution faster in cases like this, but can also introduce flakiness
17-
where elements on the page change position as elements load in and change
18-
size.
7+
### ページロード戦略
8+
URLを介して新しいページに移動する場合、デフォルトでは、Seleniumは応答する前にページが完全にロードされるまで待機します。
9+
これは初心者には効果的ですが、多数のサードパーティリソースをロードするページで長い待ち時間を引き起こす可能性があります。
10+
デフォルト以外の戦略を使用すると、このような場合にテストの実行を高速化できますが、ページの要素がロードされてサイズが変更されると、ページ上の要素の位置が変化する不安定さを引き起こします。
1911

20-
The page load strategy queries the
21-
[document.readyState](//developer.mozilla.org/en-US/docs/Web/API/Document/readyState)
22-
as described in the table below:
12+
次の表で説明するように、ページロード戦略は [document.readyState](//developer.mozilla.org/en-US/docs/Web/API/Document/readyState) を問い合わせます。
2313

24-
| Strategy | Ready State | Notes |
14+
| 戦略 | Ready State | 注釈 |
2515
| -------- | ----------- | ----- |
26-
| normal | complete | Used by default, waits for all resources to download |
27-
| eager | interactive | DOM access is ready, but other resources like images may still be loading |
28-
| none | Any | Does not block WebDriver at all |
16+
| normal | complete | デフォルトで使用され、すべてのリソースがダウンロードされるまで待機します |
17+
| eager | interactive | DOMアクセスの準備はできていますが、画像などの他のリソースがまだ読み込まれている可能性があります |
18+
| none | Any | WebDriverをまったくブロックしません |

0 commit comments

Comments
 (0)