Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb334f6d

Browse files
committed
Update the docs
1 parentadd5b55 commitb334f6d

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

‎help_docs/customizing_test_runs.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,20 @@ With the `SB()` and `Driver()` formats, the binary location is set via the `bina
508508

509509
--------
510510

511+
🎛️ To use the special`Chromium` binary:
512+
513+
```zsh
514+
sbase get chromium
515+
```
516+
517+
Then, run scripts with`--use-chromium` /`use_chromium=True`:
518+
519+
```zsh
520+
pytest --use-chromium -n8 --dashboard --html=report.html -v --rs --headless
521+
```
522+
523+
--------
524+
511525
🎛️ To use the special`Chrome for Testing` binary:
512526

513527
```zsh
@@ -721,6 +735,7 @@ sjw=None # Shortcut / Duplicate of "skip_js_waits".
721735
wfa=None# Shortcut / Duplicate of "wait_for_angularjs".
722736
cft=None# Use "Chrome for Testing"
723737
chs=None# Use "Chrome-Headless-Shell"
738+
use_chromium=None# Use base "Chromium"
724739
save_screenshot=None# Save a screenshot at the end of each test.
725740
no_screenshot=None# No screenshots saved unless tests directly ask it.
726741
page_load_strategy=None# Set Chrome PLS to "normal", "eager", or "none".
@@ -816,6 +831,7 @@ server=None # Shortcut / Duplicate of "servername".
816831
guest=None# Shortcut / Duplicate of "guest_mode".
817832
wire=None# Shortcut / Duplicate of "use_wire".
818833
pls=None# Shortcut / Duplicate of "page_load_strategy".
834+
use_chromium=None# Use base "Chromium"
819835
cft=None# Use "Chrome for Testing"
820836
chs=None# Use "Chrome-Headless-Shell"
821837
```

‎seleniumbase/console_scripts/ReadMe.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ sbase get chromedriver 114.0.5735.90
6868
sbase get chromedriver stable
6969
sbase get chromedriver beta
7070
sbase get chromedriver -p
71+
sbase get chromium
7172
sbase get cft 131
7273
sbase get chs
7374
```

‎seleniumbase/drivers/ReadMe.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@ sbase get edgedriver 115.0.1901.183
3939
🎛️ Use the`sbase get` command to download the`Chrome for Testing` and`Chrome-Headless-Shell` browser binaries. Example:
4040

4141
```zsh
42+
sbase get chromium# (For base `Chromium`)
4243
sbase get cft# (For `Chrome for Testing`)
4344
sbase get chs# (For `Chrome-Headless-Shell`)
4445
```
4546

46-
Those commands download those binaries into the`seleniumbase/drivers` folder.
47-
To use the binaries from there in SeleniumBase scripts, set the`binary_location` to`cft` or`chs`.
47+
Those commands download those binaries into the`seleniumbase/drivers` folder. (There are subfolders, such as`cft_drivers`,`chs_drivers`, and`chromium_drivers`.)
48+
49+
To use the base`Chromium` binary in SeleniumBase scripts, add`--use-chromium` on the command-line, or set`use_chromium=True` from within scripts.
50+
51+
To use the`cft` or`chs` binaries in SeleniumBase scripts, set the`binary_location` to`cft` or`chs`, use`--cft` /`--chs` or set`cft=True` /`chs=True`.
4852

4953
(Source:https://googlechromelabs.github.io/chrome-for-testing/)
5054

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp