Skip to content

Commit c343a99

Browse files
authored
Merge branch 'dev' into installing_lib
2 parents 6ea5231 + de8f199 commit c343a99

File tree

431 files changed

+654
-97316
lines changed

Some content is hidden

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

431 files changed

+654
-97316
lines changed

.github/workflows/deploy.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout repo
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
1416
- name: Setup Hugo
1517
uses: peaceiris/actions-hugo@v2
1618
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repo [settings](https://github.com/SeleniumHQ/seleniumhq.github.io/settings) (if
5454
you should be able to access the link).
5555

5656
The selenium.dev domain is managed at https://www.gandi.net/en, if you need access to it, reach out to
57-
any of the [PLC](https://www.selenium.dev/structure/#plc) or [TLC](https://www.selenium.dev/structure/#tlc)
57+
any of the [PLC](https://www.selenium.dev/project/structure/#plc) or [TLC](https://www.selenium.dev/project/structure/#tlc)
5858
members, who can help you with that.
5959

6060
If for any reason, you need to setup the domain redirection again,

website_and_docs/config.toml

+9-26
Original file line numberDiff line numberDiff line change
@@ -58,46 +58,26 @@ title = "Selenium"
5858
description = "Selenium automates browsers. That's it!"
5959
languageName ="English"
6060
weight = 1
61-
[languages.es]
62-
title = "Selenium"
63-
description = "Selenium automates browsers. That's it!"
64-
languageName ="Español"
65-
weight = 2
66-
[languages.de]
67-
title = "Selenium"
68-
description = "Selenium automates browsers. That's it!"
69-
languageName ="Deutsch"
70-
weight = 3
7161
[languages.pt-br]
7262
title = "Selenium"
7363
description = "Selenium automates browsers. That's it!"
7464
languageName ="Português (Brasileiro)"
75-
weight = 4
76-
[languages.nl]
77-
title = "Selenium"
78-
description = "Selenium automates browsers. That's it!"
79-
languageName ="Nederlands"
80-
weight = 5
65+
weight = 2
8166
[languages.zh-cn]
8267
title = "Selenium"
8368
description = "Selenium automates browsers. That's it!"
8469
languageName = "中文简体"
85-
weight = 6
86-
[languages.fr]
87-
title = "Selenium"
88-
description = "Selenium automates browsers. That's it!"
89-
languageName = "Français"
90-
weight = 7
70+
weight = 3
9171
[languages.ja]
9272
title = "Selenium"
9373
description = "Selenium automates browsers. That's it!"
9474
languageName = "日本語"
95-
weight = 8
96-
[languages.ko]
75+
weight = 4
76+
[languages.other]
9777
title = "Selenium"
9878
description = "Selenium automates browsers. That's it!"
99-
languageName = "한국어"
100-
weight = 9
79+
languageName ="Other"
80+
weight = 5
10181

10282

10383

@@ -162,6 +142,9 @@ offlineSearchMaxResults = 30
162142
# Enable Algolia DocSearch
163143
algolia_docsearch = true
164144

145+
# Enable Plausible.io
146+
plausible_analytics = true
147+
165148
# Enable syntax highlighting and copy buttons on code blocks with Prism
166149
prism_syntax_highlighting = true
167150

website_and_docs/content/_index.es.html

-39
This file was deleted.

website_and_docs/content/_index.fr.html

-39
This file was deleted.

website_and_docs/content/_index.ko.html

-39
This file was deleted.

website_and_docs/content/_index.nl.html

-39
This file was deleted.

website_and_docs/content/_index.de.html renamed to website_and_docs/content/_index.other.html

+20-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,26 @@
1414
</div>
1515
{{< /blocks/cover >}}
1616

17-
{{< language-alert locale="de" language="German" >}}
17+
<div class="row td-box--200 justify-content-center">
18+
<div class="alert alert-orange bg-transparent col-6 pl-lg-5 my-4 alert-dismissible fade show" role="alert">
19+
<h2 class="alert-heading pb-3 text-center">Welcome!</h2>
20+
<div class="w-100">
21+
<p>
22+
<strong>Note:</strong> only
23+
<a href="/documentation/">documentation</a> gets translated into other languages. The rest
24+
of the website will remain in English.
25+
</p>
26+
<p class="font-italic">
27+
Is there another translation you'd like to see? We're only supporting translations for which we have
28+
a dedicated translator. If you'd like to volunteer to be a translator, read how
29+
<a href="https://www.selenium.dev/getinvolved/#translating_site">you can help</a>.
30+
</p>
31+
</div>
32+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
33+
<span aria-hidden="true">&times;</span>
34+
</button>
35+
</div>
36+
</div>
1837

1938
{{< getting-started color="100" height="auto" title="Getting Started" >}}
2039

website_and_docs/content/about/_index.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
linkTitle: About
44
aliases:
55
[
6-
"/es/about/",
7-
"/de/about/",
86
"/pt-br/about/",
9-
"/nl/about/",
107
"/zh-cn/about/",
11-
"/fr/about/",
128
"/ja/about/",
13-
"/ko/about/",
9+
"/other/about/",
1410
]
1511
---
1612

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: "A Tour of 4: New Commands"
3+
linkTitle: "A Tour of 4: New Commands"
4+
date: 2021-10-13
5+
tags: ["selenium", "webdriver"]
6+
author: Simon Stewart ([@shs96c](https://twitter.com/shs96c))
7+
description: >
8+
There's more to Selenium 4 than just the server
9+
---
10+
11+
Before we ship Selenium 4, I thought it would be nice to introduce
12+
some of the new features in-depth. Of course, all of the features
13+
we're covering are in the main [WebDriver documentation][docs], so if
14+
you're not one for reading blog posts, then feel free to dive in
15+
there!
16+
17+
You may well be familiar with how to start a Selenium server: you just
18+
do something like `java -jar selenium-server-4.0.0.jar standalone` and
19+
away you go! But with Selenium 4, there are some more things you can
20+
do with this jar.
21+
22+
Least obviously, the server jar is an exectuable on its own. If you're
23+
using Linux or macOS, and have Java installed, you can make the jar
24+
executable (eg. `chmod 755 selenium-server-4.0.0.jar`), rename it to
25+
something like `selenium` and put it on your `$PATH`. That way, rather
26+
than writing `java -jar ...` you can simply run `selenium`.
27+
28+
Now you've done that, if you run `selenium` with `selenium --help`
29+
you'll get a handy list of the available sub-commands you can
30+
execute. There are the old favourites, such as `standalone` (for
31+
starting a standalone selenium server), and `hub` and `node` (for
32+
starting a Selenium [Hub and Node][hub and node] setup), but there are
33+
other interesting commands that are new to Selenium 4.
34+
35+
The first of these is `info`. We've added this to provide easy to find
36+
and access documentation on common tasks when using the selenium
37+
server. If you run `selenium info` on its own, you'll see something
38+
like this:
39+
40+
```shell
41+
Info
42+
====
43+
44+
You can find out more about topics concerning Selenium Grid by running the
45+
"info" command followed by:
46+
47+
* config - Help on how to configure Selenium
48+
* tracing - Help on how distributed tracing works with selenium
49+
* security - Help on how how to secure communications to and within selenium
50+
* sessionmap - Help on different types of sessionmap and how to start them.
51+
52+
53+
Each topic will give you enough information to help you get started, and contains
54+
some pointers on our site to provide more complete information.
55+
```
56+
57+
To get more information on a particular topic, just add the name of
58+
the topic, for example `selenium info security`. The hope is that this
59+
will make it less daunting to deal with Selenium, and give you a great
60+
place to get started with some of the more complicated topics around
61+
running a Selenium Grid.
62+
63+
Although it's incredibly flexible, the `selenium` command offers a
64+
daunting list of command line flags. How are you supposed to remember
65+
them all? You're not! Instead, let `selenium completion` take the
66+
strain for you. If you're a zsh user, then just `source <(selenium
67+
completion zsh)`, and now you have tab completion for the
68+
sub-commands, as well as for all the flags, including examples of how
69+
to use them.
70+
71+
And, finally, there are some hidden flags. We hid them because they
72+
can be a little bit confusing to use or understand what they're meant
73+
to do, but one that can be very useful when debugging how your Grid is
74+
configured is the `--dump-config` flag. When run with a server command
75+
such as `standalone` or `hub`, it will dump the configuration options
76+
used by the Grid as a JSON blob. This can be helpful for tracking down
77+
subtle issues with configurations, especially when using environment
78+
properties for configuration.
79+
80+
81+
[docs]: /documentation/webdriver/
82+
[hub and node]: /documentation/grid/setting_up_your_own_grid/#hub-and-nodes

0 commit comments

Comments
 (0)