abx_plugin_chrome.binaries

Module Contents

Classes

ChromeBinary

Functions

autodetect_system_chrome_install

create_macos_app_symlink

on macOS, some binaries are inside of .app, so we need to create a tiny bash script instead of a symlink (so that ../ parent relationships are relative to original .app instead of callsite dir)

Data

CHROMIUM_BINARY_NAMES_LINUX

CHROMIUM_BINARY_NAMES_MACOS

CHROMIUM_BINARY_NAMES

CHROME_BINARY_NAMES_LINUX

CHROME_BINARY_NAMES_MACOS

CHROME_BINARY_NAMES

CHROME_APT_DEPENDENCIES

CHROME_BINARY

API

abx_plugin_chrome.binaries.CHROMIUM_BINARY_NAMES_LINUX[source]

[‘chromium’, ‘chromium-browser’, ‘chromium-browser-beta’, ‘chromium-browser-unstable’, ‘chromium-bro…

abx_plugin_chrome.binaries.CHROMIUM_BINARY_NAMES_MACOS[source]

[‘/Applications/Chromium.app/Contents/MacOS/Chromium’]

abx_plugin_chrome.binaries.CHROMIUM_BINARY_NAMES[source]

None

abx_plugin_chrome.binaries.CHROME_BINARY_NAMES_LINUX[source]

[‘google-chrome’, ‘google-chrome-stable’, ‘google-chrome-beta’, ‘google-chrome-canary’, ‘google-chro…

abx_plugin_chrome.binaries.CHROME_BINARY_NAMES_MACOS[source]

[‘/Applications/Google Chrome.app/Contents/MacOS/Google Chrome’, ‘/Applications/Google Chrome Canary…

abx_plugin_chrome.binaries.CHROME_BINARY_NAMES[source]

None

abx_plugin_chrome.binaries.CHROME_APT_DEPENDENCIES[source]

[‘apt-transport-https’, ‘at-spi2-common’, ‘fontconfig’, ‘fonts-freefont-ttf’, ‘fonts-ipafont-gothic’…

abx_plugin_chrome.binaries.autodetect_system_chrome_install(PATH=None) Optional[pathlib.Path][source]

on macOS, some binaries are inside of .app, so we need to create a tiny bash script instead of a symlink (so that ../ parent relationships are relative to original .app instead of callsite dir)

class abx_plugin_chrome.binaries.ChromeBinary[source]

Bases: abx_pkg.Binary

name: abx_pkg.BinName[source]

None

binproviders_supported: List[pydantic.InstanceOf[abx_pkg.BinProvider]][source]

None

overrides: abx_pkg.BinaryOverrides[source]

None

static chrome_cleanup_lockfile()[source]

Cleans up any state or runtime files that chrome leaves behind when killed by a timeout or other error

abx_plugin_chrome.binaries.CHROME_BINARY[source]

‘ChromeBinary(…)’