You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2822,7 +2822,7 @@ <h1>SeleniumBase</h1>
2822
2822
<p>🐙 Note that <atranslate="no" href="help_docs/uc_mode/"><b>UC Mode</b></a> / <ahref="examples/cdp_mode/ReadMe/"><b>CDP Mode</b></a> (Stealth Mode) have their own ReadMe files.</p>
2823
2823
<p>ℹ️ Most scripts run with raw <codetranslate="no"><b>python</b></code>, although some scripts use <ahref="help_docs/syntax_formats/">Syntax Formats</a> that expect <ahref="https://docs.pytest.org/en/latest/how-to/usage.html" translate="no"><b>pytest</b></a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically).</p>
2824
2824
<hr/>
2825
-
<palign="left">📗 For performing a Google Search without hitting the "unusual traffic" page, you can use SeleniumBase UC Mode.<br/>Here's <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py">SeleniumBase/examples/raw_google.py</a>, which exports results into different formats (PDF, HTML, PNG):</p>
2825
+
<palign="left">📗 Here's a test script that performs a Google Search using SeleniumBase UC Mode:<br/><ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py">SeleniumBase/examples/raw_google.py</a> (Results are saved as PDF, HTML, and PNG)</p>
<p><ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><imgsrc="https://seleniumbase.github.io/cdn/img/google_sb_result.png" alt="SeleniumBase on Google" title="SeleniumBase on Google" width="480" /></a></p>
2845
2845
<hr/>
2846
-
<palign="left">📗 Here's an example of bypassing Cloudflare's challenge page with UC Mode + CDP Mode: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py">SeleniumBase/examples/cdp_mode/raw_gitlab.py</a></p>
2846
+
<palign="left">📗 Here's a script that bypasses Cloudflare's challenge page with UC Mode + CDP Mode: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py">SeleniumBase/examples/cdp_mode/raw_gitlab.py</a></p>
<palign="left">📙 You can also use SeleniumBase's pure CDP Mode, which doesn't use chromedriver, Selenium, or a Python context manager at all: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_gitlab.py">SeleniumBase/examples/cdp_mode/raw_cdp_gitlab.py</a></p>
2863
+
<palign="left">📙 There's also SeleniumBase's "Pure CDP Mode", which doesn't use WebDriver or Selenium at all: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_gitlab.py">SeleniumBase/examples/cdp_mode/raw_cdp_gitlab.py</a></p>
<p>(Due to a change in Chrome 137 where the --load-extension switch was removed, one limitation with this format is that you can't load extensions directly. The other formats weren't affected by this change.)</p>
2876
+
<p>(Due to changes in Chrome 137 where the <code>--load-extension</code> switch was removed, you can't load extensions directly from this format.)</p>
2877
2877
</blockquote>
2878
2878
<hr/>
2879
2879
<palign="left">📗 Here's <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py">SeleniumBase/examples/test_get_swag.py</a>, which tests an e-commerce site:</p>
0 commit comments