You're reading the documentation for a development version. For the latest released version, please have a look at master.

queens_solver.setup

Functions

install_playwright_browsers([browsers])

Install Playwright browser binaries.

Module Contents

queens_solver.setup.install_playwright_browsers(browsers=('chromium',))[source]

Install Playwright browser binaries.

Invokes the Playwright CLI installer via the current Python interpreter.

Parameters:

browsers (tuple) – Tuple of Playwright browser names to install (e.g. "chromium", "firefox", "webkit"). Defaults to ("chromium",).

Raises:

subprocess.CalledProcessError – If the Playwright install command exits with a nonzero status.

Return type:

None