|
402 | 402 | Ruby</button></li><li class=nav-item><button class=nav-link id=tabs-17-04-tab data-bs-toggle=tab data-bs-target=#tabs-17-04 role=tab data-td-tp-persist=javascript aria-controls=tabs-17-04 aria-selected=false> |
403 | 403 | JavaScript</button></li><li class=nav-item><button class=nav-link id=tabs-17-05-tab data-bs-toggle=tab data-bs-target=#tabs-17-05 role=tab data-td-tp-persist=kotlin aria-controls=tabs-17-05 aria-selected=false> |
404 | 404 | Kotlin</button></li></ul><div class=tab-content id=tabs-17-content><div class="tab-body tab-pane fade show active" id=tabs-17-00 role=tabpanel aria-labelled-by=tabs-17-00-tab tabindex=17><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-17-01 role=tabpanel aria-labelled-by=tabs-17-01-tab tabindex=17><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-17-02 role=tabpanel aria-labelled-by=tabs-17-02-tab tabindex=17><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-17-03 role=tabpanel aria-labelled-by=tabs-17-03-tab tabindex=17><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>ruby example_script.rb</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#L36 target=_blank><i class="fas fa-external-link-alt pl-2"></i> |
405 | | -<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-17-04 role=tabpanel aria-labelled-by=tabs-17-04-tab tabindex=17><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-17-05 role=tabpanel aria-labelled-by=tabs-17-05-tab tabindex=17><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><h2 id=next-steps>Next Steps</h2><p>Most Selenium users execute many sessions and need to organize them to minimize duplication and keep the code |
| 405 | +<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-17-04 role=tabpanel aria-labelled-by=tabs-17-04-tab tabindex=17><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>node example_script.spec.js</span></span></code></pre></div><div class="text-end pb-2"><a href=https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/javascript/README.md#L36 target=_blank><i class="fas fa-external-link-alt pl-2"></i> |
| 406 | +<strong>View full example on GitHub</strong></a></div></div><div class="tab-body tab-pane fade" id=tabs-17-05 role=tabpanel aria-labelled-by=tabs-17-05-tab tabindex=17><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><h2 id=next-steps>Next Steps</h2><p>Most Selenium users execute many sessions and need to organize them to minimize duplication and keep the code |
406 | 407 | more maintainable. Read on to learn about how to put this code into context for your use case with |
407 | 408 | <a href=https://www.selenium.dev/documentation/webdriver/getting_started/using_selenium/>Using Selenium</a>.</p></div><div class=td-content style=page-break-before:always><h1 id=pg-23b7e1ca67e6c934ea40b738b1cbdf41>2.1.3 - Organizing and Executing Selenium Code</h1><div class=lead>Scaling Selenium execution with an IDE and a Test Runner library</div><div class="row justify-content-center my-1"><div class="alert alert-cyan -bg-selenium-cyan-20 col-10 ps-lg-5 mb-0 alert-dismissible fade show" role=alert><h2 class="alert-heading pb-3 text-center">Content Help</h2><div class=w-100><strong>Note:</strong> |
408 | 409 | This section needs additional and/or updated content<br><br>This page is very incomplete and has placeholders for things that need to be added or expounded on.<br><br>Check our <a href=/documentation/about/contributing/>contribution guidelines</a> if you’d like to help.</div><button type=button class=btn-close data-bs-dismiss=alert aria-label=Close></button></div></div><p>If you want to run more than a handful of one-off scripts, you need to |
|
0 commit comments