Answers for "selenium addd chrome extension"

0

selenium addd chrome extension

from selenium import webdriver 
from selenium.webdriver.chrome.options import Options 

options = webdriver.ChromeOptions()
options.add_extension('./exampleOfExtensionDownloadedToFolder.crx')
driver = webdriver.Chrome(chrome_options=options) 
driver.get('http://www.google.com')
Posted by: Guest on January-01-2020

Browse Popular Code Answers by Language