Skip to content

Commit 4c360f5

Browse files
committed
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 <[email protected]> e92fc16
1 parent f9a9aba commit 4c360f5

File tree

146 files changed

+326
-386
lines changed

Some content is hidden

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

146 files changed

+326
-386
lines changed

documentation/_print/index.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9376,7 +9376,10 @@
93769376
</code></pre><p>If that happens, the solution is to install that library, for instance, as follows:</p><pre tabindex=0><code>sudo apt-get install libdbus-glib-1-2
93779377
</code></pre><p>A similar issue might happen when trying to execute Chrome for Testing in Linux:</p><pre tabindex=0><code>error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
93789378
</code></pre><p>In this case, the library to be installed is the following:</p><pre tabindex=0><code>sudo apt-get install libatk-bridge2.0-0
9379-
</code></pre><h2 id=roadmap>Roadmap</h2><p>You can trace the work in progress in the <a href=https://github.com/orgs/SeleniumHQ/projects/5>Selenium Manager project dashboard</a>. Moreover, you can check the new features shipped with each Selenium Manager release in its <a href=https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md>changelog file</a>.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-ec09461f1eb03a47c6c0fe3b5ae8645d>4 - Grid</h1><div class=lead>Want to run tests in parallel across multiple machines? Then, Grid is for you.</div><p>Selenium Grid allows the execution of WebDriver scripts on remote machines
9379+
</code></pre><h3 id=using-an-environment-variable-for-the-driver-path>Using an environment variable for the driver path</h3><p>It&rsquo;s possible to use an environment variable to specify the driver path without using Selenium Manager.
9380+
The following environment variables are supported:</p><ul><li>SE_CHROMEDRIVER</li><li>SE_EDGEDRIVER</li><li>SE_GECKODRIVER</li><li>SE_IEDRIVER</li><li>SE_SAFARIDRIVER</li></ul><p>For example, to specify the path to the chromedriver,
9381+
you can set the <code>SE_CHROMEDRIVER</code> environment variable to the path of the chromedriver executable.
9382+
The following bindings allow you to specify the driver path using an environment variable:</p><ul><li>Ruby</li><li>Java</li></ul><p>This feature is available in the Selenium Ruby binding starting from version 4.25.0.</p><h2 id=roadmap>Roadmap</h2><p>You can trace the work in progress in the <a href=https://github.com/orgs/SeleniumHQ/projects/5>Selenium Manager project dashboard</a>. Moreover, you can check the new features shipped with each Selenium Manager release in its <a href=https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md>changelog file</a>.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-ec09461f1eb03a47c6c0fe3b5ae8645d>4 - Grid</h1><div class=lead>Want to run tests in parallel across multiple machines? Then, Grid is for you.</div><p>Selenium Grid allows the execution of WebDriver scripts on remote machines
93809383
by routing commands sent by the client to remote browser instances.</p><p>Grid aims to:</p><ul><li>Provide an easy way to run tests in parallel on multiple machines</li><li>Allow testing on different browser versions</li><li>Enable cross platform testing</li></ul><p>Interested? Go through the following sections to understand
93819384
how Grid works, and how to set up your own.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-b65420f0b17cd83a52cb3a727d5dd688>4.1 - Getting started with Selenium Grid</h1><div class=lead>Instructions for a simple Selenium Grid</div><h2 id=quick-start>Quick start</h2><ol><li>Prerequisites<ul><li>Java 11 or higher installed</li><li>Browser(s) installed</li><li>Browser driver(s)<ul><li><a href=https://www.selenium.dev/documentation/selenium_manager/>Selenium Manager</a> will configure the drivers automatically if you add <code>--selenium-manager true</code>.</li><li><a href=https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location/#use-the-path-environment-variable>Installed and on the <code>PATH</code></a></li></ul></li><li>Download the Selenium Server jar file from the <a href=https://github.com/SeleniumHQ/selenium/releases/latest>latest release</a></li></ul></li><li>Start the Grid<ul><li><code>java -jar selenium-server-&lt;version>.jar standalone</code></li></ul></li><li>Point* your WebDriver tests to <a href=http://localhost:4444>http://localhost:4444</a></li><li>(Optional) Check running tests and available capabilities by opening your browser at <a href=http://localhost:4444>http://localhost:4444</a></li></ol><p>*Wondering how to point your tests to <a href=http://localhost:4444>http://localhost:4444</a>?
93829385
Check the <a href=https://www.selenium.dev/documentation/webdriver/drivers/#remote-webdriver><code>RemoteWebDriver</code> section</a>.</p><p>To learn more about the different configuration options, go through the sections below.</p><h2 id=grid-roles>Grid roles</h2><p>Grid is composed by six different <a href=https://www.selenium.dev/documentation/grid/components/>components</a>, which gives
@@ -14005,7 +14008,7 @@
1400514008
<label><a href=https://github.com/jarib>@jarib</a></label>
1400614009
<span class=contributions>1299 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1400714010
<label><a href=https://github.com/diemol>@diemol</a></label>
14008-
<span class=contributions>1245 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/128518?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14011+
<span class=contributions>1256 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/128518?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1400914012
<label><a href=https://github.com/AutomatedTester>@AutomatedTester</a></label>
1401014013
<span class=contributions>1223 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/96150?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1401114014
<label><a href=https://github.com/dfabulich>@dfabulich</a></label>
@@ -14057,7 +14060,7 @@
1405714060
<label><a href=https://github.com/juangj>@juangj</a></label>
1405814061
<span class=contributions>108 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1405914062
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
14060-
<span class=contributions>101 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1000?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14063+
<span class=contributions>104 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1000?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1406114064
<label><a href=https://github.com/aslakhellesoy>@aslakhellesoy</a></label>
1406214065
<span class=contributions>94 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3902563?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1406314066
<label><a href=https://github.com/alex-savchuk>@alex-savchuk</a></label>
@@ -14285,7 +14288,7 @@
1428514288
<label><a href=https://github.com/diemol>@diemol</a></label>
1428614289
<span class=contributions>538 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23253546?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1428714290
<label><a href=https://github.com/VietND96>@VietND96</a></label>
14288-
<span class=contributions>248 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14291+
<span class=contributions>252 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1428914292
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
1429014293
<span class=contributions>159 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/2972876?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1429114294
<label><a href=https://github.com/ddavison>@ddavison</a></label>
@@ -14483,7 +14486,7 @@
1448314486
<label><a href=https://github.com/qxo>@qxo</a></label>
1448414487
<span class=contributions>1 commits</span></div></div><h4 id=selenium-website--docsgithubcomseleniumhqseleniumhqgithubio><a href=//github.com/SeleniumHQ/seleniumhq.github.io/>Selenium Website & Docs</a></h4><style type=text/css>.ghContributors{display:flex;flex-flow:wrap;align-content:flex-start}.ghContributors>div{width:50%;display:inline-flex;margin-bottom:5px}.ghContributors>div label{padding-left:4px}.ghContributors>div span{font-size:x-small;padding-left:4px}</style><div class=ghContributors><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12621691?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1448514488
<label><a href=https://github.com/harsha509>@harsha509</a></label>
14486-
<span class=contributions>754 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14489+
<span class=contributions>755 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1448714490
<label><a href=https://github.com/diemol>@diemol</a></label>
1448814491
<span class=contributions>753 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1448914492
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
@@ -14507,10 +14510,10 @@
1450714510
<label><a href=https://github.com/pallavigitwork>@pallavigitwork</a></label>
1450814511
<span class=contributions>29 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13719696?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1450914512
<label><a href=https://github.com/alenros>@alenros</a></label>
14510-
<span class=contributions>28 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6996743?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14511-
<label><a href=https://github.com/AlexAndradeNet>@AlexAndradeNet</a></label>
14512-
<span class=contributions>25 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/33221555?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14513+
<span class=contributions>28 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/33221555?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1451314514
<label><a href=https://github.com/aguspe>@aguspe</a></label>
14515+
<span class=contributions>26 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6996743?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14516+
<label><a href=https://github.com/AlexAndradeNet>@AlexAndradeNet</a></label>
1451414517
<span class=contributions>25 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/29110?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1451514518
<label><a href=https://github.com/apps/dependabot>@dependabot[bot]</a></label>
1451614519
<span class=contributions>22 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1823178?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>

