Skip to main content

Get Chrome Paths

A cross-platform Python utility to find Chromium-based browser executable paths on Windows, macOS, and Linux.

Supports Python 2+.

Features

  • Detects installed Chrome, Chromium, and Microsoft Edge browsers
  • Supports Windows (common registry path lookup), macOS (common application paths), and Linux (common installation paths)

Installation

pip install get-chrome-paths

Usage

from __future__ import print_function

from get_chrome_paths import get_chrome_paths

# Get all available Chrome/Chromium-based browser paths
for path in get_chrome_paths():
    print(path)
# Example output on Windows:
# C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe
# C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe

You can also run as a module:

python -m get_chrome_paths
# Example output on Windows:
# C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe
# C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements.

License

MIT License. See LICENSE for more information.

Release files for get-chrome-paths 0.1.1

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

Source distribution (sdist)

Source distribution for get-chrome-paths 0.1.1
File Size Uploaded
get_chrome_paths-0.1.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for get-chrome-paths 0.1.1
File Interpreter ABI Platform
get_chrome_paths-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 6.8 kB

Release files / get_chrome_paths-0.1.1.tar.gz

Download URL get_chrome_paths-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
03d7ba6f7a9aa7cd1ca80105b1c1856d3185bba0320f8b8b21a638a390494eed
BLAKE2b-256 checksum
How to use checksums
ae8e8b017ee9407fbd70369ddf991da6a85c42c5b2dca4a7e357da5b205a3ea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release files / get_chrome_paths-0.1.1-py2.py3-none-any.whl

Download URL get_chrome_paths-0.1.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1effe7099d19c8ee5a5ba9b1d833bc83f16a07d51cb71e736e51da8b5cd8f395
BLAKE2b-256 checksum
How to use checksums
cc4cf64ddb044f354dd2532eed28023eab140b51ce071047264cd9b5fe3f451c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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