-
-
Save Magnus167/44fdcabf53f279109d72d33547a1fc5a to your computer and use it in GitHub Desktop.
Python - Selenium WebDriver - Installing a packed Chrome Extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
packed_extension_path = '/path/to/packed/extension.crx' | |
options = Options() | |
options.add_extension(packed_extension_path) | |
driver = webdriver.Chrome(options=options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment