abx_plugin_puppeteer.binproviders

Module Contents

Classes

PuppeteerBinProvider

Data

PUPPETEER_BINPROVIDER

API

class abx_plugin_puppeteer.binproviders.PuppeteerBinProvider[source]

Bases: abx_pkg.BinProvider

name: abx_pkg.BinProviderName[source]

‘puppeteer’

INSTALLER_BIN: abx_pkg.BinName[source]

‘npx’

PATH: abx_pkg.PATHStr[source]

‘str(…)’

euid: Optional[int][source]

None

puppeteer_browsers_dir: pathlib.Path[source]

None

puppeteer_install_args: List[str][source]

[’–yes’, ‘@puppeteer/browsers’, ‘install’]

packages_handler: abx_pkg.BinProviderOverrides[source]

‘Field(…)’

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

None

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]

npx @puppeteer/browsers install chrome@stable

abx_plugin_puppeteer.binproviders.PUPPETEER_BINPROVIDER[source]

‘PuppeteerBinProvider(…)’