Skip to content

Commit 61b43a6

Browse files
authored
Fix broken link that stops initialization and add one ruby example (#1613)
* first script update * Remove selenium manager error * Add examples on translations * Reverse title * Move example to README.md and link to example --------- Co-authored-by: aguspe <[email protected]> [deploy site]
1 parent f554616 commit 61b43a6

File tree

10 files changed

+99
-23
lines changed

10 files changed

+99
-23
lines changed

examples/ruby/README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ bundler install
2626
bundle exec rspec
2727
```
2828

29-
> Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers
29+
> Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers
30+
31+
# Execute a ruby script
32+
33+
Use this command to run a ruby script and follow the first script example
34+
35+
```
36+
ruby example_script.rb
37+
```

website_and_docs/content/documentation/selenium_manager.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Selenium Manager follows the same versioning schema as Selenium. Nevertheless, w
169169
For most users, direct interaction with Selenium Manager is not required since the Selenium bindings use it internally. Nevertheless, if you want to *play* with Selenium Manager or use it for your use case involving driver or browser management, you can get the Selenium Manager binaries in different ways:
170170

171171
- From the Selenium repository. The Selenium Manager source code is stored in the main Selenium repo under the folder [rust](https://github.com/SeleniumHQ/selenium/tree/trunk/rust). Moreover, you can find the compiled versions for Windows, Linux, and macOS in the [Selenium Manager Artifacts](https://github.com/SeleniumHQ/selenium_manager_artifacts) repo. The stable Selenium Manager binaries (i.e., those distributed in the latest stable Selenium version) are linked in this [file](https://github.com/SeleniumHQ/selenium/blob/trunk/common/selenium_manager.bzl).
172-
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow]((https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml)). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
172+
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow](https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
173173
- From the cache. As of version 4.15.0 of the Selenium Java bindings, the Selenium Manager binary is extracted and copied to the cache folder. For instance, the Selenium Manager binary shipped with Selenium 4.15.0 is stored in the folder `~/.cache/selenium/manager/0.4.15`).
174174

175175
## Examples

website_and_docs/content/documentation/selenium_manager.ja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Selenium Manager follows the same versioning schema as Selenium. Nevertheless, w
169169
For most users, direct interaction with Selenium Manager is not required since the Selenium bindings use it internally. Nevertheless, if you want to *play* with Selenium Manager or use it for your use case involving driver or browser management, you can get the Selenium Manager binaries in different ways:
170170

171171
- From the Selenium repository. The Selenium Manager source code is stored in the main Selenium repo under the folder [rust](https://github.com/SeleniumHQ/selenium/tree/trunk/rust). Moreover, you can find the compiled versions for Windows, Linux, and macOS in the [Selenium Manager Artifacts](https://github.com/SeleniumHQ/selenium_manager_artifacts) repo. The stable Selenium Manager binaries (i.e., those distributed in the latest stable Selenium version) are linked in this [file](https://github.com/SeleniumHQ/selenium/blob/trunk/common/selenium_manager.bzl).
172-
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow]((https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml)). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
172+
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow](https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
173173
- From the cache. As of version 4.15.0 of the Selenium Java bindings, the Selenium Manager binary is extracted and copied to the cache folder. For instance, the Selenium Manager binary shipped with Selenium 4.15.0 is stored in the folder `~/.cache/selenium/manager/0.4.15`).
174174

175175
## Examples

website_and_docs/content/documentation/selenium_manager.pt-br.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Selenium Manager follows the same versioning schema as Selenium. Nevertheless, w
169169
For most users, direct interaction with Selenium Manager is not required since the Selenium bindings use it internally. Nevertheless, if you want to *play* with Selenium Manager or use it for your use case involving driver or browser management, you can get the Selenium Manager binaries in different ways:
170170

171171
- From the Selenium repository. The Selenium Manager source code is stored in the main Selenium repo under the folder [rust](https://github.com/SeleniumHQ/selenium/tree/trunk/rust). Moreover, you can find the compiled versions for Windows, Linux, and macOS in the [Selenium Manager Artifacts](https://github.com/SeleniumHQ/selenium_manager_artifacts) repo. The stable Selenium Manager binaries (i.e., those distributed in the latest stable Selenium version) are linked in this [file](https://github.com/SeleniumHQ/selenium/blob/trunk/common/selenium_manager.bzl).
172-
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow]((https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml)). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
172+
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow](https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
173173
- From the cache. As of version 4.15.0 of the Selenium Java bindings, the Selenium Manager binary is extracted and copied to the cache folder. For instance, the Selenium Manager binary shipped with Selenium 4.15.0 is stored in the folder `~/.cache/selenium/manager/0.4.15`).
174174

175175
## Examples

website_and_docs/content/documentation/selenium_manager.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Selenium Manager follows the same versioning schema as Selenium. Nevertheless, w
169169
For most users, direct interaction with Selenium Manager is not required since the Selenium bindings use it internally. Nevertheless, if you want to *play* with Selenium Manager or use it for your use case involving driver or browser management, you can get the Selenium Manager binaries in different ways:
170170

171171
- From the Selenium repository. The Selenium Manager source code is stored in the main Selenium repo under the folder [rust](https://github.com/SeleniumHQ/selenium/tree/trunk/rust). Moreover, you can find the compiled versions for Windows, Linux, and macOS in the [Selenium Manager Artifacts](https://github.com/SeleniumHQ/selenium_manager_artifacts) repo. The stable Selenium Manager binaries (i.e., those distributed in the latest stable Selenium version) are linked in this [file](https://github.com/SeleniumHQ/selenium/blob/trunk/common/selenium_manager.bzl).
172-
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow]((https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml)). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
172+
- From the build workflow. Selenium Manager is compiled using a [GitHub Actions workflow](https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml). This workflow creates binaries for Windows, Linux, and macOS. You can download these binaries from these workflow executions.
173173
- From the cache. As of version 4.15.0 of the Selenium Java bindings, the Selenium Manager binary is extracted and copied to the cache folder. For instance, the Selenium Manager binary shipped with Selenium 4.15.0 is stored in the folder `~/.cache/selenium/manager/0.4.15`).
174174

175175
## Examples

website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md

+20-3
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,26 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
228228

229229
## Running Selenium File
230230

231-
{{< alert-code >}}
232-
Add example for how to execute each of the above pages via command line
233-
{{< /alert-code >}}
231+
{{< tabpane text=true >}}
232+
{{< tab header="Java" >}}
233+
{{< badge-code >}}
234+
{{< /tab >}}
235+
{{< tab header="Python" >}}
236+
{{< badge-code >}}
237+
{{< /tab >}}
238+
{{< tab header="CSharp" >}}
239+
{{< badge-code >}}
240+
{{< /tab >}}
241+
{{< tab header="Ruby" >}}
242+
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
243+
{{< /tab >}}
244+
{{< tab header="JavaScript" >}}
245+
{{< badge-code >}}
246+
{{< /tab >}}
247+
{{< tab header="Kotlin" >}}
248+
{{< badge-code >}}
249+
{{< /tab >}}
250+
{{< /tabpane >}}
234251

235252

236253
## Next Steps

website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md

+20-3
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,26 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
231231

232232
## Running Selenium File
233233

234-
{{< alert-code >}}
235-
Add example for how to execute each of the above pages via command line
236-
{{< /alert-code >}}
234+
{{< tabpane text=true >}}
235+
{{< tab header="Java" >}}
236+
{{< badge-code >}}
237+
{{< /tab >}}
238+
{{< tab header="Python" >}}
239+
{{< badge-code >}}
240+
{{< /tab >}}
241+
{{< tab header="CSharp" >}}
242+
{{< badge-code >}}
243+
{{< /tab >}}
244+
{{< tab header="Ruby" >}}
245+
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
246+
{{< /tab >}}
247+
{{< tab header="JavaScript" >}}
248+
{{< badge-code >}}
249+
{{< /tab >}}
250+
{{< tab header="Kotlin" >}}
251+
{{< badge-code >}}
252+
{{< /tab >}}
253+
{{< /tabpane >}}
237254

238255

239256
## Next Steps

website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md

+20-3
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,26 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
230230

231231
## Running Selenium File
232232

233-
{{< alert-code >}}
234-
Add example for how to execute each of the above pages via command line
235-
{{< /alert-code >}}
233+
{{< tabpane text=true >}}
234+
{{< tab header="Java" >}}
235+
{{< badge-code >}}
236+
{{< /tab >}}
237+
{{< tab header="Python" >}}
238+
{{< badge-code >}}
239+
{{< /tab >}}
240+
{{< tab header="CSharp" >}}
241+
{{< badge-code >}}
242+
{{< /tab >}}
243+
{{< tab header="Ruby" >}}
244+
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
245+
{{< /tab >}}
246+
{{< tab header="JavaScript" >}}
247+
{{< badge-code >}}
248+
{{< /tab >}}
249+
{{< tab header="Kotlin" >}}
250+
{{< badge-code >}}
251+
{{< /tab >}}
252+
{{< /tabpane >}}
236253

237254

238255
## Próximos Passos

website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md

+20-3
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,26 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
243243

244244
## Running Selenium File
245245

246-
{{< alert-code >}}
247-
Add example for how to execute each of the above pages via command line
248-
{{< /alert-code >}}
246+
{{< tabpane text=true >}}
247+
{{< tab header="Java" >}}
248+
{{< badge-code >}}
249+
{{< /tab >}}
250+
{{< tab header="Python" >}}
251+
{{< badge-code >}}
252+
{{< /tab >}}
253+
{{< tab header="CSharp" >}}
254+
{{< badge-code >}}
255+
{{< /tab >}}
256+
{{< tab header="Ruby" >}}
257+
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
258+
{{< /tab >}}
259+
{{< tab header="JavaScript" >}}
260+
{{< badge-code >}}
261+
{{< /tab >}}
262+
{{< tab header="Kotlin" >}}
263+
{{< badge-code >}}
264+
{{< /tab >}}
265+
{{< /tabpane >}}
249266

250267

251268
## 接下来的步骤

website_and_docs/package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)