Skip to main content

macOS Google Chrome.app scripts

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac-chrome-2020.12.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file mac-chrome-2020.12.3.tar.gz.

File metadata

  • Download URL: mac-chrome-2020.12.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mac-chrome-2020.12.3.tar.gz
Algorithm Hash digest
SHA256 4c0efa7e8a906119e99998402e699041bbb8f1a53f9ce4717667dd17b6c1f40d
MD5 bde6e3c1902134e34023557eb41f1b0b
BLAKE2b-256 2508004fa4ce32ce172842883b3df7b7c177e75103cde2a6d2d7366566f22cc2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page