Skip to content

Commit 8a5c916

Browse files
committed
Japanese translations for WebDriver topics (#2029)[deploy site]
Co-authored-by: Sri Harsha <[email protected]> cd25039
1 parent 6764409 commit 8a5c916

File tree

182 files changed

+1683
-1996
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+1683
-1996
lines changed

documentation/_print/index.html

Lines changed: 57 additions & 57 deletions
Large diffs are not rendered by default.

documentation/about/_print/index.html

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

documentation/about/copyright/index.html

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

documentation/grid/_print/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

documentation/grid/configuration/_print/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

documentation/grid/configuration/cli_options/index.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

documentation/webdriver/_print/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
in <code>Supported Python Versions</code> on <a href=https://pypi.org/project/selenium/>PyPi</a></p><p>There are a couple different ways to install Selenium.</p><h3 id=pip>Pip</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>pip install selenium
5757
</span></span></code></pre></div><br><h3 id=download>Download</h3><p>Alternatively you can download the <a href=https://pypi.org/project/selenium/#files>PyPI source archive</a>
5858
(selenium-x.x.x.tar.gz) and install it using <em>setup.py</em>:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>python setup.py install
59-
</span></span></code></pre></div><br><h3 id=require-in-project>Require in project</h3><p>To use it in a project, add it to the <code>requirements.txt</code> file:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-txt data-lang=txt><span style=display:flex><span>selenium==4.25.0</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/python/requirements.txt#L1 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
59+
</span></span></code></pre></div><br><h3 id=require-in-project>Require in project</h3><p>To use it in a project, add it to the <code>requirements.txt</code> file:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-txt data-lang=txt><span style=display:flex><span>selenium==4.26.0</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/python/requirements.txt#L1 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
6060
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-00-02 role=tabpanel aria-labelled-by=tabs-00-02-tab tabindex=0><p>A list of all supported frameworks for each version of Selenium
6161
is available on <a href=https://www.nuget.org/packages/Selenium.WebDriver>Nuget</a></p><p>There are a few options for installing Selenium.</p><h3 id=packet-manager>Packet Manager</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>Install-Package Selenium.WebDriver
6262
</span></span></code></pre></div><br><h3 id=net-cli>.NET CLI</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>dotnet add package Selenium.WebDriver
@@ -79,7 +79,7 @@
7979
Press Enter and select the version.
8080
Now you can use the examples in the documentation related to C# with vscode.</p></div><div class="tab-body tab-pane fade" id=tabs-00-03 role=tabpanel aria-labelled-by=tabs-00-03-tab tabindex=0><p>You can see the minimum required version of Ruby for any given Selenium version
8181
on <a href=https://rubygems.org/gems/selenium-webdriver/>rubygems.org</a></p><p>Selenium can be installed two different ways.</p><h3 id=install-manually>Install manually</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>gem install selenium-webdriver
82-
</span></span></code></pre></div><br><h3 id=add-to-projects-gemfile>Add to project&rsquo;s gemfile</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Gemfile data-lang=Gemfile><span style=display:flex><span><span style=color:#000>gem</span> <span style=color:#4e9a06>&#39;selenium-devtools&#39;</span><span style=color:#000;font-weight:700>,</span> <span style=color:#4e9a06>&#39;= 0.129.0&#39;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/ruby/Gemfile#L10 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
82+
</span></span></code></pre></div><br><h3 id=add-to-projects-gemfile>Add to project&rsquo;s gemfile</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Gemfile data-lang=Gemfile><span style=display:flex><span><span style=color:#000>gem</span> <span style=color:#4e9a06>&#39;selenium-devtools&#39;</span><span style=color:#000;font-weight:700>,</span> <span style=color:#4e9a06>&#39;= 0.130.0&#39;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/ruby/Gemfile#L10 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
8383
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-00-04 role=tabpanel aria-labelled-by=tabs-00-04-tab tabindex=0><p>You can find the minimum required version of Node for any given version of Selenium in the
8484
<code>Node Support Policy</code> section on <a href=https://www.npmjs.com/package/selenium-webdriver>npmjs</a></p><p>Selenium is typically installed using npm.</p><h3 id=install-locally>Install locally</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>npm install selenium-webdriver
8585
</span></span></code></pre></div><br><h3 id=add-to-project>Add to project</h3><p>In your project&rsquo;s <code>package.json</code>, add requirement to <code>dependencies</code>:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-json data-lang=json><span style=display:flex><span> <span style=color:#4e9a06>&#34;mocha&#34;</span><span style=color:#a40000>:</span> <span style=color:#4e9a06>&#34;10.7.3&#34;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/javascript/package.json#L14 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
@@ -7413,7 +7413,7 @@
74137413
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-py data-lang=py><span style=display:flex><span> <span style=color:#204a87;font-weight:700>async</span> <span style=color:#204a87;font-weight:700>with</span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>bidi_connection</span><span style=color:#000;font-weight:700>()</span> <span style=color:#204a87;font-weight:700>as</span> <span style=color:#000>connection</span><span style=color:#000;font-weight:700>:</span>
74147414
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>enable</span><span style=color:#000;font-weight:700>())</span>
74157415
</span></span><span style=display:flex><span> <span style=color:#000>metric_list</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>get_metrics</span><span style=color:#000;font-weight:700>())</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/python/tests/bidi/cdp/test_network.py#L26-L28 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
7416-
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V129</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
7416+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V13</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
74177417
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>var</span> <span style=color:#000>metricsResponse</span> <span style=color:#000;font-weight:700>=</span>
74187418
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>session</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>SendCommand</span><span style=color:#000;font-weight:700>&lt;</span><span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>,</span> <span style=color:#000>GetMetricsCommandResponse</span><span style=color:#000;font-weight:700>&gt;(</span>
74197419
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>()</span>

documentation/webdriver/bidi/_print/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-py data-lang=py><span style=display:flex><span> <span style=color:#204a87;font-weight:700>async</span> <span style=color:#204a87;font-weight:700>with</span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>bidi_connection</span><span style=color:#000;font-weight:700>()</span> <span style=color:#204a87;font-weight:700>as</span> <span style=color:#000>connection</span><span style=color:#000;font-weight:700>:</span>
296296
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>enable</span><span style=color:#000;font-weight:700>())</span>
297297
</span></span><span style=display:flex><span> <span style=color:#000>metric_list</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>session</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>execute</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>connection</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>devtools</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>performance</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>get_metrics</span><span style=color:#000;font-weight:700>())</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk//examples/python/tests/bidi/cdp/test_network.py#L26-L28 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
298-
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V129</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
298+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-05-02 role=tabpanel aria-labelled-by=tabs-05-02-tab tabindex=5><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-cs data-lang=cs><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>domains</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Enable</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>OpenQA</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Selenium</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>DevTools</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>V13</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>Performance</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>EnableCommandSettings</span><span style=color:#000;font-weight:700>());</span>
299299
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>var</span> <span style=color:#000>metricsResponse</span> <span style=color:#000;font-weight:700>=</span>
300300
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>session</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>SendCommand</span><span style=color:#000;font-weight:700>&lt;</span><span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>,</span> <span style=color:#000>GetMetricsCommandResponse</span><span style=color:#000;font-weight:700>&gt;(</span>
301301
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>new</span> <span style=color:#000>GetMetricsCommandSettings</span><span style=color:#000;font-weight:700>()</span>

0 commit comments

Comments
 (0)