documentation/about/_print/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<label><a href=https://github.com/jarib>@jarib</a></label>
5353
<span class=contributions>1299 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
5454
<label><a href=https://github.com/diemol>@diemol</a></label>
55-
<span class=contributions>1245 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/128518?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
55+
<span class=contributions>1256 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/128518?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
5656
<label><a href=https://github.com/AutomatedTester>@AutomatedTester</a></label>
5757
<span class=contributions>1223 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/96150?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
5858
<label><a href=https://github.com/dfabulich>@dfabulich</a></label>
@@ -104,7 +104,7 @@
104104
<label><a href=https://github.com/juangj>@juangj</a></label>
105105
<span class=contributions>108 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
106106
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
107-
<span class=contributions>101 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1000?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
107+
<span class=contributions>104 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1000?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
108108
<label><a href=https://github.com/aslakhellesoy>@aslakhellesoy</a></label>
109109
<span class=contributions>94 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3902563?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
110110
<label><a href=https://github.com/alex-savchuk>@alex-savchuk</a></label>
@@ -332,7 +332,7 @@
332332
<label><a href=https://github.com/diemol>@diemol</a></label>
333333
<span class=contributions>538 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23253546?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
334334
<label><a href=https://github.com/VietND96>@VietND96</a></label>
335-
<span class=contributions>248 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
335+
<span class=contributions>252 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
336336
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
337337
<span class=contributions>159 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/2972876?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
338338
<label><a href=https://github.com/ddavison>@ddavison</a></label>
@@ -530,7 +530,7 @@
530530
<label><a href=https://github.com/qxo>@qxo</a></label>
531531
<span class=contributions>1 commits</span></div></div><h4 id=selenium-website--docsgithubcomseleniumhqseleniumhqgithubio><a href=//github.com/SeleniumHQ/seleniumhq.github.io/>Selenium Website & Docs</a></h4><style type=text/css>.ghContributors{display:flex;flex-flow:wrap;align-content:flex-start}.ghContributors>div{width:50%;display:inline-flex;margin-bottom:5px}.ghContributors>div label{padding-left:4px}.ghContributors>div span{font-size:x-small;padding-left:4px}</style><div class=ghContributors><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12621691?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
532532
<label><a href=https://github.com/harsha509>@harsha509</a></label>
533-
<span class=contributions>754 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
533+
<span class=contributions>755 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
534534
<label><a href=https://github.com/diemol>@diemol</a></label>
535535
<span class=contributions>753 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
536536
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
@@ -554,10 +554,10 @@
554554
<label><a href=https://github.com/pallavigitwork>@pallavigitwork</a></label>
555555
<span class=contributions>29 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13719696?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
556556
<label><a href=https://github.com/alenros>@alenros</a></label>
557-
<span class=contributions>28 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6996743?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
558-
<label><a href=https://github.com/AlexAndradeNet>@AlexAndradeNet</a></label>
559-
<span class=contributions>25 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/33221555?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
557+
<span class=contributions>28 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/33221555?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
560558
<label><a href=https://github.com/aguspe>@aguspe</a></label>
559+
<span class=contributions>26 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6996743?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
560+
<label><a href=https://github.com/AlexAndradeNet>@AlexAndradeNet</a></label>
561561
<span class=contributions>25 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/29110?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
562562
<label><a href=https://github.com/apps/dependabot>@dependabot[bot]</a></label>
563563
<span class=contributions>22 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1823178?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>

0 commit comments

Comments
 (0)