Answers for "SELENIUM HOW TO USE CHROME EXE"

0

selenium incognito chrome

from selenium import webdriver

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--incognito")

driver = webdriver.Chrome(chrome_options=chrome_options)
driver.get('https://google.com')
Posted by: Guest on May-15-2020
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

Code answers related to "SELENIUM HOW TO USE CHROME EXE"

Browse Popular Code Answers by Language