Merge pull request #771 from getmaxun/linux-fix
fix: linux OS installation
This commit is contained in:
@@ -43,6 +43,9 @@ services:
|
|||||||
# to ensure Playwright works in Docker
|
# to ensure Playwright works in Docker
|
||||||
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
|
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 0
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 0
|
||||||
|
# Force container/CI detection for headless mode
|
||||||
|
CI: "true"
|
||||||
|
CONTAINER: "true"
|
||||||
# DEBUG: pw:api
|
# DEBUG: pw:api
|
||||||
# PWDEBUG: 1 # Enables debugging
|
# PWDEBUG: 1 # Enables debugging
|
||||||
CHROMIUM_FLAGS: '--disable-gpu --no-sandbox --headless=new'
|
CHROMIUM_FLAGS: '--disable-gpu --no-sandbox --headless=new'
|
||||||
|
|||||||
@@ -533,6 +533,7 @@ export class RemoteBrowser {
|
|||||||
"--disable-extensions",
|
"--disable-extensions",
|
||||||
"--no-sandbox",
|
"--no-sandbox",
|
||||||
"--disable-dev-shm-usage",
|
"--disable-dev-shm-usage",
|
||||||
|
"--disable-gpu",
|
||||||
"--force-color-profile=srgb",
|
"--force-color-profile=srgb",
|
||||||
"--force-device-scale-factor=2",
|
"--force-device-scale-factor=2",
|
||||||
"--ignore-certificate-errors",
|
"--ignore-certificate-errors",
|
||||||
|
|||||||
Reference in New Issue
Block a user