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
<p>🐙 <btranslate="no">SeleniumBase</b><btranslate="no">CDP Mode</b> (Chrome Devtools Protocol Mode) is a special mode inside of <b><ahref="../../help_docs/uc_mode.md" translate="no"><spantranslate="no">SeleniumBase UC Mode</span></a></b> that lets bots appear human while controlling the browser with the <btranslate="no">CDP-Driver</b>. Although regular <spantranslate="no">UC Mode</span> can't perform <spantranslate="no">WebDriver</span> actions while the <code>driver</code> is disconnected from the browser, the <spantranslate="no">CDP-Driver</span> can still perform actions while maintaining its cover. (For Python 3.11 or newer!)</p>
2791
+
<p>🐙 <btranslate="no">SeleniumBase</b><btranslate="no">CDP Mode</b> (Chrome Devtools Protocol Mode) is a special mode inside of <b><ahref="../../help_docs/uc_mode.md" translate="no"><spantranslate="no">SeleniumBase UC Mode</span></a></b> that lets bots appear human while controlling the browser with the <btranslate="no">CDP-Driver</b>. Although regular <spantranslate="no">UC Mode</span> can't perform <spantranslate="no">WebDriver</span> actions while the <code>driver</code> is disconnected from the browser, the <spantranslate="no">CDP-Driver</span> can still perform actions while maintaining its cover.</p>
<p><imgsrc="http://img.youtube.com/vi/Mr90iQmNsKM/0.jpg" title="SeleniumBase on YouTube" width="366" /><p>(<b><ahref="https://www.youtube.com/watch?v=Mr90iQmNsKM">Watch the CDP Mode tutorial on YouTube! ▶️</a></b>)</p>
2796
+
</p>
2797
+
<hr/>
2792
2798
<p>👤 <btranslate="no">UC Mode</b> avoids bot-detection by first disconnecting WebDriver from the browser at strategic times, calling special <code>PyAutoGUI</code> methods to bypass CAPTCHAs (as needed), and finally reconnecting the <code>driver</code> afterwards so that WebDriver actions can be performed again. Although this approach works for bypassing simple CAPTCHAs, more flexibility is needed for bypassing bot-detection on websites with advanced protection. (That's where <btranslate="no">CDP Mode</b> comes in.)</p>
2793
2799
<p>🐙 <btranslate="no">CDP Mode</b> is based on <ahref="https://github.com/HyperionGray/python-chrome-devtools-protocol" translate="no">python-cdp</a>, <ahref="https://github.com/HyperionGray/trio-chrome-devtools-protocol" translate="no">trio-cdp</a>, and <ahref="https://github.com/ultrafunkamsterdam/nodriver" translate="no">nodriver</a>. <code>trio-cdp</code> is an early implementation of <code>python-cdp</code>, and <code>nodriver</code> is a modern implementation of <code>python-cdp</code>. (Refactored Python-CDP code is imported from <ahref="https://github.com/mdmintz/MyCDP" translate="no">MyCDP</a>.)</p>
2794
2800
<p>🐙 <btranslate="no">CDP Mode</b> includes multiple updates to the above, such as:</p>
@@ -3177,6 +3183,8 @@ <h3 id="cdp-mode-api-methods">🐙 CDP Mode API / Methods<a class="headerlink" h
<p>(<b><ahref="https://www.youtube.com/watch?v=Mr90iQmNsKM">Watch the 4th UC Mode tutorial on YouTube! ▶️</a></b>)</p>
2704
+
2701
2705
<hr/>
2702
2706
<p>👤 <btranslate="no">UC Mode</b> is based on <ahref="https://github.com/ultrafunkamsterdam/undetected-chromedriver">undetected-chromedriver</a>. <spantranslate="no">UC Mode</span> includes multiple updates, fixes, and improvements, such as:</p>
0 commit comments