Skip to content

Commit 9f394fe

Browse files
committed
[dotnet] Upgrade examples to Selenium 4.29 (#2197)
[deploy site] 55d2ab0
1 parent ea63221 commit 9f394fe

File tree

29 files changed

+167
-167
lines changed

29 files changed

+167
-167
lines changed

documentation/_print/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;version&gt;</span>${selenium.version}<span style=color:#204a87;font-weight:700>&lt;/version&gt;</span>
251251
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;/dependency&gt;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/java/pom.xml#L30-L34 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
252252
<strong>View full example on GitHub</strong></a></div><h3 id=gradle>Gradle</h3><p>Specify the dependency in the project <code>build.gradle</code> file as <code>testImplementation</code>:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-gradle data-lang=gradle><span style=display:flex><span> <span style=color:#000>testImplementation</span> <span style=color:#4e9a06>&#39;org.seleniumhq.selenium:selenium-java:4.29.0&#39;</span>
253-
</span></span><span style=display:flex><span> <span style=color:#000>testImplementation</span> <span style=color:#4e9a06>&#39;org.junit.jupiter:junit-jupiter-engine:5.11.4&#39;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/java/build.gradle#L13-L14 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
253+
</span></span><span style=display:flex><span> <span style=color:#000>testImplementation</span> <span style=color:#4e9a06>&#39;org.junit.jupiter:junit-jupiter-engine:5.12.0&#39;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/java/build.gradle#L13-L14 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
254254
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-00-01 role=tabpanel aria-labelled-by=tabs-00-01-tab tabindex=0><p>The minimum supported Python version for each Selenium version can be found
255255
in <code>Supported Python Versions</code> on <a href=https://pypi.org/project/selenium/>PyPi</a></p><p>There are a couple different ways to install Selenium.</p><h3 id=pip>Pip</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>pip install selenium
256256
</span></span></code></pre></div><br><h3 id=download>Download</h3><p>Alternatively you can download the <a href=https://pypi.org/project/selenium/#files>PyPI source archive</a>
@@ -259,7 +259,7 @@
259259
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-00-02 role=tabpanel aria-labelled-by=tabs-00-02-tab tabindex=0><p>A list of all supported frameworks for each version of Selenium
260260
is available on <a href=https://www.nuget.org/packages/Selenium.WebDriver>Nuget</a></p><p>There are a few options for installing Selenium.</p><h3 id=packet-manager>Packet Manager</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>Install-Package Selenium.WebDriver
261261
</span></span></code></pre></div><br><h3 id=net-cli>.NET CLI</h3><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-shell data-lang=shell><span style=display:flex><span>dotnet add package Selenium.WebDriver
262-
</span></span></code></pre></div><br><h3 id=csproj>CSProj</h3><p>in the project&rsquo;s <code>csproj</code> file, specify the dependency as a <code>PackageReference</code> in <code>ItemGroup</code>:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-csproj data-lang=csproj><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;PackageReference</span> <span style=color:#c4a000>Include=</span><span style=color:#4e9a06>&#34;Selenium.WebDriver&#34;</span> <span style=color:#c4a000>Version=</span><span style=color:#4e9a06>&#34;4.28.0&#34;</span> <span style=color:#204a87;font-weight:700>/&gt;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/dotnet/SeleniumDocs/SeleniumDocs.csproj#L14 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
262+
</span></span></code></pre></div><br><h3 id=csproj>CSProj</h3><p>in the project&rsquo;s <code>csproj</code> file, specify the dependency as a <code>PackageReference</code> in <code>ItemGroup</code>:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-csproj data-lang=csproj><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;PackageReference</span> <span style=color:#c4a000>Include=</span><span style=color:#4e9a06>&#34;Selenium.WebDriver&#34;</span> <span style=color:#c4a000>Version=</span><span style=color:#4e9a06>&#34;4.29.0&#34;</span> <span style=color:#204a87;font-weight:700>/&gt;</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/dotnet/SeleniumDocs/SeleniumDocs.csproj#L14 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
263263
<strong>View full example on GitHub</strong></a></div><h3 id=additional-considerations>Additional considerations</h3><p>Further items of note for using Visual Studio Code (vscode) and C#</p><p>Install the compatible .NET SDK as per the section above.
264264
Also install the vscode extensions (Ctrl-Shift-X) for C# and NuGet.
265265
Follow the <a href="https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code?pivots=dotnet-5-0">instruction here</a>
@@ -13991,7 +13991,7 @@
1399113991
<label><a href=https://github.com/mdub>@mdub</a></label>
1399213992
<span class=contributions>326 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5413013?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1399313993
<label><a href=https://github.com/bonigarcia>@bonigarcia</a></label>
13994-
<span class=contributions>314 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/399120?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
13994+
<span class=contributions>315 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/399120?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1399513995
<label><a href=https://github.com/andreastt>@andreastt</a></label>
1399613996
<span class=contributions>289 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/67744?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1399713997
<label><a href=https://github.com/krosenvold>@krosenvold</a></label>
@@ -14009,7 +14009,7 @@
1400914009
<label><a href=https://github.com/hbchai>@hbchai</a></label>
1401014010
<span class=contributions>191 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>
1401114011
<label><a href=https://github.com/nvborisenko>@nvborisenko</a></label>
14012-
<span class=contributions>184 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>
14012+
<span class=contributions>187 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>
1401314013
<label><a href=https://github.com/lmtierney>@lmtierney</a></label>
1401414014
<span class=contributions>179 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/696749?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1401514015
<label><a href=https://github.com/freynaud>@freynaud</a></label>
@@ -14025,10 +14025,10 @@
1402514025
<label><a href=https://github.com/gigix>@gigix</a></label>
1402614026
<span class=contributions>109 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10137971?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1402714027
<label><a href=https://github.com/juangj>@juangj</a></label>
14028-
<span class=contributions>108 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>
14029-
<label><a href=https://github.com/aslakhellesoy>@aslakhellesoy</a></label>
14030-
<span class=contributions>94 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12619902?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14028+
<span class=contributions>108 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12619902?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1403114029
<label><a href=https://github.com/RenderMichael>@RenderMichael</a></label>
14030+
<span class=contributions>97 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>
14031+
<label><a href=https://github.com/aslakhellesoy>@aslakhellesoy</a></label>
1403214032
<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>
1403314033
<label><a href=https://github.com/alex-savchuk>@alex-savchuk</a></label>
1403414034
<span class=contributions>90 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>
@@ -14255,7 +14255,7 @@
1425514255
<label><a href=https://github.com/VietND96>@VietND96</a></label>
1425614256
<span class=contributions>401 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>
1425714257
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
14258-
<span class=contributions>201 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>
14258+
<span class=contributions>202 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>
1425914259
<label><a href=https://github.com/ddavison>@ddavison</a></label>
1426014260
<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>
1426114261
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
@@ -14459,7 +14459,7 @@
1445914459
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
1446014460
<span class=contributions>232 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>
1446114461
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
14462-
<span class=contributions>204 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>
14462+
<span class=contributions>210 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>
1446314463
<label><a href=https://github.com/alaahong>@alaahong</a></label>
1446414464
<span class=contributions>117 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10705590?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1446514465
<label><a href=https://github.com/pujagani>@pujagani</a></label>
@@ -14501,10 +14501,10 @@
1450114501
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
1450214502
<span class=contributions>15 commits</span></div><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>
1450314503
<label><a href=https://github.com/shs96c>@shs96c</a></label>
14504-
<span class=contributions>14 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/69031386?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14505-
<label><a href=https://github.com/sindhudiddi>@sindhudiddi</a></label>
14506-
<span class=contributions>12 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>
14504+
<span class=contributions>14 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>
1450714505
<label><a href=https://github.com/nvborisenko>@nvborisenko</a></label>
14506+
<span class=contributions>13 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/69031386?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14507+
<label><a href=https://github.com/sindhudiddi>@sindhudiddi</a></label>
1450814508
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4995276?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1450914509
<label><a href=https://github.com/hiroksarker>@hiroksarker</a></label>
1451014510
<span class=contributions>10 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/50069278?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>

0 commit comments

Comments
 (0)