Skip to content

Commit

Permalink
remove badge-version in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 24, 2023
1 parent 27e5af1 commit 94e3880
Show file tree
Hide file tree
Showing 64 changed files with 6 additions and 365 deletions.
7 changes: 0 additions & 7 deletions website_and_docs/assets/scss/_badges.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@

.selenium-badge-version {
background:green;
color:white;
padding:.2rem;
font-weight:750;
}

.selenium-badge-browser {
background:blue;
color:white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ locally. More detailed examples and usages can be found in the
[Configuring Components]({{< ref "/configuration" >}}) section.
{{% /pageinfo %}}

## Using the Java 11 HTTP Client {{% badge-version version="4.5" %}}
## Using the Java 11 HTTP Client

By default, Grid will use [AsyncHttpClient](https://github.com/AsyncHttpClient/async-http-client).
AsyncHttpClient is an open-source library built on top of Netty. It allows the execution of HTTP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ API 呼び出しは[http://localhost:4444/status](http://localhost:4444/status)
より詳細な例と使用方法は[コンポーネント]({{< ref "components.md" >}})の章を参照してください。
{{% /pageinfo %}}

## Java 11 の HTTP クライアントを利用する {{% badge-version version="4.5" %}}
## Java 11 の HTTP クライアントを利用する

デフォルトでは Grid は[AsyncHttpClient](https://github.com/AsyncHttpClient/async-http-client)を使用します。
AsyncHttpClient は Netty を使ったオープンソースのライブラリで、非同期での HTTP リクエストを実現します。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Para simplificar, todos os exemplos apresentados assumem que os componentes est
Exemplos mais detalhados podem ser encontrados na secção [Configurando Componentes]({{< ref "/configuration" >}}).
{{% /pageinfo %}}

## Usando o cliente HTTP nativo Java 11 {{% badge-version version="4.5" %}}
## Usando o cliente HTTP nativo Java 11

Por omissão, a Grid irá usar [AsyncHttpClient](https://github.com/AsyncHttpClient/async-http-client).
AsyncHttpClient é uma biblioteca open-source library criada em cima do Netty. Isto permite a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ driver.quit();
为简单起见,本页中显示的所有命令示例均假定组件正在运行在本地。更详细的示例和用法可以在[配置组件]({{< ref "/configuration" >}}) 部分。
{{% /pageinfo %}}

## 使用 Java 11 中的 HTTP Client {{% badge-version version="4.5" %}}
## 使用 Java 11 中的 HTTP Client

默认情况下,Grid 将使用 [AsyncHttpClient](https://github.com/AsyncHttpClient/async-http-client)。 AsyncHttpClient 是一个建立在 Netty 之上的开源库。 它允许异步执行 HTTP 请求和响应。 此外,它还提供 WebSocket 支持。 因此它很合适。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ to wait a beat between actions for things to work correctly.
{{< gh-codeblock path="examples/python/tests/actions_api/test_actions.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/ActionsTest.cs#L18-L25" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/actions_spec.rb#L12-L19" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ to wait a beat between actions for things to work correctly.
{{< gh-codeblock path="examples/python/tests/actions_api/test_actions.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/ActionsTest.cs#L18-L25" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/actions_spec.rb#L12-L19" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ Movimentos de ponteiro e rolagem da roda permitem que o usuário defina uma dura
{{< gh-codeblock path="examples/python/tests/actions_api/test_actions.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/ActionsTest.cs#L18-L25" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/actions_spec.rb#L12-L19" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ Selenium允许您构建分配给特定输入的独立操作命令,
{{< gh-codeblock path="examples/python/tests/actions_api/test_actions.py#L13-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/ActionsTest.cs#L18-L25" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/actions_spec.rb#L12-L19" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ primarily this gets used when needing to type multiple characters in the middle
{{< gh-codeblock path="examples/ruby/spec/actions_api/keys_spec.rb#L51-L54" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="examples/javascript/test/actionsApi/keysTest.spec.js#L61-L65" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ primarily this gets used when needing to type multiple characters in the middle
{{< gh-codeblock path="examples/ruby/spec/actions_api/keys_spec.rb#L51-L54" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="examples/javascript/test/actionsApi/keysTest.spec.js#L61-L65" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ primarily this gets used when needing to type multiple characters in the middle
{{< gh-codeblock path="examples/ruby/spec/actions_api/keys_spec.rb#L51-L54" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="examples/javascript/test/actionsApi/keysTest.spec.js#L61-L65" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4.
{{< gh-codeblock path="examples/ruby/spec/actions_api/keys_spec.rb#L51-L54" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="examples/javascript/test/actionsApi/keysTest.spec.js#L61-L65" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L49-L52" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L59-L63" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L47-L50" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L21-L22" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand All @@ -140,19 +136,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L63-L66" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L77-L81" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L61-L64" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L34-L35" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L49-L52" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L59-L63" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L47-L50" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L21-L22" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand All @@ -140,19 +136,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L63-L66" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L77-L81" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L61-L64" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L34-L35" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,15 @@ Este termo pode se referir a um clique com o botão X1 (botão de voltar) do mou
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L49-L52" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L59-L63" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L47-L50" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L21-L22" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand All @@ -137,19 +133,15 @@ Este termo se refere a um clique com o botão X2 (botão de avançar) do mouse.
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L63-L66" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L77-L81" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L61-L64" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L34-L35" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L49-L52" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L59-L63" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L47-L50" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L21-L22" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand All @@ -140,19 +136,15 @@ There is no convenience method for this, it is just pressing and releasing mouse
{{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/python/tests/actions_api/test_mouse.py#L63-L66" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/dotnet/SeleniumDocs/ActionsAPI/MouseTest.cs#L77-L81" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="/examples/ruby/spec/actions_api/mouse_spec.rb#L61-L64" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-version version="4.5.0" >}}
{{< gh-codeblock path="/examples/javascript/test/actionsApi/mouse/backAndForwardClick.spec.js#L34-L35" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ has 5 buttons, a pen has 3 equivalent button states:

{{< tabpane text=true >}}
{{< tab header="Java" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/python/tests/actions_api/test_pen.py#L12-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/PenTest.cs#L19-L28" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/pen_spec.rb#L11-L17" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand All @@ -44,8 +41,6 @@ has 5 buttons, a pen has 3 equivalent button states:

## Adding Pointer Event Attributes

{{< badge-version version="4.2" >}}

{{< tabpane text=true >}}
{{< tab header="Java" >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L67-L81" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ has 5 buttons, a pen has 3 equivalent button states:

{{< tabpane text=true >}}
{{< tab header="Java" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/python/tests/actions_api/test_pen.py#L12-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/PenTest.cs#L19-L28" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/pen_spec.rb#L11-L17" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand All @@ -44,7 +41,6 @@ has 5 buttons, a pen has 3 equivalent button states:

## Adding Pointer Event Attributes

{{< badge-version version="4.2" >}}

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,15 @@ Uma caneta é um tipo de entrada de ponteiro que possui a maior parte do mesmo c

{{< tabpane text=true >}}
{{< tab header="Java" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/python/tests/actions_api/test_pen.py#L12-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/PenTest.cs#L19-L28" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/pen_spec.rb#L11-L17" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand All @@ -42,7 +39,6 @@ Uma caneta é um tipo de entrada de ponteiro que possui a maior parte do mesmo c

## Adicionando Atributos de Evento de Ponteiro

{{< badge-version version="4.2" >}}

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ has 5 buttons, a pen has 3 equivalent button states:

{{< tabpane text=true >}}
{{< tab header="Java" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}}
{{< /tab >}}
{{< tab header="Python" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/python/tests/actions_api/test_pen.py#L12-L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/ActionsAPI/PenTest.cs#L19-L28" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.2" >}}
{{< gh-codeblock path="examples/ruby/spec/actions_api/pen_spec.rb#L11-L17" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
Expand All @@ -44,7 +41,6 @@ has 5 buttons, a pen has 3 equivalent button states:

## Adding Pointer Event Attributes

{{< badge-version version="4.2" >}}

{{< tabpane text=true >}}
{{< tab header="Java" >}}
Expand Down
Loading

0 comments on commit 94e3880

Please sign in to comment.