Skip to content

Commit e92fc16

Browse files
aguspeharsha509
andauthored
Add documentation to show the alternative use of an environment variable (#1950)[deploy site]
* Add documentation to show the alternative use of an environment variable * Update line length --------- Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com>
1 parent 97537ea commit e92fc16

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed

Diff for: website_and_docs/content/documentation/selenium_manager.en.md

+19
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,24 @@ In this case, the library to be installed is the following:
326326
sudo apt-get install libatk-bridge2.0-0
327327
```
328328

329+
### Using an environment variable for the driver path
330+
It's possible to use an environment variable to specify the driver path without using Selenium Manager.
331+
The following environment variables are supported:
332+
333+
* SE_CHROMEDRIVER
334+
* SE_EDGEDRIVER
335+
* SE_GECKODRIVER
336+
* SE_IEDRIVER
337+
* SE_SAFARIDRIVER
338+
339+
For example, to specify the path to the chromedriver,
340+
you can set the `SE_CHROMEDRIVER` environment variable to the path of the chromedriver executable.
341+
The following bindings allow you to specify the driver path using an environment variable:
342+
343+
* Ruby
344+
* Java
345+
346+
This feature is available in the Selenium Ruby binding starting from version 4.25.0.
347+
329348
## Roadmap
330349
You can trace the work in progress in the [Selenium Manager project dashboard](https://github.com/orgs/SeleniumHQ/projects/5). Moreover, you can check the new features shipped with each Selenium Manager release in its [changelog file](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md).

Diff for: website_and_docs/content/documentation/selenium_manager.ja.md

+19
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,24 @@ In this case, the library to be installed is the following:
326326
sudo apt-get install libatk-bridge2.0-0
327327
```
328328

329+
### Using an environment variable for the driver path
330+
It's possible to use an environment variable to specify the driver path without using Selenium Manager.
331+
The following environment variables are supported:
332+
333+
* SE_CHROMEDRIVER
334+
* SE_EDGEDRIVER
335+
* SE_GECKODRIVER
336+
* SE_IEDRIVER
337+
* SE_SAFARIDRIVER
338+
339+
For example, to specify the path to the chromedriver,
340+
you can set the `SE_CHROMEDRIVER` environment variable to the path of the chromedriver executable.
341+
The following bindings allow you to specify the driver path using an environment variable:
342+
343+
* Ruby
344+
* Java
345+
346+
This feature is available in the Selenium Ruby binding starting from version 4.25.0.
347+
329348
## Roadmap
330349
You can trace the work in progress in the [Selenium Manager project dashboard](https://github.com/orgs/SeleniumHQ/projects/5). Moreover, you can check the new features shipped with each Selenium Manager release in its [changelog file](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md).

Diff for: website_and_docs/content/documentation/selenium_manager.pt-br.md

+19
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,24 @@ In this case, the library to be installed is the following:
326326
sudo apt-get install libatk-bridge2.0-0
327327
```
328328

329+
### Using an environment variable for the driver path
330+
It's possible to use an environment variable to specify the driver path without using Selenium Manager.
331+
The following environment variables are supported:
332+
333+
* SE_CHROMEDRIVER
334+
* SE_EDGEDRIVER
335+
* SE_GECKODRIVER
336+
* SE_IEDRIVER
337+
* SE_SAFARIDRIVER
338+
339+
For example, to specify the path to the chromedriver,
340+
you can set the `SE_CHROMEDRIVER` environment variable to the path of the chromedriver executable.
341+
The following bindings allow you to specify the driver path using an environment variable:
342+
343+
* Ruby
344+
* Java
345+
346+
This feature is available in the Selenium Ruby binding starting from version 4.25.0.
347+
329348
## Roadmap
330349
You can trace the work in progress in the [Selenium Manager project dashboard](https://github.com/orgs/SeleniumHQ/projects/5). Moreover, you can check the new features shipped with each Selenium Manager release in its [changelog file](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md).

Diff for: website_and_docs/content/documentation/selenium_manager.zh-cn.md

+19
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,24 @@ In this case, the library to be installed is the following:
326326
sudo apt-get install libatk-bridge2.0-0
327327
```
328328

329+
### Using an environment variable for the driver path
330+
It's possible to use an environment variable to specify the driver path without using Selenium Manager.
331+
The following environment variables are supported:
332+
333+
* SE_CHROMEDRIVER
334+
* SE_EDGEDRIVER
335+
* SE_GECKODRIVER
336+
* SE_IEDRIVER
337+
* SE_SAFARIDRIVER
338+
339+
For example, to specify the path to the chromedriver,
340+
you can set the `SE_CHROMEDRIVER` environment variable to the path of the chromedriver executable.
341+
The following bindings allow you to specify the driver path using an environment variable:
342+
343+
* Ruby
344+
* Java
345+
346+
This feature is available in the Selenium Ruby binding starting from version 4.25.0.
347+
329348
## Roadmap
330349
You can trace the work in progress in the [Selenium Manager project dashboard](https://github.com/orgs/SeleniumHQ/projects/5). Moreover, you can check the new features shipped with each Selenium Manager release in its [changelog file](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md).

0 commit comments

Comments
 (0)