abx_plugin_playwright.binproviders

Module Contents

Classes

PlaywrightBinProvider

Data

USER_PLAYWRIGHT_CACHE_DIR

MACOS_PLAYWRIGHT_CACHE_DIR

LINUX_PLAYWRIGHT_CACHE_DIR

PLAYWRIGHT_CACHE_DIR

PLAYWRIGHT_BINPROVIDER

API

abx_plugin_playwright.binproviders.USER_PLAYWRIGHT_CACHE_DIR: str | None[source]

‘get(…)’

abx_plugin_playwright.binproviders.MACOS_PLAYWRIGHT_CACHE_DIR: pathlib.Path[source]

‘Path(…)’

abx_plugin_playwright.binproviders.LINUX_PLAYWRIGHT_CACHE_DIR: pathlib.Path[source]

‘Path(…)’

abx_plugin_playwright.binproviders.PLAYWRIGHT_CACHE_DIR: pathlib.Path[source]

None

class abx_plugin_playwright.binproviders.PlaywrightBinProvider[source]

Bases: abx_pkg.BinProvider

name: abx_pkg.BinProviderName[source]

‘playwright’

INSTALLER_BIN: abx_pkg.BinName[source]

None

PATH: abx_pkg.PATHStr[source]

None

playwright_browsers_dir: pathlib.Path[source]

None

playwright_install_args: List[str][source]

[‘install’]

packages_handler: abx_pkg.BinProviderOverrides[source]

‘Field(…)’

_browser_abspaths: ClassVar[Dict[str, abx_pkg.HostBinPath]][source]

None

property INSTALLER_BIN_ABSPATH: abx_pkg.HostBinPath | None[source]
setup() None[source]
installed_browser_bins(browser_name: str = '*') List[pathlib.Path][source]
default_abspath_handler(bin_name: abx_pkg.BinName, **context) Optional[abx_pkg.HostBinPath][source]
default_install_handler(bin_name: str, packages: Optional[abx_pkg.InstallArgs] = None, **context) str[source]

playwright install chrome

abx_plugin_playwright.binproviders.PLAYWRIGHT_BINPROVIDER[source]

‘PlaywrightBinProvider(…)’