Hello I\'m trying to install a Chrome extension with Selenium using python, I tried using ChromeDriver - WebDriver for Chrome
But it is not working, this is my code
To add/install the DS-Amazon-Quick-View
Chrome extension using Selenium's python client you can use the following splution:
Code Block:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_extension('/home/daniel/amazon-project-scrapers/chromedriver_linux64/DS-Amazon-Quick-View_v2.8.9.crx')
driver = webdriver.Chrome(options=chrome_options, executable_path='/path/to/chromedriver')
driver.get('https://www.google.co.in')
You can find a couple of relevant discussions in: