|
9720 | 9720 | INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\117.0.5938.22\chromedriver.exe
|
9721 | 9721 | INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
|
9722 | 9722 | </code></pre><h2 id=selenium-grid>Selenium Grid</h2><p>Selenium Manager allows you to configure the drivers automatically when setting up Selenium Grid. To that aim, you need to include the argument <code>--selenium-manager true</code> in the command to start Selenium Grid. For more details, visit the <a href=https://www.selenium.dev/documentation/grid/getting_started/>Selenium Grid starting page</a>.</p><p>Moreover, Selenium Manager also allows managing Selenium Grid releases automatically. For that, the argument <code>--grid</code> is used as follows:</p><pre tabindex=0><code>$ ./selenium-manager --grid
|
9723 |
| -</code></pre><p>After this command, Selenium Manager discovers the latest version of Selenium Grid, storing the <code>selenium-server.jar</code> in the local cache.</p><p>Optionally, the argument <code>--grid</code> allows to specify a Selenium Grid version (<code>--grid <GRID_VERSION></code>).</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-7414868d1046cd940a63280030df7f9f>7 - Test Practices</h1><div class=lead>Some guidelines and recommendations on testing from the Selenium project.</div><p>A note on “Best Practices”: We’ve intentionally avoided the phrase “Best |
| 9723 | +</code></pre><p>After this command, Selenium Manager discovers the latest version of Selenium Grid, storing the <code>selenium-server.jar</code> in the local cache.</p><p>Optionally, the argument <code>--grid</code> allows to specify a Selenium Grid version (<code>--grid <GRID_VERSION></code>).</p><h2 id=known-limitations>Known Limitations</h2><h3 id=custom-package-managers>Custom package managers</h3><p>If you are using a linux package manager (Anaconda, snap, etc) that requires a specific driver be used for your browsers, |
| 9724 | +you’ll need to either specify the |
| 9725 | +<a href=https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location>driver location</a>, |
| 9726 | +the <a href>browser location</a>, |
| 9727 | +or both, depending on the requirements.</p><h3 id=alternative-architecture>Alternative Architecture</h3><p>Selenium supports all five architectures managed by Google’s Chrome for Testing, and all six drivers provided for Microsoft Edge.</p><p>Each release of the Selenium bindings comes with three separate Selenium Manager binaries — one for Linux, Windows, and Mac.</p><ul><li>The Mac version supports both x64 and aarch64 (Intel and Apple).</li><li>The Windows version should work for both x86 and x64 (32-bit and 64-bit OS).</li><li>The Linux version has only been verified to work for x64.</li></ul><p>Reasons for not supporting more architectures:</p><ol><li>Neither Chrome for Testing nor Microsoft Edge supports additional architectures, so Selenium Manager would need to |
| 9728 | +manage something unofficial for it to work.</li><li>We currently build the binaries from existing GitHub actions runners, which do not support these architectures</li><li>Any additional architectures would get distributed with all Selenium releases, increasing the total build size</li></ol><p>If you are running linux on arm64/aarch64, 32-bit architecture, or a Raspberry Pi, Selenium Manager will not work for you. |
| 9729 | +The biggest issue for people is that they used to get custom-built drivers and put them on PATH and have them work. |
| 9730 | +Now that Selenium Manager is responsible for locating drivers on PATH, this approach no longer works, and users |
| 9731 | +need to use a <code>Service</code> class and <a href=https://www.selenium.dev/documentation/webdriver/drivers/service/#driver-location>set the location directly</a>. |
| 9732 | +There are a number of advantages to having Selenium Manager look for drivers on PATH instead of managing that logic |
| 9733 | +in each of the bindings, so that’s currently a trade-off we are comfortable with.</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-7414868d1046cd940a63280030df7f9f>7 - Test Practices</h1><div class=lead>Some guidelines and recommendations on testing from the Selenium project.</div><p>A note on “Best Practices”: We’ve intentionally avoided the phrase “Best |
9724 | 9734 | Practices” in this documentation. No one approach works for all situations.
|
9725 | 9735 | We prefer the idea of “Guidelines and Recommendations.” We encourage
|
9726 | 9736 | you to read through these and thoughtfully decide what approaches
|
|
13358 | 13368 | No patent liability is assumed with respect
|
13359 | 13369 | to the use of the information contained herein.</p><h2 id=attributions>Attributions</h2><h4 id=selenium-main-repositorygithubcomseleniumhqselenium><a href=//github.com/SeleniumHQ/selenium/>Selenium Main Repository</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/28229?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13360 | 13370 | <label><a href=https://github.com/shs96c>@shs96c</a></label>
|
13361 |
| -<span class=contributions>5201 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/617090?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 13371 | +<span class=contributions>5206 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/617090?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
13362 | 13372 | <label><a href=https://github.com/barancev>@barancev</a></label>
|
13363 | 13373 | <span class=contributions>3352 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/352840?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13364 | 13374 | <label><a href=https://github.com/jimevans>@jimevans</a></label>
|
|
13368 | 13378 | <label><a href=https://github.com/jarib>@jarib</a></label>
|
13369 | 13379 | <span class=contributions>1299 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>
|
13370 | 13380 | <label><a href=https://github.com/AutomatedTester>@AutomatedTester</a></label>
|
13371 |
| -<span class=contributions>1214 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> |
| 13381 | +<span class=contributions>1215 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> |
13372 | 13382 | <label><a href=https://github.com/dfabulich>@dfabulich</a></label>
|
13373 | 13383 | <span class=contributions>1175 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1131704?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13374 | 13384 | <label><a href=https://github.com/illicitonion>@illicitonion</a></label>
|
|
13644 | 13654 | <label><a href=https://github.com/peter-kehl>@peter-kehl</a></label>
|
13645 | 13655 | <span class=contributions>1 commits</span></div></div><h4 id=docker-seleniumgithubcomseleniumhqdocker-selenium><a href=//github.com/SeleniumHQ/docker-selenium/>Docker Selenium</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/5992658?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13646 | 13656 | <label><a href=https://github.com/diemol>@diemol</a></label>
|
13647 |
| -<span class=contributions>524 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> |
| 13657 | +<span class=contributions>525 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> |
13648 | 13658 | <label><a href=https://github.com/ddavison>@ddavison</a></label>
|
13649 | 13659 | <span class=contributions>134 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>
|
13650 | 13660 | <label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
|
|
13654 | 13664 | <label><a href=https://github.com/kayabendroth>@kayabendroth</a></label>
|
13655 | 13665 | <span class=contributions>50 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>
|
13656 | 13666 | <label><a href=https://github.com/apps/dependabot>@dependabot[bot]</a></label>
|
13657 |
| -<span class=contributions>29 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/111569?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 13667 | +<span class=contributions>30 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/111569?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
13658 | 13668 | <label><a href=https://github.com/elgalu>@elgalu</a></label>
|
13659 | 13669 | <span class=contributions>24 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/191885?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13660 | 13670 | <label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
|
|
13850 | 13860 | <label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
|
13851 | 13861 | <span class=contributions>323 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13852 | 13862 | <label><a href=https://github.com/titusfortner>@titusfortner</a></label>
|
13853 |
| -<span class=contributions>161 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3264250?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
| 13863 | +<span class=contributions>163 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3264250?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle> |
13854 | 13864 | <label><a href=https://github.com/alaahong>@alaahong</a></label>
|
13855 | 13865 | <span class=contributions>101 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1148325?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
|
13856 | 13866 | <label><a href=https://github.com/kzhirata>@kzhirata</a></label>
|
|
0 commit comments