Skip to content

Revert "Adding new docs to new Selenium website (#1)" #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.idea
public/
.DS_Store
public/
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = ""
baseURL = "https://www.seleniumhq.org/"
languageCode = "en-us"
title = "SeleniumHQ Browser Automation"
theme = "selenium"
Expand Down
206 changes: 127 additions & 79 deletions ...t_matter/copyright_and_attributions.ja.md → content/documentation/attr.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,80 +1,129 @@
---
title: "Copyright and attributions"
weight: 1
---

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

## **The Documentation of Selenium**

Copyright {{< copyright >}}, Software Freedom Conservancy.

Every effort has been made to make this documentation
as complete and as accurate as possible,
but no warranty or fitness is implied.
The information provided is on an “as-is” basis.
The authors and the publisher shall have
neither liability nor responsibility to any person or entity
with respect to any loss or damages arising
from the information contained in this book.
No patent liability is assumed with respect
to the use of the information contained herein.


## Attributions

### Thanks to:

#### [Documentation](//github.com/SeleniumHQ/docs/)

{{% ghcontributors "https://api.github.com/repos/seleniumhq/docs/contributors?per_page=100" %}}

#### [Selenium Main Repo](//github.com/SeleniumHQ/selenium/)

{{% ghcontributors "https://api.github.com/repos/seleniumhq/selenium/contributors?per_page=100" %}}

#### [Docker Selenium](//github.com/SeleniumHQ/docker-selenium/)

{{% ghcontributors "https://api.github.com/repos/seleniumhq/docker-selenium/contributors?per_page=100" %}}


## Third-Party software used by Selenium documentation project:

