Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browser_extension-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

browser_extension-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for browser_extension-1.0.0.tar.gz
Algorithm Hash digest
SHA256 42bf1d502331347e68abbba20858ff499da69bf731a116a8a7d3f07f9d1665c7
MD5 5105bc9a8c83ef5569f07f7869e77b46
BLAKE2b-256 d9edd3d28a88edc7569c0512a53efd05ead8b2aaa7f395cdb18ec94277d215d2

See more details on using hashes here.

File details

Details for the file browser_extension-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for browser_extension-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e62776d79656493dcc0410e14768dd096f41834de677ee11488ddb11bfc333a6
MD5 d0721b2e3edc4c7028971c29f3a65f2e
BLAKE2b-256 ed8ab886321c7809e11aaa9354ff2aaa5a99a65c4315fe0ca8e184b80a61640a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page