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>The above not only runs tests in parallel processes, but it also tells tests in the same process to share the same browser session, runs the tests in headless mode, displays the full name of each test on a separate line, creates a real-time dashboard of the test results, and creates a full report after all tests complete.</p>
2907
+
<hr/>
2907
2908
<p>🎛️ For extra speed, run your tests using <code>chrome-headless-shell</code>:</p>
2908
2909
<p>First, get <code>chrome-headless-shell</code> if you don't already have it:</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>
2992
2993
<p>With the <code>SB()</code> and <code>Driver()</code> formats, the binary location is set via the <code>binary_location</code> parameter.</p>
2993
2994
<hr/>
2995
+
<p>🎛️ To use the special <code>Chrome for Testing</code> binary:</p>
<p>(Note that <code>--chs</code> / <code>chs=True</code> activates <code>Chrome-Headless-Shell</code>)</p>
3003
+
<p><code>Chrome-Headless-Shell</code> is the fastest version of Chrome, designed specifically for headless automation. (This mode is NOT compatible with UC Mode!)</p>
<p>🎛️ An easy way to override <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py">seleniumbase/config/settings.py</a> is by using a custom settings file.
0 commit comments