Skip to content

Commit c6afa9e

Browse files
authored
Revert "Adding new docs to new Selenium website (#1)" (#2)
This reverts commit fd24275
1 parent fd24275 commit c6afa9e

File tree

644 files changed

+4272
-53358
lines changed

Some content is hidden

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

644 files changed

+4272
-53358
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
.idea
2-
public/
3-
.DS_Store
2+
public/

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = ""
1+
baseURL = "https://www.seleniumhq.org/"
22
languageCode = "en-us"
33
title = "SeleniumHQ Browser Automation"
44
theme = "selenium"
Lines changed: 127 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,129 @@
1-
---
2-
title: "Copyright and attributions"
3-
weight: 1
4-
---
5-
6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
8-
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
9-
{{% /notice %}}
10-
11-
## **The Documentation of Selenium**
12-
13-
Copyright {{< copyright >}}, Software Freedom Conservancy.
14-
15-
Every effort has been made to make this documentation
16-
as complete and as accurate as possible,
17-
but no warranty or fitness is implied.
18-
The information provided is on an “as-is” basis.
19-
The authors and the publisher shall have
20-
neither liability nor responsibility to any person or entity
21-
with respect to any loss or damages arising
22-
from the information contained in this book.
23-
No patent liability is assumed with respect
24-
to the use of the information contained herein.
25-
26-
27-
## Attributions
28-
29-
### Thanks to:
30-
31-
#### [Documentation](//github.com/SeleniumHQ/docs/)
32-
33-
{{% ghcontributors "https://api.github.com/repos/seleniumhq/docs/contributors?per_page=100" %}}
34-
35-
#### [Selenium Main Repo](//github.com/SeleniumHQ/selenium/)
36-
37-
{{% ghcontributors "https://api.github.com/repos/seleniumhq/selenium/contributors?per_page=100" %}}
38-
39-
#### [Docker Selenium](//github.com/SeleniumHQ/docker-selenium/)
40-
41-
{{% ghcontributors "https://api.github.com/repos/seleniumhq/docker-selenium/contributors?per_page=100" %}}
42-
43-
44-
## Third-Party software used by Selenium documentation project:
45-
46-
| Software | Version | License |
47-
| -------- | ------- | ------- |
48-
| [Hugo](//gohugo.io/) | v0.55.6 | [Apache 2.0](//gohugo.io/about/license/) |
49-
| [Hugo Learn Theme](//themes.gohugo.io/hugo-theme-learn/) | v2.3.0 | [MIT](//github.com/matcornic/hugo-theme-learn/blob/master/LICENSE.md) |
50-
| [Code Tabs Style](//codepen.io/markcaron/pen/MvGRYV) | --- | [MIT](//blog.codepen.io/legal/licensing/) |
51-
52-
53-
## HTML version and source code
54-
55-
An HTML version of this documentation is freely available from
56-
[https://seleniumhq.github.io/docs](//seleniumhq.github.io/docs).
57-
58-
The source code for the examples included,
59-
and for the book itself is available from the Selenium documentation repository
60-
at [https://seleniumhq.github.io/docs](//seleniumhq.github.io/docs).
61-
See instructions on how to check out the code via git at
62-
[https://help.github.com/articles/fetching-a-remote/](//help.github.com/articles/fetching-a-remote/).
63-
64-
65-
## License
66-
67-
All code and documentation originating from the Selenium project
68-
is licensed under the Apache 2.0 license,
69-
with the [Software Freedom Conservancy](//sfconservancy.org/)
70-
as the copyright holder.
71-
72-
The license is included here for convenience,
73-
but you can also find it on the
74-
[Apache Foundation's websites](//apache.org/licenses/LICENSE-2.0.html):
75-
76-
```markdown
77-
Apache License
1+
<!DOCTYPE html><meta charset=utf-8>
2+
<title>Copyright and attributions</title>
3+
4+
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/documentation.css">
5+
<link title="The Java Support Package" rel=prev href=support.html>
6+
<link title="Typographical Conventions" rel=next href=typo.html>
7+
<script src="{{ .Site.BaseURL }}/js/docs.js"></script>
8+
9+
<h1>Copyright and attributions</h1>
10+
11+
<p><strong>The Selenium Documentation</strong>
12+
13+
<p>Copyright © 2013-2016, Software Freedom Conservancy.
14+
15+
<p>Every effort has been made to make this documentation
16+
as complete and as accurate as possible,
17+
but no warranty or fitness is implied.
18+
The information provided is on an “as-is” basis.
19+
The authors and the publisher shall have
20+
neither liability nor responsibility to any person or entity
21+
with respect to any loss or damages arising
22+
from the information contained in this book.
23+
No patent liability is assumed with respect
24+
to the use of the information contained herein.
25+
26+
27+
<h2>Attributions</h2>
28+
29+
<p>Thanks to:
30+
31+
<div id=authors><ul>
32+
<li><a href=mailto:anandj82@gmail.com>Anand Jayaram</a>
33+
<li><a href=mailto:ato@mozilla.com>Andreas Tolfsen</a>
34+
<li><a href=mailto:ato@sny.no>Andreas Tolfsen</a>
35+
<li><a href=mailto:austenjt@gmail.com>Jon Austen</a>
36+
<li><a href=mailto:bizob2828@yahoo.com>bizob2828</a>
37+
<li><a href=mailto:bizob2828@yahoo.com>Bob Evans</a>
38+
<li><a href=mailto:botalov.andrey@gmail.com>Andrey Botalov</a>
39+
<li><a href=mailto:boyband172000@gmail.com>tungla</a>
40+
<li><a href=mailto:brknthmb@gmail.com>Dan Chan</a>
41+
<li><a href=mailto:bryangordon@Bryans-MacBook-Pro.local>Bryan Gordon</a>
42+
<li><a href=mailto:danforkosh@yahoo.com>sheg</a>
43+
<li><a href=mailto:daniel.jj.davison@gmail.com>Daniel Davison</a>
44+
<li><a href=mailto:daniel.jj.davison@gmail.com>Dj</a>
45+
<li><a href=mailto:dave.hunt@gmail.com>Dave Hunt</a>
46+
<li><a href=mailto:dennybiasiolli@users.noreply.github.com>Denny Biasiolli</a>
47+
<li><a href=mailto:djangofan@gmail.com>djangofan</a>
48+
<li><a href=mailto:djangofan@gmail.com>Jon Thor Austen</a>
49+
<li><a href=mailto:donhuvy@hotmail.com>Do Nhu Vy</a>
50+
<li><a href=mailto:frazzleddad@gmail.com>Jim Holmes</a>
51+
<li><a href=mailto:gavin@agmen2.co.uk>agmen</a>
52+
<li><a href=mailto:geth1b@outlook.com>yang458567</a>
53+
<li><a href=mailto:hardin.brett@gmail.com>Brett Hardin</a>
54+
<li><a href=mailto:harry.king@jobsite.co.uk>Harry King</a>
55+
<li><a href=mailto:hazmeister@gmail.com>Harry King</a>
56+
<li><a href=mailto:hazmeister@gmail.com>Hazmeister</a>
57+
<li><a href=mailto:hking@shutterfly.com>hking-shutterfly</a>
58+
<li><a href=mailto:hoanluu@yahoo.com>hoanluu</a>
59+
<li><a href=mailto:incubusattax@gmail.com>DirtyMoney</a>
60+
<li><a href=mailto:ivan.de.marino@gmail.com>Ivan De Marino</a>
61+
<li><a href=mailto:iwebdevelop@gmail.com>Paul Barton</a>
62+
<li><a href=mailto:james.h.evans.jr@gmail.com>Jim Evans</a>
63+
<li><a href=mailto:luke.semerau@gmail.com>Luke Inman-Semerau</a>
64+
<li><a href=mailto:manoj9788@gmail.com>Manoj Kumar</a>
65+
<li><a href=mailto:mariano.perdomo@valtech.com>Mariano</a>
66+
<li><a href=mailto:marilyn@gtf.org>marilyn</a>
67+
<li><a href=mailto:mark.collin@lazeryattack.com>Mark Collin</a>
68+
<li><a href=mailto:martin@phonations.com>Martin Delille</a>
69+
<li><a href=mailto:milan.m.masek@gmail.com>Milan Masek</a>
70+
<li><a href=mailto:mmerrell@gmail.com>mmerrell</a>
71+
<li><a href=mailto:mmerrell@whalesharkmedia.com>Marcus Merrell</a>
72+
<li><a href=mailto:natrezek@gmail.com>NRezek</a>
73+
<li><a href=mailto:nicegraham@gmail.com>Graham Abell</a>
74+
<li><a href=mailto:nikai@nikai.net>Nicolas Kaiser</a>
75+
<li><a href=mailto:oriekenjr@gmail.com>Oscar Rieken</a>
76+
<li><a href=mailto:picimako@gmail.com>Tamas Balog</a>
77+
<li><a href=mailto:rakib-amin@users.noreply.github.com>Mohammad Rakib Amin</a>
78+
<li><a href=mailto:rivlin.pereira@gmail.com>Rivlin</a>
79+
<li><a href=mailto:santiycr@gmail.com>Santiago Suarez Ordoñez</a>
80+
<li><a href=mailto:shs96c@users.noreply.github.com>Simon Stewart</a>
81+
<li><a href=mailto:tarun.kumar.bhadauria@zalando.de>Tarun Kumar</a>
82+
<li><a href=mailto:tarun.kumar.bhadauria@zalando.de>tarun</a>
83+
<li><a href=mailto:user253489@gmail.com>User253489</a>
84+
<li><a href=mailto:whhone@gmail.com>Wai Hon Law</a>
85+
<li><a href=mailto:xrobotika@yahoo.com>xrobotika</a>
86+
<li><a href=mailto:yariv.amar@gmail.com>Yariv Amar</a>
87+
<li><a href=mailto:zabostz@gmail.com>Zbigniew Z</a>
88+
<li><a href=mailto:zcampbell@mozilla.com>Zac Campbell</a>
89+
<li><a href=mailto:zeljko.filipin@gmail.com>Željko Filipin</a>
90+
</ul>
91+
</div>
92+
93+
<p>Third-Party software used by Selenium documentation project:
94+
<table>
95+
<tr><th>Software</th> <th>Version</th> <th>License</tr>
96+
<tr>
97+
<td><a href="https://github.com/isagalaev/highlight.js">Highlight.js</a></td>
98+
<td>9.7.0</td>
99+
<td><a href="https://github.com/isagalaev/highlight.js/blob/master/LICENSE">BSD License</a></tr>
100+
</table>
101+
102+
103+
<h2>HTML version and source code</h2>
104+
105+
<p>An HTML version of this documentation is freely available from
106+
<a href="//seleniumhq.github.io/docs">https://seleniumhq.github.io/docs</a>.
107+
108+
<p>The source code for the examples included,
109+
and for the book itself is available from the Selenium documentation repository
110+
at <a href="//github.com/seleniumhq/docs">https://github.com/seleniumhq/docs</a>.
111+
See instructions on how to check out the code via git at
112+
<a href="//help.github.com/articles/fetching-a-remote/">https://help.github.com/articles/fetching-a-remote/</a>.
113+
114+
115+
<h2>License</h2>
116+
117+
<p>All code and documentation originating from the Selenium project
118+
is licensed under the Apache 2.0 license,
119+
with the <a href="//sfconservancy.org/">Software Freedom Conservancy</a>
120+
as the copyright holder.
121+
122+
<p>The license is included here for convenience,
123+
but you can also find it on the
124+
<a href="//apache.org/licenses/LICENSE-2.0.html">Apache Foundation's websites</a>:
125+
126+
<p><pre> Apache License
78127
Version 2.0, January 2004
79128
http://www.apache.org/licenses/
80129

@@ -274,5 +323,4 @@
274323
distributed under the License is distributed on an "AS IS" BASIS,
275324
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
276325
See the License for the specific language governing permissions and
277-
limitations under the License.
278-
```
326+
limitations under the License.</pre>

content/documentation/drivers.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!doctype html>
2+
<meta charset=utf-8>
3+
<title>Driver idiosyncrasies</title>
4+
<link rel="icon" href="../../../docs/favicon.ico" type="image/vnd.microsoft.icon">
5+
<link rel="shortcut icon" href="../../../docs/favicon.ico" type="image/vnd.microsoft.icon">
6+
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/documentation.css">
7+
<link rel=prev href=grid.html title=Grid>
8+
<link rel=next href=support.html title="The Java Support Package">
9+
<script src="{{ .Site.BaseURL }}/js/docs.js"></script>
10+
11+
<h1>Driver idiosyncrasies</h1>
12+
13+
14+
<h2>Shared capabilities</h2>
15+
16+
<h3>pageLoadStrategy</h3>
17+
<p>When navigating to a new page via URL, by default Selenium will wait
18+
until the page has fully loaded before responding. This works well for
19+
beginners, but can cause long wait times on pages that load a large
20+
number of third party resources. Using a non default strategy can make
21+
test execution faster in cases like this, but can also introduce flakiness
22+
where elements on the page change position as elements load in and change
23+
size.
24+
25+
<p>The page load strategy queries the
26+
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState">
27+
document.readyState</a> as described in the table below:
28+
<table>
29+
<tr><th>Strategy</th><th>Ready State</th><th>Notes</th></tr>
30+
<tr><td>normal</td><td>complete</td><td>Used by default, waits for all
31+
resources to download</td></tr>
32+
<tr><td>eager</td><td>interactive</td><td>DOM access is ready, but other
33+
resources like images may still be loading</td></tr>
34+
<tr><td>none</td><td>Any</td><td>Does not block WebDriver at all</td></tr>
35+
</table>
36+
37+
38+
<h2>Driver specific capabilities</h2>
39+
40+
<h3>Firefox</h3>
41+
<h4>Define Capabilities using FirefoxOptions</h4>
42+
<p>FirefoxOptions is the new way to define capabilities for the Firefox browser and should generally be used in preference to DesiredCapabilities.</p>
43+
<pre><code class=java>
44+
FirefoxOptions options = new FirefoxOptions();
45+
options.addPreference("network.proxy.type", 0);
46+
driver = new RemoteWebDriver(options);
47+
</code></pre>
48+
49+
<h4>Setting a custom profile</h4>
50+
<p>It is possible to create a custom profile for Firefox as demonstrated below.</p>
51+
<pre><code class=java>
52+
FirefoxProfile profile = new FirefoxProfile();
53+
FirefoxOptions options = new FirefoxOptions();
54+
options.setProfile(profile);
55+
driver = new RemoteWebDriver(options);
56+
</code></pre>
57+
58+
<h3>Internet Explorer</h3>
59+
60+
<h4>fileUploadDialogTimeout</h4>
61+
62+
<p>In some environments, Internet Explorer may timeout when opening the
63+
File Upload dialog. IEDriver has a default timeout of 1000ms, but you
64+
can increase the timeout using the fileUploadDialogTimeout capability.

0 commit comments

Comments
 (0)