Skip to content

Commit 92750db

Browse files
committed
Update the docs
1 parent 34be157 commit 92750db

10 files changed

Lines changed: 190 additions & 114 deletions

File tree

docs/examples/cdp_mode/ReadMe/index.html

Lines changed: 44 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<div data-md-component="skip">
8787

8888

89-
<a href="#youtube-videos-about-cdp-mode" class="md-skip">
89+
<a href="#cdp-mode-on-youtube" class="md-skip">
9090
Skip to content
9191
</a>
9292

@@ -332,9 +332,9 @@
332332
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
333333

334334
<li class="md-nav__item">
335-
<a href="#youtube-videos-about-cdp-mode" class="md-nav__link">
335+
<a href="#cdp-mode-on-youtube" class="md-nav__link">
336336
<span class="md-ellipsis">
337-
🎞️ YouTube videos about CDP Mode:
337+
🎞️ CDP Mode on YouTube
338338
</span>
339339
</a>
340340

@@ -401,6 +401,15 @@
401401
</span>
402402
</a>
403403

404+
</li>
405+
406+
<li class="md-nav__item">
407+
<a href="#youtube-videos-about-cdp-mode" class="md-nav__link">
408+
<span class="md-ellipsis">
409+
🎞️ YouTube videos about CDP Mode:
410+
</span>
411+
</a>
412+
404413
</li>
405414

406415
</ul>
@@ -2883,9 +2892,9 @@
28832892
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
28842893

28852894
<li class="md-nav__item">
2886-
<a href="#youtube-videos-about-cdp-mode" class="md-nav__link">
2895+
<a href="#cdp-mode-on-youtube" class="md-nav__link">
28872896
<span class="md-ellipsis">
2888-
🎞️ YouTube videos about CDP Mode:
2897+
🎞️ CDP Mode on YouTube
28892898
</span>
28902899
</a>
28912900

@@ -2952,6 +2961,15 @@
29522961
</span>
29532962
</a>
29542963

2964+
</li>
2965+
2966+
<li class="md-nav__item">
2967+
<a href="#youtube-videos-about-cdp-mode" class="md-nav__link">
2968+
<span class="md-ellipsis">
2969+
🎞️ YouTube videos about CDP Mode:
2970+
</span>
2971+
</a>
2972+
29552973
</li>
29562974

29572975
</ul>
@@ -2980,19 +2998,11 @@ <h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://se
29802998
<hr />
29812999
<h3 align="left">⚙️ Stealthy architecture flowchart:</h3>
29823000

2983-
<p><img src="https://seleniumbase.github.io/other/sb_stealth.png" width="596" alt="Stealthy architecture flowchart" /></p>
2984-
<hr />
2985-
<h3 id="youtube-videos-about-cdp-mode">🎞️ YouTube videos about <b translate="no">CDP Mode</b>:<a class="headerlink" href="#youtube-videos-about-cdp-mode" title="Permanent link">&para;</a></h3>
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>
2987-
<p>(<b><a href="https://www.youtube.com/watch?v=Mr90iQmNsKM">Watch "Undetectable Automation 4" on YouTube! ▶️</a></b>)</p>
2988-
2989-
<hr />
2990-
<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>
2991-
<p>(<b><a href="https://www.youtube.com/watch?v=vt2zsdiNh3U">Watch "Hacking websites with CDP" on YouTube! ▶️</a></b>)</p>
2992-
3001+
<p><img src="https://seleniumbase.github.io/other/sb_architecture.png" width="596" alt="Stealthy architecture flowchart" /></p>
29933002
<hr />
2994-
<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>
2995-
<p>(<b><a href="https://www.youtube.com/watch?v=gEZhTfaIxHQ">"Unlimited Free Web-Scraping with GitHub Actions" ▶️</a></b>)</p>
3003+
<h3 id="cdp-mode-on-youtube">🎞️ <b translate="no">CDP Mode</b> on YouTube<a class="headerlink" href="#cdp-mode-on-youtube" title="Permanent link">&para;</a></h3>
3004+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/R9HNsnbYh8o?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>
3005+
<p>(<b><a href="https://www.youtube.com/watch?v=R9HNsnbYh8o">Watch "Undetectable Automation: 5th Edition" on YouTube! ▶️</a></b>)</p>
29963006

