Skip to content

Commit fdb0abe

Browse files
committed
Add more browser to install in init
Fixes: #4559
1 parent 1ffb5f6 commit fdb0abe

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Browser/entry/__main__.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,17 @@ def cli(ctx, silent):
186186
type=click.Choice(
187187
[
188188
"chromium",
189+
"chromium-headless-shell",
190+
"chromium-tip-of-tree-headless-shell",
189191
"chrome",
190192
"chrome-beta",
191193
"msedge",
192194
"msedge-beta",
193195
"msedge-dev",
196+
"bidi-chromium",
194197
"firefox",
195198
"webkit",
199+
"webkit-wsl",
196200
],
197201
case_sensitive=False,
198202
),
@@ -218,9 +222,12 @@ def init(ctx, skip_browsers, with_deps, browser):
218222
to install browser binaries and use PLAYWRIGHT_BROWSERS_PATH environment variable to define where browser
219223
binaries are located.
220224
221-
It is possible to install only selected browser binaries: chromium, chrome, chrome-beta, msedge, msedge-beta,
222-
msedge-dev, firefox or webkit. Example: `rfbrowser init webkit` will install only webkit binaries and
223-
`rfbrowser init chromium firefox` will install both chromium firefox binaries.
225+
It is possible to install only selected browser binaries: chromium, chromium-headless-shell,
226+
chromium-tip-of-tree-headless-shell, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, bidi-chromium,
227+
firefox, webkit, or webkit-wsl. Example: `rfbrowser init webkit` will install only webkit binaries and
228+
`rfbrowser init chromium firefox` will install both chromium and firefox binaries. Not all browsers are available
229+
on all platforms. Refer to `npx playwright install --help` command for more details about browser binary
230+
availability.
224231
"""
225232
silent_mode = ctx.obj["SILENT"]
226233
if browser and skip_browsers:

0 commit comments

Comments
 (0)