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
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 | |
|---|---|---|---|
| browser_extension-1.0.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| browser_extension-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|