29973007
<hr />
29983008
<p>ℹ️ Note the differences between <b>UC Mode</b> and <b>CDP Mode</b>:</p>
@@ -3659,6 +3669,23 @@ <h3 id="cdp-mode-webelement-api-methods">🐙 <b translate="no">CDP Mode</b> Web
36593669
<span class="n">element</span><span class="o">.</span><span class="n">get_attribute</span><span class="p">(</span><span class="n">attribute</span><span class="p">)</span>
36603670
<span class="n">element</span><span class="o">.</span><span class="n">get_parent</span><span class="p">()</span>
36613671
</code></pre></div>
3672+
<hr />
3673+
<h3 id="youtube-videos-about-cdp-mode">🎞️ YouTube videos about <b translate="no">CDP Mode</b>:<a class="headerlink" href="#youtube-videos-about-cdp-mode" title="Permanent link">&para;</a></h3>
3674+
<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>
3675+
<p>(<b><a href="https://www.youtube.com/watch?v=Mr90iQmNsKM">Watch "Undetectable Automation 4" on YouTube! ▶️</a></b>)</p>
3676+
3677+
<hr />
3678+
<div style="text-align: left;"><iframe width="390" height="220" loading="lazy" data-origwidth="1200" data-origheight="675" src="https://www.youtube.com/embed/R9HNsnbYh8o?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>
3679+
<p>(<b><a href="https://www.youtube.com/watch?v=R9HNsnbYh8o">Watch "Undetectable Automation: 5th Edition" on YouTube! ▶️</a></b>)</p>
3680+
3681+
<hr />
3682+
<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>
3683+
<p>(<b><a href="https://www.youtube.com/watch?v=vt2zsdiNh3U">Watch "Hacking websites with CDP" on YouTube! ▶️</a></b>)</p>
3684+
3685+
<hr />
3686+
<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>
3687+
<p>(<b><a href="https://www.youtube.com/watch?v=gEZhTfaIxHQ">"Unlimited Free Web-Scraping with GitHub Actions" ▶️</a></b>)</p>
3688+
36623689
<hr />
36633690
<p><img src="https://seleniumbase.github.io/cdn/img/sb_text_f.png" alt="SeleniumBase" title="SeleniumBase" align="center" width="335"></p>
36643691
<div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.github.io/cdn/img/sb_logo_gs.png" alt="SeleniumBase" title="SeleniumBase" width="335" /></a></div>

docs/examples/cdp_mode/playwright/ReadMe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3329,7 +3329,7 @@ <h3 id="proxy-with-auth-in-stealthy-playwright-mode">🎭 Proxy with auth in <b
33293329
(Fill in the <code>url</code> and the <code>proxy</code> details to complete the script.)</p>
33303330
<hr />
33313331
<h4 id="this-flowchart-shows-how-stealthy-playwright-mode-fits-into-cdp-mode">🎭 This flowchart shows how Stealthy Playwright Mode fits into CDP Mode:</h3><a class="headerlink" href="#this-flowchart-shows-how-stealthy-playwright-mode-fits-into-cdp-mode" title="Permanent link">&para;</a></h4>
3332-
<p><img src="https://seleniumbase.github.io/other/sb_stealth.png" width="596" alt="Stealthy architecture flowchart" /></p>
3332+
<p><img src="https://seleniumbase.github.io/other/sb_architecture.png" width="596" alt="Stealthy architecture flowchart" /></p>
33333333
<p>(See the <a href="../../ReadMe/"><strong>CDP Mode</strong> ReadMe</a> for more information about that.)</p>
33343334
<h4 id="see-examplescdp_modeplaywright-for-stealthy-playwight-mode-examples">🎭 See <a href="https://github.com/seleniumbase/SeleniumBase/tree/master/examples/cdp_mode/playwright">examples/cdp_mode/playwright</a> for Stealthy Playwight Mode examples.<a class="headerlink" href="#see-examplescdp_modeplaywright-for-stealthy-playwight-mode-examples" title="Permanent link">&para;</a></h4>
33353335
<hr />

