You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: documentation/_print/index.html
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9376,7 +9376,10 @@
9376
9376
</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
9377
9377
</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
9378
9378
</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’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
9380
9383
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
9381
9384
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-<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>?
9382
9385
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
0 commit comments