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
Close
Hashes for browser_extension-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62776d79656493dcc0410e14768dd096f41834de677ee11488ddb11bfc333a6 |
|
MD5 | d0721b2e3edc4c7028971c29f3a65f2e |
|
BLAKE2b-256 | ed8ab886321c7809e11aaa9354ff2aaa5a99a65c4315fe0ca8e184b80a61640a |