docs/help_docs/ReadMe/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,10 +2803,10 @@ <h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://se
28032803
<a href="https://seleniumbase.io/examples/ReadMe/">📚 Examples</a> |
28042804
<a href="https://seleniumbase.io/help_docs/mobile_testing/">📱 Emulator</a>
28052805
<br />
2806-
<a href="https://seleniumbase.io/seleniumbase/console_scripts/ReadMe/">🪄 Console Scripts</a> |
2806+
<a href="https://seleniumbase.io/seleniumbase/console_scripts/ReadMe/">💻 Console Scripts</a> |
28072807
<a href="https://seleniumbase.io/seleniumbase/utilities/selenium_grid/ReadMe/">🌐 Grid</a>
28082808
<br />
2809-
<a href="https://seleniumbase.io/help_docs/method_summary/">📘 Methods / APIs</a> |
2809+
<a href="https://seleniumbase.io/help_docs/method_summary/">📗 Methods / APIs</a> |
28102810
<a href="https://seleniumbase.io/examples/tour_examples/ReadMe/">🚎 Tours</a>
28112811
<br />
28122812
<a href="https://seleniumbase.io/help_docs/syntax_formats/">🔠 Syntax Formats</a> |
@@ -2815,7 +2815,7 @@ <h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://se
28152815
<a href="https://github.com/seleniumbase/SeleniumBase/tree/master/examples/boilerplates">♻️ Boilerplates</a> |
28162816
<a href="https://seleniumbase.io/help_docs/locale_codes/">🗾 Locale Codes</a>
28172817
<br />
2818-
<a href="https://seleniumbase.io/help_docs/js_package_manager/">❇️ JS Manager</a> |
2818+
<a href="https://seleniumbase.io/help_docs/js_package_manager/">🟨 JS Manager</a> |
28192819
<a href="https://seleniumbase.io/examples/visual_testing/ReadMe/">🖼️ Visual Testing</a>
28202820
<br />
28212821
<a href="https://seleniumbase.io/help_docs/translations/">🌏 Translator</a> |
@@ -2832,6 +2832,8 @@ <h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://se
28322832
<a href="commander/">🎖️ GUI</a> |
28332833
<a href="uc_mode/">👤 UC Mode</a>
28342834
<br / >
2835+
<a href="cdp_mode_methods/">📘 Stealth API</a>
2836+
<br />
28352837
<a href="https://seleniumbase.io/examples/cdp_mode/ReadMe/">🐙 CDP Mode</a>
28362838
</p>
28372839

docs/help_docs/how_it_works/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2850,7 +2850,7 @@
28502850

28512851
<h1>👁️ How it Works</h1>
28522852

2853-
<h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> How SeleniumBase Works 👁️</h2>
2853+
<h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> How the SeleniumBase Test Framework Works 👁️</h2>
28542854

28552855
<p><a id="how_seleniumbase_works"></a></p>
28562856
<p>👁️🔎 The primary <a href="../syntax_formats/">SeleniumBase syntax format</a> works by extending <a href="https://docs.pytest.org/en/latest/">pytest</a> as a direct plugin. SeleniumBase automatically spins up web browsers for tests, and then gives those tests access to the SeleniumBase libraries through the <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py">BaseCase class</a>. Tests are also given access to <a href="../customizing_test_runs/">SeleniumBase command-line options</a> and <a href="../method_summary/">SeleniumBase methods</a>.</p>

0 commit comments

Comments
 (0)