Skip to content

Commit 63ebaec

Browse files
kzhiratadiemol
andauthored
Add Japanese translation of Page loading strategy (#256) [deploy site]
- webdriver/page_loading_strategy.ja.md Co-authored-by: Diego Molina <[email protected]>
1 parent 0285379 commit 63ebaec

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

docs_source_files/content/webdriver/page_loading_strategy.ja.md

+11-22
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
---
2-
title: "Page loading strategy"
2+
title: "ページ読み込み戦略"
33
weight: 8
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
8-
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
9-
{{% /notice %}}
6+
現在のセッションのページ読み込み戦略を定義します。
7+
デフォルトでは、Selenium WebDriverがページを読み込む場合、 pageLoadStrategy は _normal_ となります。
8+
ページの読み込みに時間がかかる場合は、追加のリソース(画像、CSS、JSなど)のダウンロードを停止することを常にお勧めします。
109

11-
Defines the current session's page loading strategy.
12-
By default, when Selenium WebDriver loads a page,
13-
it follows the _normal_ pageLoadStrategy.
14-
It is always recommended to stop downloading additional
15-
resources (like images, css, js) when the page loading takes lot of time.
16-
17-
WebDriver _pageLoadStrategy_ supports the following values:
10+
WebDriverの _pageLoadStrategy_ は以下の値をサポートします。
1811

1912
## normal
2013

21-
This will make Selenium WebDriver to wait for the entire page is loaded.
22-
When set to **normal**, Selenium WebDriver waits until the
23-
[load](https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event) event fire is returned.
14+
この値は、Selenium WebDriverはページ全体がロードされるまで待機します。
15+
**normal** に設定すると、Selenium WebDriverは、[ロード](https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event)イベントの発生が返却されるまで待機します。
2416

25-
By default **normal** is set to browser if none is provided.
17+
何も指定されていない場合、デフォルトでは、 **normal** がブラウザに設定されます。
2618

2719
{{< code-tab >}}
2820
{{< code-panel language="java" >}}
@@ -98,12 +90,9 @@ fun main() {
9890

9991
## eager
10092

101-
This will make Selenium WebDriver to wait until the
102-
initial HTML document has been completely loaded and parsed,
103-
and discards loading of stylesheets, images and subframes.
93+
この値は、Selenium WebDriverは最初のHTMLドキュメントが完全に読み込まれて解析されるまで待機し、スタイルシート、画像、およびサブフレームの読み込みを破棄します。
10494

105-
When set to **eager**, Selenium WebDriver waits until
106-
[DOMContentLoaded](https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event) event fire is returned.
95+
**eager** に設定すると、Selenium WebDriverは [DOMContentLoaded](https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event) イベントの発生が返却されるまで待機します。
10796

10897
{{< code-tab >}}
10998
{{< code-panel language="java" >}}
@@ -179,7 +168,7 @@ fun main() {
179168

180169
## none
181170

182-
When set to **none** Selenium WebDriver only waits until the initial page is downloaded.
171+
**none** に設定すると、Selenium WebDriverは最初のページがダウンロードされるまで待機します。
183172

184173
{{< code-tab >}}
185174
{{< code-panel language="java" >}}

0 commit comments

Comments
 (0)