Browser Extension
A tool to download and use browser extensions on Selenium/Browsers!
Installation
pip install browser-extension
Usage
For Download and Use
from browser_extension import ChromeExtension
extension_url = '<extension_url>'
chrome_version = '<chrome_version>'
path = ChromeExtension(extension_url, chrome_version).download()
print(path)
Use With Selenium
from browser_extension import ChromeExtension
# Load the extension
extension_url = '<extension_url>'
chrome_version = '<chrome_version>'
path = ChromeExtension(extension_url, chrome_version).download()
# Load the extension in Selenium
options = webdriver.ChromeOptions()
options.add_extension(path)
driver = webdriver.Chrome(options=options) # or add to your existing options
Metadata
Release files for browser-extension 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| browser_extension-1.0.0.tar.gz | 5.2 kB | Without provenance | Details for browser_extension-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| browser_extension-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for browser_extension-1.0.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / browser_extension-1.0.0.tar.gz
| Download URL | browser_extension-1.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42bf1d502331347e68abbba20858ff499da69bf731a116a8a7d3f07f9d1665c7
|
|
BLAKE2b-256 checksum How to use checksums |
d9edd3d28a88edc7569c0512a53efd05ead8b2aaa7f395cdb18ec94277d215d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / browser_extension-1.0.0-py3-none-any.whl
| Download URL | browser_extension-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e62776d79656493dcc0410e14768dd096f41834de677ee11488ddb11bfc333a6
|
|
BLAKE2b-256 checksum How to use checksums |
ed8ab886321c7809e11aaa9354ff2aaa5a99a65c4315fe0ca8e184b80a61640a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Security for browser-extension 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.