| Software | Version | License |
| -------- | ------- | ------- |
| [Hugo](//gohugo.io/) | v0.55.6 | [Apache 2.0](//gohugo.io/about/license/) |
| [Hugo Learn Theme](//themes.gohugo.io/hugo-theme-learn/) | v2.3.0 | [MIT](//github.com/matcornic/hugo-theme-learn/blob/master/LICENSE.md) |
| [Code Tabs Style](//codepen.io/markcaron/pen/MvGRYV) | --- | [MIT](//blog.codepen.io/legal/licensing/) |


## HTML version and source code

An HTML version of this documentation is freely available from
[https://seleniumhq.github.io/docs](//seleniumhq.github.io/docs).

The source code for the examples included,
and for the book itself is available from the Selenium documentation repository
at [https://seleniumhq.github.io/docs](//seleniumhq.github.io/docs).
See instructions on how to check out the code via git at
[https://help.github.com/articles/fetching-a-remote/](//help.github.com/articles/fetching-a-remote/).


## License

All code and documentation originating from the Selenium project
is licensed under the Apache 2.0 license,
with the [Software Freedom Conservancy](//sfconservancy.org/)
as the copyright holder.

The license is included here for convenience,
but you can also find it on the
[Apache Foundation's websites](//apache.org/licenses/LICENSE-2.0.html):

```markdown
Apache License
<!DOCTYPE html><meta charset=utf-8>
<title>Copyright and attributions</title>

<link rel=stylesheet href="{{ .Site.BaseURL }}/css/documentation.css">
<link title="The Java Support Package" rel=prev href=support.html>
<link title="Typographical Conventions" rel=next href=typo.html>
<script src="{{ .Site.BaseURL }}/js/docs.js"></script>

<h1>Copyright and attributions</h1>

<p><strong>The Selenium Documentation</strong>

<p>Copyright © 2013-2016, Software Freedom Conservancy.

<p>Every effort has been made to make this documentation
as complete and as accurate as possible,
but no warranty or fitness is implied.
The information provided is on an “as-is” basis.
The authors and the publisher shall have
neither liability nor responsibility to any person or entity
with respect to any loss or damages arising
from the information contained in this book.
No patent liability is assumed with respect
to the use of the information contained herein.


<h2>Attributions</h2>

<p>Thanks to:

<div id=authors><ul>
<li><a href=mailto:[email protected]>Anand Jayaram</a>
<li><a href=mailto:[email protected]>Andreas Tolfsen</a>
<li><a href=mailto:[email protected]>Andreas Tolfsen</a>
<li><a href=mailto:[email protected]>Jon Austen</a>
<li><a href=mailto:[email protected]>bizob2828</a>
<li><a href=mailto:[email protected]>Bob Evans</a>
<li><a href=mailto:[email protected]>Andrey Botalov</a>
<li><a href=mailto:[email protected]>tungla</a>
<li><a href=mailto:[email protected]>Dan Chan</a>
<li><a href=mailto:[email protected]>Bryan Gordon</a>
<li><a href=mailto:[email protected]>sheg</a>
<li><a href=mailto:[email protected]>Daniel Davison</a>
<li><a href=mailto:[email protected]>Dj</a>
<li><a href=mailto:[email protected]>Dave Hunt</a>
<li><a href=mailto:[email protected]>Denny Biasiolli</a>
<li><a href=mailto:[email protected]>djangofan</a>
<li><a href=mailto:[email protected]>Jon Thor Austen</a>
<li><a href=mailto:[email protected]>Do Nhu Vy</a>
<li><a href=mailto:[email protected]>Jim Holmes</a>
<li><a href=mailto:[email protected]>agmen</a>
<li><a href=mailto:[email protected]>yang458567</a>
<li><a href=mailto:[email protected]>Brett Hardin</a>
<li><a href=mailto:[email protected]>Harry King</a>
<li><a href=mailto:[email protected]>Harry King</a>
<li><a href=mailto:[email protected]>Hazmeister</a>
<li><a href=mailto:[email protected]>hking-shutterfly</a>
<li><a href=mailto:[email protected]>hoanluu</a>
<li><a href=mailto:[email protected]>DirtyMoney</a>
<li><a href=mailto:[email protected]>Ivan De Marino</a>
<li><a href=mailto:[email protected]>Paul Barton</a>
<li><a href=mailto:[email protected]>Jim Evans</a>
<li><a href=mailto:[email protected]>Luke Inman-Semerau</a>
<li><a href=mailto:[email protected]>Manoj Kumar</a>
<li><a href=mailto:[email protected]>Mariano</a>
<li><a href=mailto:[email protected]>marilyn</a>
<li><a href=mailto:[email protected]>Mark Collin</a>
<li><a href=mailto:[email protected]>Martin Delille</a>
<li><a href=mailto:[email protected]>Milan Masek</a>
<li><a href=mailto:[email protected]>mmerrell</a>
<li><a href=mailto:[email protected]>Marcus Merrell</a>
<li><a href=mailto:[email protected]>NRezek</a>
<li><a href=mailto:[email protected]>Graham Abell</a>
<li><a href=mailto:[email protected]>Nicolas Kaiser</a>
<li><a href=mailto:[email protected]>Oscar Rieken</a>
<li><a href=mailto:[email protected]>Tamas Balog</a>
<li><a href=mailto:[email protected]>Mohammad Rakib Amin</a>
<li><a href=mailto:[email protected]>Rivlin</a>
<li><a href=mailto:[email protected]>Santiago Suarez Ordoñez</a>
<li><a href=mailto:[email protected]>Simon Stewart</a>
<li><a href=mailto:[email protected]>Tarun Kumar</a>
<li><a href=mailto:[email protected]>tarun</a>
<li><a href=mailto:[email protected]>User253489</a>
<li><a href=mailto:[email protected]>Wai Hon Law</a>
<li><a href=mailto:[email protected]>xrobotika</a>
<li><a href=mailto:[email protected]>Yariv Amar</a>
<li><a href=mailto:[email protected]>Zbigniew Z</a>
<li><a href=mailto:[email protected]>Zac Campbell</a>
<li><a href=mailto:[email protected]>Željko Filipin</a>
</ul>
</div>

<p>Third-Party software used by Selenium documentation project:
<table>
<tr><th>Software</th> <th>Version</th> <th>License</tr>
<tr>
<td><a href="https://github.com/isagalaev/highlight.js">Highlight.js</a></td>
<td>9.7.0</td>
<td><a href="https://github.com/isagalaev/highlight.js/blob/master/LICENSE">BSD License</a></tr>
</table>


<h2>HTML version and source code</h2>

<p>An HTML version of this documentation is freely available from
<a href="//seleniumhq.github.io/docs">https://seleniumhq.github.io/docs</a>.

<p>The source code for the examples included,
and for the book itself is available from the Selenium documentation repository
at <a href="//github.com/seleniumhq/docs">https://github.com/seleniumhq/docs</a>.
See instructions on how to check out the code via git at
<a href="//help.github.com/articles/fetching-a-remote/">https://help.github.com/articles/fetching-a-remote/</a>.


<h2>License</h2>

<p>All code and documentation originating from the Selenium project
is licensed under the Apache 2.0 license,
with the <a href="//sfconservancy.org/">Software Freedom Conservancy</a>
as the copyright holder.

<p>The license is included here for convenience,
but you can also find it on the
<a href="//apache.org/licenses/LICENSE-2.0.html">Apache Foundation's websites</a>:

<p><pre> Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Expand Down Expand Up @@ -274,5 +323,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
limitations under the License.</pre>
64 changes: 64 additions & 0 deletions content/documentation/drivers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!doctype html>
<meta charset=utf-8>
<title>Driver idiosyncrasies</title>
<link rel="icon" href="../../../docs/favicon.ico" type="image/vnd.microsoft.icon">
<link rel="shortcut icon" href="../../../docs/favicon.ico" type="image/vnd.microsoft.icon">
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/documentation.css">
<link rel=prev href=grid.html title=Grid>
<link rel=next href=support.html title="The Java Support Package">
<script src="{{ .Site.BaseURL }}/js/docs.js"></script>

<h1>Driver idiosyncrasies</h1>


<h2>Shared capabilities</h2>

<h3>pageLoadStrategy</h3>
<p>When navigating to a new page via URL, by default Selenium will wait
until the page has fully loaded before responding. This works well for
beginners, but can cause long wait times on pages that load a large
number of third party resources. Using a non default strategy can make
test execution faster in cases like this, but can also introduce flakiness
where elements on the page change position as elements load in and change
size.

<p>The page load strategy queries the
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState">
document.readyState</a> as described in the table below:
<table>
<tr><th>Strategy</th><th>Ready State</th><th>Notes</th></tr>
<tr><td>normal</td><td>complete</td><td>Used by default, waits for all
resources to download</td></tr>
<tr><td>eager</td><td>interactive</td><td>DOM access is ready, but other
resources like images may still be loading</td></tr>
<tr><td>none</td><td>Any</td><td>Does not block WebDriver at all</td></tr>
</table>


<h2>Driver specific capabilities</h2>

<h3>Firefox</h3>
<h4>Define Capabilities using FirefoxOptions</h4>
<p>FirefoxOptions is the new way to define capabilities for the Firefox browser and should generally be used in preference to DesiredCapabilities.</p>
<pre><code class=java>
FirefoxOptions options = new FirefoxOptions();
options.addPreference("network.proxy.type", 0);
driver = new RemoteWebDriver(options);
</code></pre>

<h4>Setting a custom profile</h4>
<p>It is possible to create a custom profile for Firefox as demonstrated below.</p>
<pre><code class=java>
FirefoxProfile profile = new FirefoxProfile();
FirefoxOptions options = new FirefoxOptions();
options.setProfile(profile);
driver = new RemoteWebDriver(options);
</code></pre>

<h3>Internet Explorer</h3>

<h4>fileUploadDialogTimeout</h4>

<p>In some environments, Internet Explorer may timeout when opening the
File Upload dialog. IEDriver has a default timeout of 1000ms, but you
can increase the timeout using the fileUploadDialogTimeout capability.
Loading