Switched to playwright... puppeteer is kinda clunky
All checks were successful
Docker Deploy / build-and-push (push) Successful in 7m19s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 7m19s
This commit is contained in:
@ -15,6 +15,11 @@ pkgs.mkShell {
|
||||
echo "pnpm version: $(pnpm --version)"
|
||||
echo "Chromium path: ${pkgs.chromium}/bin/chromium"
|
||||
|
||||
# Playwright environment variables
|
||||
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||
export PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH="${pkgs.chromium}/bin/chromium"
|
||||
|
||||
# Keep old Puppeteer vars for compatibility (in case you have other code using it)
|
||||
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
export PUPPETEER_EXECUTABLE_PATH="${pkgs.chromium}/bin/chromium"
|
||||
|
||||
@ -25,6 +30,8 @@ pkgs.mkShell {
|
||||
'';
|
||||
|
||||
# Environment variables
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
|
||||
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH = "${pkgs.chromium}/bin/chromium";
|
||||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = "true";
|
||||
PUPPETEER_EXECUTABLE_PATH = "${pkgs.chromium}/bin/chromium";
|
||||
}
|
Reference in New Issue
Block a user