Skip to main content

Installation

$ [sudo] pip install mac-chrome
$ [sudo] npm i -g mac-chrome

Config

$ export CHROME_TIMEOUT=10 # 5 by default

Examples

url(s)

$ chrome urls
https://github.com/
https://google.com/
$ chrome url
https://github.com/

open/refresh

$ chrome open "https://github.com/" "https://google.com/"
$ chrome refresh "https://github.com/"

fullscreen

$ chrome fullscreen-enter
$ chrome fullscreen-detect
1
$ chrome fullscreen-exit

frontmost (1 or 0)

$ chrome frontmost
0

Google Chrome.app process

$ chrome pid
42
$ chrome isready 5 # timeout 5 seconds
1
$ chrome kill

readme42.com

Release files for mac-chrome 2020.12.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mac-chrome 2020.12.3
File Size Uploaded
mac-chrome-2020.12.3.tar.gz 4.3 kB Details

Release files / mac-chrome-2020.12.3.tar.gz

Download URL mac-chrome-2020.12.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c0efa7e8a906119e99998402e699041bbb8f1a53f9ce4717667dd17b6c1f40d
BLAKE2b-256 checksum
How to use checksums
2508004fa4ce32ce172842883b3df7b7c177e75103cde2a6d2d7366566f22cc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page