Skip to content

Commit 84324a1

Browse files
committed
added python execution scripts to Using Selenium (#1872)
added execution scripts [deploy site] bb2cd99
1 parent d4bb4e8 commit 84324a1

File tree

32 files changed

+108
-92
lines changed

32 files changed

+108
-92
lines changed

documentation/_print/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,8 @@
492492
JavaScript</button></li><li class=nav-item><button class=nav-link id=tabs-06-05-tab data-bs-toggle=tab data-bs-target=#tabs-06-05 role=tab data-td-tp-persist=kotlin aria-controls=tabs-06-05 aria-selected=false>
493493
Kotlin</button></li></ul><div class=tab-content id=tabs-6-content><div class="tab-body tab-pane fade show active" id=tabs-06-00 role=tabpanel aria-labelled-by=tabs-06-00-tab tabindex=6><h3 id=maven>Maven</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>mvn clean <span style=color:#204a87>test</span>
494494
</span></span></code></pre></div><h3 id=gradle>Gradle</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>gradle clean <span style=color:#204a87>test</span>
495-
</span></span></code></pre></div></div><div class="tab-body tab-pane fade" id=tabs-06-01 role=tabpanel aria-labelled-by=tabs-06-01-tab tabindex=6><p><a href=/documentation/about/contributing/#creating-examples><span class=selenium-badge-code data-bs-toggle=tooltip data-bs-placement=right title="This code example is missing. Examples are added to the examples directory; click for details in the contribution guide">Add Example</span></a></p></div><div class="tab-body tab-pane fade" id=tabs-06-02 role=tabpanel aria-labelled-by=tabs-06-02-tab tabindex=6><p><a href=/documentation/about/contributing/#creating-examples><span class=selenium-badge-code data-bs-toggle=tooltip data-bs-placement=right title="This code example is missing. Examples are added to the examples directory; click for details in the contribution guide">Add Example</span></a></p></div><div class="tab-body tab-pane fade" id=tabs-06-03 role=tabpanel aria-labelled-by=tabs-06-03-tab tabindex=6><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-md data-lang=md><span style=display:flex><span>bundle exec rspec</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/ruby/README.md#L26 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
495+
</span></span></code></pre></div></div><div class="tab-body tab-pane fade" id=tabs-06-01 role=tabpanel aria-labelled-by=tabs-06-01-tab tabindex=6><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-md data-lang=md><span style=display:flex><span>python first_script.py</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/python/README.md#L35 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
496+
<strong>View full example on GitHub</strong></a></div><p><a href=/documentation/about/contributing/#creating-examples><span class=selenium-badge-code data-bs-toggle=tooltip data-bs-placement=right title="This code example is missing. Examples are added to the examples directory; click for details in the contribution guide">Add Example</span></a></p></div><div class="tab-body tab-pane fade" id=tabs-06-02 role=tabpanel aria-labelled-by=tabs-06-02-tab tabindex=6><p><a href=/documentation/about/contributing/#creating-examples><span class=selenium-badge-code data-bs-toggle=tooltip data-bs-placement=right title="This code example is missing. Examples are added to the examples directory; click for details in the contribution guide">Add Example</span></a></p></div><div class="tab-body tab-pane fade" id=tabs-06-03 role=tabpanel aria-labelled-by=tabs-06-03-tab tabindex=6><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-md data-lang=md><span style=display:flex><span>bundle exec rspec</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/ruby/README.md#L26 target=_blank><i class="fas fa-external-link-alt pl-2"></i>
496497
<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-06-04 role=tabpanel aria-labelled-by=tabs-06-04-tab tabindex=6><h3 id=mocha>Mocha</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>mocha runningTests.spec.js
497498
</span></span></code></pre></div><h3 id=npx>npx</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>npx mocha runningTests.spec.js
498499
</span></span></code></pre></div></div><div class="tab-body tab-pane fade" id=tabs-06-05 role=tabpanel aria-labelled-by=tabs-06-05-tab tabindex=6><p><a href=/documentation/about/contributing/#creating-examples><span class=selenium-badge-code data-bs-toggle=tooltip data-bs-placement=right title="This code example is missing. Examples are added to the examples directory; click for details in the contribution guide">Add Example</span></a></p></div></div><h3 id=examples>Examples</h3><p>In <a href=https://www.selenium.dev/documentation/webdriver/getting_started/first_script/>First script</a>, we saw each of the components of a Selenium script.
@@ -14510,6 +14511,8 @@
1451014511
<label><a href=https://github.com/TestOpsCloudchen>@TestOpsCloudchen</a></label>
1451114512
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13767532?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1451214513
<label><a href=https://github.com/takeyaqa>@takeyaqa</a></label>
14514+
<span class=contributions>3 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>
14515+
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
1451314516
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8307266?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1451414517
<label><a href=https://github.com/raju249>@raju249</a></label>
1451514518
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6995156?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
@@ -14550,10 +14553,10 @@
1455014553
<label><a href=https://github.com/urig>@urig</a></label>
1455114554
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/39815871?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
1455214555
<label><a href=https://github.com/SparshKesari>@SparshKesari</a></label>
14553-
<span class=contributions>2 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>
14554-
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
1455514556
<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>
1455614557
<label><a href=https://github.com/sangcnguyen>@sangcnguyen</a></label>
14558+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14559+
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
1455714560
<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>
1455814561
<label><a href=https://github.com/coodjokergl>@coodjokergl</a></label>
1455914562
<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>
@@ -14572,8 +14575,6 @@
1457214575
<label><a href=https://github.com/0420syj>@0420syj</a></label>
1457314576
<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>
1457414577
<label><a href=https://github.com/TheTestLynx>@TheTestLynx</a></label>
14575-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
14576-
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
1457714578
<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>
1457814579
<label><a href=https://github.com/beatfactor>@beatfactor</a></label>
1457914580
<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>

documentation/about/_print/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@
642642
<label><a href=https://github.com/TestOpsCloudchen>@TestOpsCloudchen</a></label>
643643
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13767532?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
644644
<label><a href=https://github.com/takeyaqa>@takeyaqa</a></label>
645+
<span class=contributions>3 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>
646+
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
645647
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8307266?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
646648
<label><a href=https://github.com/raju249>@raju249</a></label>
647649
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6995156?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
@@ -682,10 +684,10 @@
682684
<label><a href=https://github.com/urig>@urig</a></label>
683685
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/39815871?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
684686
<label><a href=https://github.com/SparshKesari>@SparshKesari</a></label>
685-
<span class=contributions>2 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>
686-
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
687687
<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>
688688
<label><a href=https://github.com/sangcnguyen>@sangcnguyen</a></label>
689+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
690+
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
689691
<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>
690692
<label><a href=https://github.com/coodjokergl>@coodjokergl</a></label>
691693
<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>
@@ -704,8 +706,6 @@
704706
<label><a href=https://github.com/0420syj>@0420syj</a></label>
705707
<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>
706708
<label><a href=https://github.com/TheTestLynx>@TheTestLynx</a></label>
707-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
708-
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
709709
<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>
710710
<label><a href=https://github.com/beatfactor>@beatfactor</a></label>
711711
<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>

documentation/about/copyright/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,8 @@
628628
<label><a href=https://github.com/TestOpsCloudchen>@TestOpsCloudchen</a></label>
629629
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/13767532?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
630630
<label><a href=https://github.com/takeyaqa>@takeyaqa</a></label>
631+
<span class=contributions>3 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>
632+
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
631633
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8307266?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
632634
<label><a href=https://github.com/raju249>@raju249</a></label>
633635
<span class=contributions>3 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6995156?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
@@ -668,10 +670,10 @@
668670
<label><a href=https://github.com/urig>@urig</a></label>
669671
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/39815871?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
670672
<label><a href=https://github.com/SparshKesari>@SparshKesari</a></label>
671-
<span class=contributions>2 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>
672-
<label><a href=https://github.com/shbenzer>@shbenzer</a></label>
673673
<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>
674674
<label><a href=https://github.com/sangcnguyen>@sangcnguyen</a></label>
675+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
676+
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
675677
<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>
676678
<label><a href=https://github.com/coodjokergl>@coodjokergl</a></label>
677679
<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>
@@ -690,8 +692,6 @@
690692
<label><a href=https://github.com/0420syj>@0420syj</a></label>
691693
<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>
692694
<label><a href=https://github.com/TheTestLynx>@TheTestLynx</a></label>
693-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/105904949?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
694-
<label><a href=https://github.com/Arpan3323>@Arpan3323</a></label>
695695
<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>
696696
<label><a href=https://github.com/beatfactor>@beatfactor</a></label>
697697
<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>

0 commit comments

Comments
 (0)