implement fix for playwright docker build
This commit is contained in:
1 parent
e916426315
commit
bb31fc7388
3 files changed
+6
-3
No files matched your search
@@ -571,7 +571,10 @@ async function captureSnapshot(
|
||||
pageW?: number,
|
||||
): Promise<CaptureResult> {
|
||||
const { chromium } = await import('@playwright/test');
|
||||
const browser = await chromium.launch({ headless: true });
|
||||
const browser = await chromium.launch({
|
||||
channel: 'chromium',
|
||||
headless: true,
|
||||
});
|
||||
const initialViewportW = viewportW;
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user