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>ℹ️ When available, calling<code>sb.METHOD()</code> redirects to<code>sb.cdp.METHOD()</code>because regular SB methods automatically call their CDP Mode counterparts to maintain stealth when CDP Mode is active.</p>
3508
+
<p>ℹ️ When available, calling<code>sb.METHOD()</code> redirects to<code>sb.cdp.METHOD()</code>when CDP Mode is active. From Pure CDP Mode, always call these methods with<code>sb.METHOD()</code> instead of<code>sb.cdp.METHOD()</code>.</p>
<p>ℹ️ When available, calling<code>sb.METHOD()</code> redirects to<code>sb.cdp.METHOD()</code>because regular SB methods automatically call their CDP Mode counterparts to maintain stealth when CDP Mode is active.</p>
3124
+
<p>ℹ️ When available, calling<code>sb.METHOD()</code> redirects to<code>sb.cdp.METHOD()</code>when CDP Mode is active. From Pure CDP Mode, always call these methods with<code>sb.METHOD()</code> instead of<code>sb.cdp.METHOD()</code>.</p>
<p>Before using the<code>"cft"</code> /<code>"chs"</code> options, call<code>sbase get cft</code> /<code>sbase get chs</code> in order to download the specified binaries into the<code>seleniumbase/drivers</code> folder. The default version is the latest stable version on https://googlechromelabs.github.io/chrome-for-testing/. You can change that by specifying the arg as a parameter. (Eg.<code>sbase get cft 131</code>,<code>sbase get chs 132</code>, etc.)</p>
3208
3208
<p>With the<code>SB()</code> and<code>Driver()</code> formats, the binary location is set via the<code>binary_location</code> parameter.</p>
3209
3209
<hr/>
3210
+
<p>🎛️ To use the special<code>Chromium</code> binary:</p>
<spanclass="n">wfa</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Shortcut / Duplicate of "wait_for_angularjs".</span>
3372
3379
<spanclass="n">cft</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Use "Chrome for Testing"</span>
3373
3380
<spanclass="n">chs</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Use "Chrome-Headless-Shell"</span>
3381
+
<spanclass="n">use_chromium</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Use base "Chromium"</span>
3374
3382
<spanclass="n">save_screenshot</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Save a screenshot at the end of each test.</span>
3375
3383
<spanclass="n">no_screenshot</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># No screenshots saved unless tests directly ask it.</span>
3376
3384
<spanclass="n">page_load_strategy</span><spanclass="o">=</span><spanclass="kc">None</span><spanclass="c1"># Set Chrome PLS to "normal", "eager", or "none".</span>