Python library for detecting and launching browsers
Project description
License | Version | ||
Github Actions | Coverage | ||
Supported versions | Wheel | ||
Status | Downloads |
browsers
Python library for detecting and launching browsers
I recently wrote a snippet for detecting installed browsers in an OSX machine in https://github.com/mitmproxy/mitmproxy/issues/5247#issuecomment-1095337723 based on https://github.com/httptoolkit/browser-launcher and I thought this could be useful to other devs since I cannot seem to find an equivalent library in Python
Installation
pip install pybrowsers
Usage
Python
import browsers
browser = browsers.get("chrome")
TODO:
- Detect browser on OSX
- Detect browser on Linux/Unix
- Detect browser on Windows
- Launch browser with arguments
- Get browser by version (support wildcards)
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybrowsers-0.0.0a0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pybrowsers-0.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91164a769f050a9593e2ac7d53ee9e0591b3c2885dac5729c82fa8b6555ed08 |
|
MD5 | 4a66da2ba52a5abefa1fd384d4cec3c6 |
|
BLAKE2b-256 | 3647ef8099567d71ff7ae7c66f8267f58d020f19b5f8bd2204af212b93abab86 |