Skip to content

Instantly share code, notes, and snippets.

@ewauq
Created April 2, 2018 16:24
Show Gist options
  • Save ewauq/6b63470fa2fa586858b6c5e976d5d5be to your computer and use it in GitHub Desktop.
Save ewauq/6b63470fa2fa586858b6c5e976d5d5be to your computer and use it in GitHub Desktop.
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_extension('<nom de votre extension>.crx')
browser = webdriver.Chrome(executable_path=r"<votre exécutable ChromeDriver>", chrome_options=chrome_options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment