Skip to content

Commit 98e7636

Browse files
committed
[JS] Link code samples to github [deploy site] f8040ea
1 parent 447c7c7 commit 98e7636

File tree

31 files changed

+87
-183
lines changed

31 files changed

+87
-183
lines changed

documentation/_print/index.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,14 +3119,8 @@
31193119
</span></span><span style=display:flex><span> <span style=color:#8f5902;font-style:italic># Click the element</span>
31203120
</span></span><span style=display:flex><span> <span style=color:#000>driver</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>find_element</span><span style=color:#000;font-weight:700>(</span><span style=color:#204a87>name</span><span style=color:#000;font-weight:700>:</span> <span style=color:#4e9a06>&#39;color_input&#39;</span><span style=color:#000;font-weight:700>)</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>click</span>
31213121
</span></span><span style=display:flex><span>
3122-
</span></span><span style=display:flex><span> </span></span></code></pre></div></div><div class="tab-pane fade" id=tabs-02-04 role=tabpanel aria-labelled-by=tabs-02-04-tab tabindex=2><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-JavaScript data-lang=JavaScript><span style=display:flex><span> <span style=color:#8f5902;font-style:italic>// Navigate to Url
3123-
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>driver</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>get</span><span style=color:#000;font-weight:700>(</span><span style=color:#4e9a06>&#39;https://www.selenium.dev/selenium/web/inputs.html&#39;</span><span style=color:#000;font-weight:700>);</span>
3124-
</span></span><span style=display:flex><span>
3125-
</span></span><span style=display:flex><span> <span style=color:#8f5902;font-style:italic>// Click the element
3126-
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>driver</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>findElement</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>By</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>name</span><span style=color:#000;font-weight:700>(</span><span style=color:#4e9a06>&#39;color_input&#39;</span><span style=color:#000;font-weight:700>)).</span><span style=color:#000>click</span><span style=color:#000;font-weight:700>();</span>
3127-
</span></span><span style=display:flex><span>
3128-
</span></span><span style=display:flex><span>
3129-
</span></span></code></pre></div></div><div class="tab-pane fade" id=tabs-02-05 role=tabpanel aria-labelled-by=tabs-02-05-tab tabindex=2><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Kotlin data-lang=Kotlin><span style=display:flex><span> <span style=color:#8f5902;font-style:italic>// Navigate to Url
3122+
</span></span><span style=display:flex><span> </span></span></code></pre></div></div><div class="tab-body tab-pane fade" id=tabs-02-04 role=tabpanel aria-labelled-by=tabs-02-04-tab tabindex=2><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-js data-lang=js><span style=display:flex><span> <span style=color:#204a87;font-weight:700>await</span> <span style=color:#000>submitButton</span><span style=color:#000;font-weight:700>.</span><span style=color:#000>click</span><span style=color:#000;font-weight:700>();</span></span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/javascript/test/getting_started/firstScript.spec.js#L20 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
3123+
<strong>View full example on GitHub</strong></a></div></div><div class="tab-pane fade" id=tabs-02-05 role=tabpanel aria-labelled-by=tabs-02-05-tab tabindex=2><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-Kotlin data-lang=Kotlin><span style=display:flex><span> <span style=color:#8f5902;font-style:italic>// Navigate to Url
31303124
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span> <span style=color:#000>driver</span><span style=color:#000;font-weight:700>.</span><span style=color:#204a87;font-weight:700>get</span><span style=color:#000;font-weight:700>(</span><span style=color:#4e9a06>&#34;https://www.selenium.dev/selenium/web/inputs.html&#34;</span><span style=color:#000;font-weight:700>)</span>
31313125
</span></span><span style=display:flex><span>
31323126
</span></span><span style=display:flex><span> <span style=color:#8f5902;font-style:italic>// Click the element
@@ -13805,7 +13799,7 @@
1380513799
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
1380613800
<span class=contributions>15 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>
1380713801
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
13808-
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
13802+
<span class=contributions>13 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1380913803
<label><a href=https://github.com/jamesmortensen>@jamesmortensen</a></label>
1381013804
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/233500?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1381113805
<label><a href=https://github.com/WillAbides>@WillAbides</a></label>
@@ -13989,7 +13983,7 @@
1398913983
<label><a href=https://github.com/diemol>@diemol</a></label>
1399013984
<span class=contributions>720 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>
1399113985
<label><a href=https://github.com/harsha509>@harsha509</a></label>
13992-
<span class=contributions>683 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>
13986+
<span class=contributions>684 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>
1399313987
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
1399413988
<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>
1399513989
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
@@ -14001,7 +13995,7 @@
1400113995
<label><a href=https://github.com/kzhirata>@kzhirata</a></label>
1400213996
<span class=contributions>47 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>
1400313997
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
14004-
<span class=contributions>39 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>
13998+
<span class=contributions>40 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>
1400513999
<label><a href=https://github.com/bonigarcia>@bonigarcia</a></label>
1400614000
<span class=contributions>35 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>
1400714001
<label><a href=https://github.com/boris779>@boris779</a></label>

documentation/about/_print/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
342342
<span class=contributions>15 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>
343343
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
344-
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
344+
<span class=contributions>13 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
345345
<label><a href=https://github.com/jamesmortensen>@jamesmortensen</a></label>
346346
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/233500?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
347347
<label><a href=https://github.com/WillAbides>@WillAbides</a></label>
@@ -525,7 +525,7 @@
525525
<label><a href=https://github.com/diemol>@diemol</a></label>
526526
<span class=contributions>720 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>
527527
<label><a href=https://github.com/harsha509>@harsha509</a></label>
528-
<span class=contributions>683 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>
528+
<span class=contributions>684 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>
529529
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
530530
<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>
531531
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
@@ -537,7 +537,7 @@
537537
<label><a href=https://github.com/kzhirata>@kzhirata</a></label>
538538
<span class=contributions>47 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>
539539
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
540-
<span class=contributions>39 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>
540+
<span class=contributions>40 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>
541541
<label><a href=https://github.com/bonigarcia>@bonigarcia</a></label>
542542
<span class=contributions>35 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>
543543
<label><a href=https://github.com/boris779>@boris779</a></label>

documentation/about/copyright/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
331331
<span class=contributions>15 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>
332332
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
333-
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
333+
<span class=contributions>13 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?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/jamesmortensen>@jamesmortensen</a></label>
335335
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/233500?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/WillAbides>@WillAbides</a></label>
@@ -514,7 +514,7 @@
514514
<label><a href=https://github.com/diemol>@diemol</a></label>
515515
<span class=contributions>720 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>
516516
<label><a href=https://github.com/harsha509>@harsha509</a></label>
517-
<span class=contributions>683 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>
517+
<span class=contributions>684 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>
518518
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
519519
<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>
520520
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
@@ -526,7 +526,7 @@
526526
<label><a href=https://github.com/kzhirata>@kzhirata</a></label>
527527
<span class=contributions>47 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>
528528
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
529-
<span class=contributions>39 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>
529+
<span class=contributions>40 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>
530530
<label><a href=https://github.com/bonigarcia>@bonigarcia</a></label>
531531
<span class=contributions>35 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>
532532
<label><a href=https://github.com/boris779>@boris779</a></label>

0 commit comments

Comments
 (0)