Skip to content

Commit 678775e

Browse files
authored
Japanese Translation of "Firefox specific functionality" (SeleniumHQ#1255) [deploy site]
* Japanese Translation of Firefox specific functionality * fix
1 parent 6f06d52 commit 678775e

File tree

1 file changed

+33
-30
lines changed
  • website_and_docs/content/documentation/webdriver/browsers

1 file changed

+33
-30
lines changed

website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
---
2-
title: "Firefox specific functionality"
2+
title: "Firefox 固有のCapability"
33
linkTitle: "Firefox"
44
weight: 6
55
description: >-
6-
These are capabilities and features specific to Mozilla Firefox browsers.
6+
Mozilla Firefox ブラウザーに固有のCapabilityです。
77
aliases: [
88
"/ja/documentation/capabilities/firefox"
99
]
1010
---
1111

12-
Selenium 4 requires Firefox 78 or greater. It is recommended to always use the latest version of geckodriver.
12+
Selenium 4 には Firefox 78 以降が必要です。
13+
常に最新バージョンの geckodriver を使用することをお勧めします。
1314

14-
## Options
15+
## オプション
1516

16-
Capabilities common to all browsers are described on the [Options page]({{< ref "../drivers/options.md" >}}).
17+
全ブラウザに共通のCapabilityについては、[オプションページ]({{< ref "../drivers/options.md" >}})で説明しています。
1718

18-
Capabilities unique to Firefox can be found at Mozilla's page for [firefoxOptions](https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions)
19+
Firefox に固有のCapabilityは、Mozilla のページの [firefoxOptions](https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions) にあります。
1920

20-
Starting a Firefox session with basic defined options looks like this:
21+
基本的な定義済みのオプションを使用して Firefox セッションを開始すると、以下のようになります。
2122

2223
{{< tabpane code=false langEqualsHeader=true >}}
2324
{{< tab header="Java" >}}
@@ -40,14 +41,14 @@ Starting a Firefox session with basic defined options looks like this:
4041
{{< /tab >}}
4142
{{< /tabpane >}}
4243

43-
Here are a few common use cases with different capabilities:
44+
さまざまなCapabilityを備えた一般的な使用例をいくつか示します。
4445

45-
### Arguments
46+
### 引数
4647

47-
The `args` parameter is for a list of Command line switches used when starting the browser.
48-
Commonly used args include `-headless` and `"-profile", "/path/to/profile"`
48+
`args` パラメータは、ブラウザの起動時に使用するコマンドラインスイッチのリストです。
49+
一般的に使用される引数には、 `-headless` `"-profile"``"/path/to/profile"` が含まれます。
4950

50-
Add an argument to options:
51+
オプションに引数を追加します。
5152

5253
<div>
5354
{{< tabpane langEqualsHeader=true >}}
@@ -59,18 +60,19 @@ options.add_argument("/path/to/profile")
5960
{{< /tabpane >}}
6061
</div>
6162

62-
### Start browser in a specified location
63+
### 指定したロケーションでブラウザを起動する
6364

64-
The `binary` parameter takes the path of an alternate location of browser to use. For example, with this parameter you can
65-
use geckodriver to drive Firefox Nightly instead of the production version when both are present on your computer.
65+
`binary` パラメーターは、使用するブラウザーの別のロケーションのパスを取ります。
66+
たとえば、このパラメーターを使用すると、geckodriver を使用して、製品版とFirefox Nightlyの両方がコンピューターに存在する場合、
67+
製品版の代わりに Firefox Nightly を駆動できます 。
6668

67-
Add a browser location to options:
69+
オプションにブラウザーのロケーションを追加します。
6870

6971
{{< alert-code />}}
7072

71-
### Profiles
73+
### プロファイル
7274

73-
There are several ways to work with Firefox profiles
75+
Firefoxプロファイルを操作するにはいくつかの方法があります。
7476

7577
<div>
7678
{{< tabpane langEqualsHeader=true >}}
@@ -120,13 +122,13 @@ driver = RemoteWebDriver(options)
120122
{{< /tabpane >}}
121123
</div>
122124

123-
## Add-ons
125+
## アドオン
124126

125-
Unlike Chrome, Firefox extensions are not added as part of capabilities, they are created after starting the driver.
127+
Chromeとは異なり、Firefoxの拡張機能はCapabilityの一部として追加されるのではなく、ドライバーの起動後に作成されます。
126128

127-
### Installation
129+
### インストール
128130

129-
A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla.org/en-US/firefox/)
131+
[Mozilla Add-Onsページ](https://addons.mozilla.org/ja/firefox/) から取得する署名付きxpiファイル
130132

131133
{{< tabpane code=false langEqualsHeader=true >}}
132134
{{< tab header="Java" >}}
@@ -149,9 +151,10 @@ A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla
149151
{{< /tab >}}
150152
{{< /tabpane >}}
151153

152-
### Uninstallation
154+
### アンインストール
153155

154-
Uninstalling an addon requires knowing its id. The id can be obtained from the return value when installing the add-on.
156+
アドオンをアンインストールするには、そのIDを知る必要があります。
157+
IDはアドオンインストール時の戻り値から取得できます。
155158

156159
{{< tabpane code=false langEqualsHeader=true >}}
157160
{{< tab header="Java" >}}
@@ -175,11 +178,11 @@ Uninstalling an addon requires knowing its id. The id can be obtained from the r
175178
{{< /tab >}}
176179
{{< /tabpane >}}
177180

178-
### Unsigned installation
181+
### 署名なしのインストール
179182

180-
When working with an unfinished or unpublished extension, it will likely not be signed. As such, it can only
181-
be installed as "temporary." This can be done by passing in either a zip file or a directory, here's an
182-
example with a directory:
183+
未完成または未公開の拡張機能を使用する場合、署名されていない可能性があります。
184+
そのため、"一時的なもの" としてのみインストールできます。
185+
これは、zipファイルまたはディレクトリを渡すことで実行できます。ディレクトリの例を次に示します。
183186

184187
{{< tabpane code=false langEqualsHeader=true >}}
185188
{{< tab header="Java" >}}
@@ -204,10 +207,10 @@ example with a directory:
204207
{{< /tab >}}
205208
{{< /tabpane >}}
206209

207-
## Full page screenshots
210+
## ページ全体のスクリーンショット
208211

209212
{{< alert-code />}}
210213

211-
## Context
214+
## コンテキスト
212215

213216
{{< alert-code />}}

0 commit comments

Comments
 (0)