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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,15 +54,15 @@
54
54
<br />
55
55
</p>
56
56
57
-
<p>SeleniumBase is a browser automation framework for the modern web. Both new and experienced Python users alike can easily get started. With special stealth features like UC Mode and CDP Mode, you'll be evading bot-detection and bypassing CAPTCHAs in minutes.</p>
57
+
<p>SeleniumBase is a browser automation framework that empowers software teams to innovate faster and handle modern web challenges with ease. With stealth options like CDP Mode, you'll avoid the usual restrictions imposed by websites deploying bot-detection services.</p>
58
58
59
59
--------
60
60
61
61
📚 Learn from [**over 200 examples** in the **SeleniumBase/examples/** folder](https://github.com/seleniumbase/SeleniumBase/tree/master/examples).
62
62
63
-
🐙 Stealth modes: <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a> and <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b></a> help you evade bot-detection.
63
+
🐙 Stealth modes: <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a> and <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b></a> can bypass bot-detection, solve CAPTCHAs, and call advanced methods from the <ahref="https://chromedevtools.github.io/devtools-protocol/"translate="no">Chrome Devtools Protocol</a>.
64
64
65
-
ℹ️ Most scripts run with raw <codetranslate="no"><b>python</b></code>, although some scripts use <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">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).
65
+
ℹ️ Many examples run with raw <codetranslate="no"><b>python</b></code>, although some use <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">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).
🐙 <btranslate="no">SeleniumBase</b> <btranslate="no">CDP Mode</b> is a stealth mode of SeleniumBase that uses the <ahref="https://chromedevtools.github.io/devtools-protocol/"translate="no"><spantranslate="no">Chrome Devtools Protocol</span></a> (via <ahref="https://github.com/mdmintz/MyCDP"translate="no"><spantranslate="no">MyCDP</span></a>) to control the web browser. <btranslate="no">CDP Mode</b> can be used either as a subset of <b><ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"translate="no"><spantranslate="no">SeleniumBase UC Mode</span></a></b>, or via <b><ahref="#Pure_CDP_Mode"translate="no">Pure CDP Mode</a></b> (<code>sb_cdp</code>), which doesn't use WebDriver at all, and has a slightly different setup.
5
+
🐙 <btranslate="no">SeleniumBase</b> <btranslate="no">CDP Mode</b> is a stealth mode of SeleniumBase that uses the <ahref="https://chromedevtools.github.io/devtools-protocol/"translate="no">Chrome Devtools Protocol</a> (via <ahref="https://github.com/mdmintz/MyCDP"translate="no"><spantranslate="no">MyCDP</span></a>) to control the web browser. <btranslate="no">CDP Mode</b> can be used either as a subset of <b><ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"translate="no"><spantranslate="no">SeleniumBase UC Mode</span></a></b>, or via <b><ahref="#Pure_CDP_Mode"translate="no">Pure CDP Mode</a></b> (<code>sb_cdp</code>), which doesn't use WebDriver at all, and has a slightly different setup.
6
6
7
7
--------
8
8
@@ -55,6 +55,7 @@ with SB(uc=True, test=True, locale="en") as sb:
In most cases, `sb.solve_captcha()` is good enough for CF Turnstiles without needing `sb.cdp.gui_click_element(selector)`. (See [SeleniumBase/examples/cdp_mode/raw_planetmc.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_planetmc.py))
88
89
89
-
ℹ️ Note that `PyAutoGUI` is an optional dependency. If calling a method that uses it when not already installed, then `SeleniumBase` installs `PyAutoGUI` at run-time.
90
+
ℹ️ Note that `PyAutoGUI` is an optional dependency. If calling a method that uses it when not already installed, then `SeleniumBase` installs `PyAutoGUI` at runtime.
Copy file name to clipboardExpand all lines: help_docs/uc_mode.md
+9-40Lines changed: 9 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
👤 <btranslate="no">SeleniumBase</b> <btranslate="no">UC Mode</b> (Undetected-Chromedriver Mode) allows bots to appear human, which lets them evade detection from anti-bot services that try to block them or trigger CAPTCHAs on various websites.
6
6
7
-
> ####(For the successor to default UC Mode, see **[CDP Mode 🐙](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md)**)
7
+
> ### (For the successor to plain UC Mode, see **[CDP Mode 🐙](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md)**)
8
8
9
9
---
10
10
@@ -28,11 +28,7 @@
28
28
29
29
----
30
30
31
-
👤 <btranslate="no">UC Mode</b> is based on [undetected-chromedriver](https://github.com/ultrafunkamsterdam/undetected-chromedriver). <spantranslate="no">UC Mode</span> includes multiple updates, fixes, and improvements, such as:
32
-
33
-
* Automatically changing user-agents to prevent detection.
34
-
* Automatically setting various Chromium args as needed.
35
-
* Has special `uc_*()` methods for bypassing CAPTCHAs.
31
+
👤 <btranslate="no">UC Mode</b> is based on [undetected-chromedriver](https://github.com/ultrafunkamsterdam/undetected-chromedriver). <spantranslate="no">UC Mode</span> includes multiple updates, fixes, and improvements, such as having special <code>uc_*()</code> methods for bypassing CAPTCHAs.
36
32
37
33
👤 Here's a simple example with the <b><codetranslate="no">Driver</code></b> manager:
38
34
@@ -110,10 +106,10 @@ with SB(uc=True, test=True, incognito=True, locale="en") as sb:
110
106
submit_button ='span:contains("Check Authority")'
111
107
sb.uc_open_with_reconnect(url) # The bot-check is later
0 commit comments