Download browser extensions
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file browser_extension-1.0.0.tar.gz.
File metadata
- Download URL: browser_extension-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42bf1d502331347e68abbba20858ff499da69bf731a116a8a7d3f07f9d1665c7
|
|
| MD5 |
5105bc9a8c83ef5569f07f7869e77b46
|
|
| BLAKE2b-256 |
d9edd3d28a88edc7569c0512a53efd05ead8b2aaa7f395cdb18ec94277d215d2
|
File details
Details for the file browser_extension-1.0.0-py3-none-any.whl.
File metadata
- Download URL: browser_extension-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e62776d79656493dcc0410e14768dd096f41834de677ee11488ddb11bfc333a6
|
|
| MD5 |
d0721b2e3edc4c7028971c29f3a65f2e
|
|
| BLAKE2b-256 |
ed8ab886321c7809e11aaa9354ff2aaa5a99a65c4315fe0ca8e184b80a61640a
|