Skip to content

v0.6.6a1

Pre-release
Pre-release

Choose a tag to compare

@fawadss1 fawadss1 released this 04 Jun 09:57
· 52 commits to master since this release
6cc7b07

Added

  • BROWSER_NO_SANDBOX config option
    New BROWSER_NO_SANDBOX: bool | None setting controls Chrome's sandbox mode.
    Defaults to None (auto-detect): sandbox is disabled automatically when the process runs
    as root on Linux (e.g. Zyte, Docker). Set True to force no-sandbox, False to keep
    sandbox even as root. Configurable via settings.py (BROWSER_NO_SANDBOX = True) or
    the config object.

Fixed

  • Browser engine fails on Docker (running as root)
    Chrome refuses to start without --no-sandbox when the process is root. The engine now
    auto-detects root and adds both --no-sandbox and --disable-dev-shm-usage (required
    in containers with limited /dev/shm).

  • headless=False crashes in display-less environments
    When no $DISPLAY is set on Linux (Docker, CI), the engine now silently overrides
    headless=False to headless=True, preventing Chrome from crashing on startup.