> This page is for version Main (default).
> For other versions, use one of these documentation indexes:
> - Main (default): https://docs.nvidia.com/nemo/gym/main/llms.txt
> - 0.7.0: https://docs.nvidia.com/nemo/gym/v0.7.0/llms.txt
> - 0.6.0: https://docs.nvidia.com/nemo/gym/v0.6.0/llms.txt
> - 0.5.1: https://docs.nvidia.com/nemo/gym/v0.5.1/llms.txt
> - 0.5.0: https://docs.nvidia.com/nemo/gym/v0.5.0/llms.txt
> - 0.4.0: https://docs.nvidia.com/nemo/gym/v0.4.0/llms.txt
> - 0.3.0: https://docs.nvidia.com/nemo/gym/v0.3.0/llms.txt
> - 0.2.1: https://docs.nvidia.com/nemo/gym/v0.2.1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/gym/llms.txt.

# nemo_gym.web.chromium

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

## Module Contents

### Functions

| Name                                                                  | Description                                                               |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [`_chromium_executable`](#nemo_gym-web-chromium-_chromium_executable) | -                                                                         |
| [`ensure_chromium`](#nemo_gym-web-chromium-ensure_chromium)           | Check the driver-selected full browser; serialize missing-build installs. |

### Data

[`LOG`](#nemo_gym-web-chromium-LOG)

### API

```python
nemo_gym.web.chromium._chromium_executable() -> pathlib.Path
```

```python
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.

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