title: Adding Chrome Extension - BeautifulSoup - Python
body: <p>I used this to add an extension with Selenium
  Now I moved to working with Beautiful soup, and Im looking for a way to scrape via beautiful soup while having an extension on.
  How can I do that in beautiful soup?</p>
  <pre><code>import selenium
  import os
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  
  executable_path = &quot;C:\Program Files (x86)\chromedriver.exe&quot;
  os.environ[&quot;webdriver.chrome.driver&quot;] = executable_path
  
  chrome_options = Options()
  chrome_options.add_extension('C:\\Program Files (x86)\\adguard.crx')
  
  driver = webdriver.Chrome(executable_path=executable_path, chrome_options=chrome_options)
  </code></pre>