Skip to navigation

nemo_gym.web.chromium

View as MarkdownOpen in Claude

Admit the exact headed Chromium expected by the selected Playwright driver.

Module Contents

Functions

NameDescription
_chromium_executable-
ensure_chromiumCheck the driver-selected full browser; serialize missing-build installs.

Data

LOG

API

nemo_gym.web.chromium._chromium_executable() -> pathlib.Path
nemo_gym.web.chromium.ensure_chromium(
channel: str | None = None,
allow_install: bool = True,
timeout_seconds: float = 600
) -> None

Check the driver-selected full browser; serialize missing-build installs.

Named system-browser channels are externally provisioned. Headless shell is not a substitute for this runtime’s Xvfb/PyAutoGUI desktop browser. Offline deployments set allow_install=False and prepopulate the cache.

nemo_gym.web.chromium.LOG = logging.getLogger(__name__)