Skip to content

Commit 10388de

Browse files
committed
Update the docs
1 parent 2913b15 commit 10388de

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

examples/cdp_mode/ReadMe/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2983,16 +2983,16 @@ <h3 align="left">⚙️ Stealthy architecture flowchart:</h3>
29832983
<p><img src="https://seleniumbase.github.io/other/sb_stealth.png" width="596" alt="Stealthy architecture flowchart" /></p>
29842984
<hr />
29852985
<h3 id="popular-youtube-videos-about-cdp-mode">🎞️ Popular YouTube videos about CDP Mode<a class="headerlink" href="#popular-youtube-videos-about-cdp-mode" title="Permanent link">&para;</a></h3>
2986-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/Mr90iQmNsKM?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2986+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/Mr90iQmNsKM?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
29872987
<p>(<b><a href="https://www.youtube.com/watch?v=Mr90iQmNsKM">Watch "Undetectable Automation 4" on YouTube! ▶️</a></b>)</p>
29882988

29892989
<p>(See <code>examples/cdp_mode/</code> for up-to-date examples.)</p>
29902990
<hr />
2991-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/vt2zsdiNh3U?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2991+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/vt2zsdiNh3U?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
29922992
<p>(<b><a href="https://www.youtube.com/watch?v=vt2zsdiNh3U">Watch "Hacking websites with CDP" on YouTube! ▶️</a></b>)</p>
29932993

29942994
<hr />
2995-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/gEZhTfaIxHQ?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2995+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/gEZhTfaIxHQ?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
29962996
<p>(<b><a href="https://www.youtube.com/watch?v=gEZhTfaIxHQ">"Unlimited Free Web-Scraping with GitHub Actions" ▶️</a></b>)</p>
29972997

29982998
<hr />

examples/cdp_mode/playwright/ReadMe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ <h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://se
29542954

29552955
<p>🎭 <b translate="no">Stealthy Playwright Mode</b> is a subset of <strong><a href="../../ReadMe/">SeleniumBase CDP Mode</a></strong> that launches <strong><a href="https://github.com/microsoft/playwright-python">Playwright</a></strong> from an existing <b translate="no">SeleniumBase</b> browser to make <span translate="no">Playwright</span> stealthy (for bypassing bot-detection). <span translate="no">Playwright</span> uses <code><b>connect_over_cdp()</b></code> to attach itself onto an existing <span translate="no">SeleniumBase</span> session via the <code>remote-debugging-port</code>. From here, APIs of both frameworks can be used together.</p>
29562956
<hr />
2957-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/PnFD_gSmGUc?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2957+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/PnFD_gSmGUc?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
29582958
<p>(<b><a href="https://www.youtube.com/watch?v=PnFD_gSmGUc">See Stealthy Playwright Mode on YouTube! ▶️</a></b>)</p>
29592959

29602960
<hr />

examples/chart_maker/ReadMe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3065,7 +3065,7 @@ <h3><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase"
30653065
</code></pre></div>
30663066
<p>All methods have the optional <code>chart_name</code> argument, which is only needed when storing multiple charts at the same time.</p>
30673067
<hr />
3068-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/TMQx3FLWvUY?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
3068+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/TMQx3FLWvUY?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
30693069

30703070

30713071

examples/example_logs/ReadMe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@
28492849
<h1>📊 Dashboard / Reports</h1>
28502850

28512851
<h2 id="logs-the-dashboard-and-reports"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> Logs, The Dashboard, and Reports<a class="headerlink" href="#logs-the-dashboard-and-reports" title="Permanent link">&para;</a></h2>
2852-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/XpuJCjJhJwQ?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2852+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/XpuJCjJhJwQ?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
28532853

28542854
<p>🔵 During test failures, logs and screenshots from the most recent test run will get saved to the <code>latest_logs/</code> folder. If <code>--archive-logs</code> is specified (or if ARCHIVE_EXISTING_LOGS is set to True in <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py">settings.py</a>), test logs will also get archived to the <code>archived_logs/</code> folder. Otherwise, the log files will be cleaned out when the next test run begins (by default).</p>
28552855
<div class="highlight"><pre><span></span><code>pytest<span class="w"> </span>test_fail.py

examples/visual_testing/ReadMe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2794,7 +2794,7 @@ <h1>🖼️ Visual Testing</h1>
27942794
<h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> Automated Visual Regression Testing</h2>
27952795

27962796
<p>Automated Visual Regression Testing can help you detect when the layout of a web page has changed. Instead of comparing pixels from screenshots, layout differences can be detected by comparing HTML tags and attributes with a baseline. If a change is detected, it could mean that something broke, the web page was redesigned, or dynamic content changed.</p>
2797-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/erwkoiDeNzA?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2797+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/erwkoiDeNzA?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
27982798

27992799
<p>To handle automated visual testing, SeleniumBase uses the <code>self.check_window()</code> method, which can set visual baselines for comparison and then compare the latest versions of web pages to the existing baseline.</p>
28002800
<p>The first time a test calls <code>self.check_window()</code> with a unique <code>name</code> parameter, the visual baseline is set, which means a folder is created with the following files:</p>

help_docs/method_summary/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ <h1>📘 API Reference</h1>
27892789

27902790
<h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> SeleniumBase Methods (API Reference)</h2>
27912791

2792-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/_yNJlHnp2JA?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2792+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/_yNJlHnp2JA?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
27932793

27942794
<p>Here's a list of SeleniumBase method definitions, which are defined in <strong><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py">base_case.py</a></strong></p>
27952795
<p>For backwards compatibility, older versions of method names have remained to keep older scripts working. <em>(E.g: wait_for_element_visible was shortened to wait_for_element and then to find_element.)</em></p>

help_docs/recorder_mode/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ <h1>🔴 Recorder Mode</h1>
27892789

27902790
<h2><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"> Recorder Mode 🔴/⏺️</h2>
27912791

2792-
<div style="text-align: left;"><iframe width="360" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/eKN5nq7YbdM?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
2792+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/eKN5nq7YbdM?enablejsapi=1&amp;origin=https://seleniumbase.io&amp;autoplay=0&amp;cc_load_policy=0&amp;cc_lang_pref=&amp;iv_load_policy=1&amp;loop=0&amp;modestbranding=1&amp;rel=0&amp;fs=1&amp;playsinline=0&amp;autohide=2&amp;theme=dark&amp;color=red&amp;controls=1&amp;" class="__youtube_prefs__ no-lazyload" title="YouTube player" allow="autoplay; encrypted-media" allowfullscreen="" data-no-lazy="1"></iframe></div>
27932793

27942794
<p>🔴 <b>SeleniumBase Recorder Mode</b> lets you record &amp; export browser actions into test automation scripts.<br></p>
27952795
<p><img src="https://seleniumbase.github.io/cdn/img/sb_recorder_notification.png" title="SeleniumBase" width="380"></p>

0 commit comments

Comments
 (0)