Skip to content

Commit f445384

Browse files
committed
Added Steps to Create Custom Selenium Manager to Documentation (#1990)
[deploy site] Added Steps to Create Custom Selenium Manager b9f2010
1 parent 008ca7e commit f445384

File tree

23 files changed

+155
-147
lines changed

23 files changed

+155
-147
lines changed

Diff for: documentation/_print/index.html

+12-11
Original file line numberDiff line numberDiff line change
@@ -9285,7 +9285,8 @@
92859285
</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.
92869286
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,
92879287
you can set the <code>SE_CHROMEDRIVER</code> environment variable to the path of the chromedriver executable.
9288-
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
9288+
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=building-a-custom-selenium-manager>Building a Custom Selenium Manager</h2><p>In order to build your own custom Selenium Manager that works in an architecture we don&rsquo;t currently support, you can
9289+
utilize the following steps:</p><ol><li>Install Rust Dev Environment</li><li>clone Selenium onto your local machine <code>git clone https://github.com/SeleniumHQ/selenium.git --depth 1</code></li><li>Navigate into your clone <code>cd selenium/rust</code></li><li>Build selenium <code>cargo build --release</code></li><li>Set the following environment variable for the driver path <code>SE_MANAGER_PATH=~/selenium/rust/target/release/selenium-manager</code></li><li>Put the driver you want in a location on your system PATH</li><li>Selenium will now use the built Selenium Manager to locate the manually downloaded driver on PATH</li></ol><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
92899290
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
92909291
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>?
92919292
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
@@ -14014,11 +14015,11 @@
1401414015
<label><a href=https://github.com/davehunt>@davehunt</a></label>
1401514016
<span class=contributions>200 commits</span></div><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>
1401614017
<label><a href=https://github.com/harsha509>@harsha509</a></label>
14017-
<span class=contributions>196 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/455056?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14018+
<span class=contributions>197 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/455056?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1401814019
<label><a href=https://github.com/hbchai>@hbchai</a></label>
1401914020
<span class=contributions>191 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/16140691?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1402014021
<label><a href=https://github.com/joerg1985>@joerg1985</a></label>
14021-
<span class=contributions>181 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4405962?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14022+
<span class=contributions>183 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4405962?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1402214023
<label><a href=https://github.com/lmtierney>@lmtierney</a></label>
1402314024
<span class=contributions>179 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/22616990?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1402414025
<label><a href=https://github.com/nvborisenko>@nvborisenko</a></label>
@@ -14266,9 +14267,9 @@
1426614267
<label><a href=https://github.com/diemol>@diemol</a></label>
1426714268
<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>
1426814269
<label><a href=https://github.com/VietND96>@VietND96</a></label>
14269-
<span class=contributions>287 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>
14270+
<span class=contributions>288 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>
1427014271
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
14271-
<span class=contributions>170 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>
14272+
<span class=contributions>171 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>
1427214273
<label><a href=https://github.com/ddavison>@ddavison</a></label>
1427314274
<span class=contributions>134 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/2740?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1427414275
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
@@ -14484,7 +14485,7 @@
1448414485
<label><a href=https://github.com/pallavigitwork>@pallavigitwork</a></label>
1448514486
<span class=contributions>36 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/69980130?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1448614487
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
14487-
<span class=contributions>33 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10259016?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14488+
<span class=contributions>34 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10259016?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1448814489
<label><a href=https://github.com/boris779>@boris779</a></label>
1448914490
<span class=contributions>32 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>
1449014491
<label><a href=https://github.com/AutomatedTester>@AutomatedTester</a></label>
@@ -14608,9 +14609,7 @@
1460814609
<label><a href=https://github.com/Crank4098>@Crank4098</a></label>
1460914610
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/43470915?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1461014611
<label><a href=https://github.com/Arc-Jung>@Arc-Jung</a></label>
14611-
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23319049?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14612-
<label><a href=https://github.com/ilhanoztozlu>@ilhanoztozlu</a></label>
14613-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19251569?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14612+
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19251569?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1461414613
<label><a href=https://github.com/eaccmk>@eaccmk</a></label>
1461514614
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105614349?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1461614615
<label><a href=https://github.com/digitalvoice-nz>@digitalvoice-nz</a></label>
@@ -14628,6 +14627,10 @@
1462814627
<label><a href=https://github.com/sbabcoc>@sbabcoc</a></label>
1462914628
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/14201772?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1463014629
<label><a href=https://github.com/sangcnguyen>@sangcnguyen</a></label>
14630+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/419506?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14631+
<label><a href=https://github.com/beatfactor>@beatfactor</a></label>
14632+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23319049?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14633+
<label><a href=https://github.com/ilhanoztozlu>@ilhanoztozlu</a></label>
1463114634
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/28683193?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1463214635
<label><a href=https://github.com/coodjokergl>@coodjokergl</a></label>
1463314636
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/55776728?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
@@ -14646,8 +14649,6 @@
1464614649
<label><a href=https://github.com/0420syj>@0420syj</a></label>
1464714650
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/16527196?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1464814651
<label><a href=https://github.com/TheTestLynx>@TheTestLynx</a></label>
14649-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/419506?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14650-
<label><a href=https://github.com/beatfactor>@beatfactor</a></label>
1465114652
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/65099941?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1465214653
<label><a href=https://github.com/Afranioalves>@Afranioalves</a></label>
1465314654
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/47086307?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>

0 commit comments

Comments
 (0)