Skip to content

Commit 46b3749

Browse files
Beryesabbhtt
authored andcommitted
node: Add chromium-headless-shell to playwright
Fixes #438
1 parent ea92dc2 commit 46b3749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

node/flatpak_node_generator/providers/special.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@ async def _handle_playwright(self, package: Package) -> None:
348348
else:
349349
url_tp = 'https://playwright.azureedge.net/builds/chromium/%d/%s'
350350
dl_file = 'chromium-linux.zip'
351+
elif name == 'chromium-headless-shell':
352+
# Shouldn't need the old scheme (didn't exist in 'browsers')
353+
url_tp = 'https://playwright.azureedge.net/builds/chromium/%d/%s'
354+
dl_file = 'chromium-headless-shell-linux.zip'
351355
elif name == 'firefox':
352356
url_tp = 'https://playwright.azureedge.net/builds/firefox/%d/%s'
353357
if revision < 1140:

0 commit comments

Comments
 (0)